2015-09-09 05:57 PM
If I would like to use the function ''FOC_CurrController'' in MCTask.c .
How can I use this function? Because this function is not define in MCTask.h . Could I use this function to do motion control?Thanks!2015-09-10 12:08 AM
Ciao Sapphira
The FOC_CurrController is only part of HighFrequencyTask and shouldn't be called alone by the user. HighFrequencyTask is present in the intertface of MC Task. Just one note. The user shouldn't call neither the HighFrequencyTask by its user program. It is already called by the end of ADC conversion interrupt managed inside stm32fxxx_MC_it.c (calling twice one from interrupt and one from the user code can generate wrong behaviour). The user shall call function only of MCInterface and MCTuning. Ciao Gigi2015-10-07 11:40 PM
thanks!