2013-07-17 03:54 AM
Hi, I'm planing to use the FOC library (using v3.3) for a brushless motor.
The library takes care itself for the input for current (dual insulated current sensor), voltage, temperature, but it takes all the two ADC of the stm32f103 md chip. What i the most correct way to make an application that samples also some other slow-changing analog input? Maybe a potentiometer for the speed of a fan, an input for the internal/external temperature... Any help would be appreciated, thanks!! #motor-control-foc-library2013-07-18 12:11 AM
Ciao Gabry
You can use the MC_RequestRegularConv, MC_GetRegularConv, MC_RegularConvState functions that has been implemented for this purpose. Take a look at the STM32 PMSM FOC FW Library v3.3 help file present in the documentation folder in the section Modules->STM32_PMSM_MC_Application->MC Tasks->MC Tasks exported methods Ciao Gigi2013-07-18 02:46 AM
Thank you very much, this was exactly the hint I was looking for!