2019-04-29 8:23 AM
Hi,
I'm developing an Motor application using F446RE and MCSKD on custom board and custom motor control project, but the program never reaches the user code while loop.
I generated the code with ST Motor Control Worbench with 5.2.0 Cube MX andFirmware package version V1.24.1. And Build that with TrueStudio.
I commented these lines so that the code turns and can communicate in uart with ST workbench:
HAL_NVIC_SetPriority(TIM1_BRK_TIM9_IRQn, 4, 1);
HAL_NVIC_EnableIRQ(TIM1_BRK_TIM9_IRQn);
I could test the rest of the code: it works. ADC reads the value of vbus
Do you have an idea to use the TIMER 1 ?
Thanks you !
2021-06-22 1:36 AM
The question has been moved from the section "Motor Control Hardware" to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.