cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding the issue of USART interrupt priority and TIM brake interrupt priority

duan
Associate II

Hi,

In the motor program generated by MCSDK, I have doubts about the configuration of interrupt priority for USART and TIM. In the program, the interrupt priority for USART is (3.1), while Tim's brake interrupt is (4.1).
In practical driving, the brake interruption of TIM involves overcurrent protection of the motor, which directly affects the safety of the motor and controller. However, its priority is lower than that of USART. In this configuration, will it increase the safety risk of the motor and controller when USART is frequently disconnected or in other unexpected situations? Can you help me unravel this doubt?

thank you.

Duan

 

Additional program screenshot:

1280X1280.PNG

0 REPLIES 0