Document about current loop (EVSPIN32G06Q1S1)
I'm learning BLDC control using the EVSPIN32G06Q1S1 and MCSDK 6.4.
The inner current loop is implemented in hardware.

The current feedback goes to an op-amp PI controller (I think?),
then is compared with a reference voltage.
The reference voltage level depends on the TIM17 PWM duty cycle.
The comparison result goes to TIM1 ETR.
There is no documentation for this.
I need a manual or design guide for selecting the capacitor and resistor values in the PI controller.
I found a description of current loop control in X-CUBE-SPN7,
UM2124 section 3.3.1 “Current Mode Control,”
but it is not included in the MCSDK or EVSPIN32G06Q1S1 documentation.
The principle looks similar to peak current mode control in switching power.
Can anyone confirm this or provide me with the correct documentation?
After all, UM2124 is not intended for the EVSPIN32G06Q1S1.
Thanks
