cancel
Showing results for 
Search instead for 
Did you mean: 

MCSDK 5.3.3: code wont execute_ TIM1

GBeno
Associate

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 !

1 REPLY 1
Laurent Ca...
Lead II

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