I would like to ask for your guidance regarding the sensorless FOC of the S32K344 (see the sample code below).
C:\NXP\MC_DevKits\MCSPTE1AK344\sw\MCSPTE1AK344_PMSM_FOC_2Sh_ll
Despite the MOSFET switching frequency being 20 kHz, it seems that the current control is being executed at 10 kHz.
Referring to the source code, it appears that the function Bctu_FIFO1_WatermarkNotification() is executed at 10 kHz (observed PTC24 on an oscilloscope).
I would like to execute the current control at the same frequency as the switching frequency. How can I modify this?