The HTS superconducting coils that are components of the rotating electrical machines made in ICPE-CA, work at the liquid nitrogen temperature (77K). They are made of ceramic material, YBCO type, which has a critical current of 130A (SuperPower) and 100A respectively (AMSC). There are analyzed two different types of coil for two prototypes of electrical machines: an electric motor (P = 4 kW) and an electric generator (P = 4.5 kW). They were made from HTS tape, in the form of simple and double racetrack pancake. Within the paper the design parameters of these HTS coils are examined. Also, the generated magnetic field, the field numerical simulation and the optimal functioning conditions are analyzed.