The project implements Field Oriented Control (FOC) on the K1946VK035 microcontroller, utilizing mathematical algorithms from the VESC open-source project. The system uses a BLDC board developed by TDMLab, featuring a Cortex-M4F core clocked at 100 MHz.

The control loop currently operates at 6.25 kHz, which is derived from a 25 kHz PWM frequency by executing the algorithm every four PWM periods. The developer is working to increase the control frequency to 25 kHz.

The software includes procedures for automatic motor parameter identification, measuring resistance and inductance. Resistance is determined by applying two current levels, while inductance is calculated using transient process analysis with a four-sample ADC sequence.

The implementation uses three independent PWM modules with a dead time of 0.4 microseconds. Parameters are stored in flash memory, with the configuration block occupying 128 bytes at address 0xF000, while the code is limited to the first 60 KiB.