Skip to main content
GBeno
Visitor II
April 29, 2019
Question

MCSDK 5.3.3: code wont execute_ TIM1

  • April 29, 2019
  • 1 reply
  • 550 views

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 !

This topic has been closed for replies.

1 reply

Laurent Ca...
Senior III
June 22, 2021

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