2024-09-15 11:39 PM
Hallo,
for security reason I have to stop HRTIM generating 3-phase signal for PMSM motor.
It works as described in RM0433 (37.3.23) with DBG_HRTIM_STOP = 1: when debugger stops MCU predefined "FaultLevel" appears on outputs as expected. HRTIM goes into STOP mode. So far very good but...
The problem is: "This is permanently maintained even if the MCU exits the halt mode."
How can I leave FAULT state of HRTIM on leaving debugger halt without writting debugger script?
Solved! Go to Solution.
2024-09-16 12:16 AM
Hi,
i think, the way is to do it in your program:
you should have some reaction on a fault condition : why fault ? -> over current, under voltage...or nothing (then debug halt was the reason) , then restart with needed safe start values (motor stopped now, so debug cannot know, what to do with your motor/drive now).
2024-09-16 12:16 AM
Hi,
i think, the way is to do it in your program:
you should have some reaction on a fault condition : why fault ? -> over current, under voltage...or nothing (then debug halt was the reason) , then restart with needed safe start values (motor stopped now, so debug cannot know, what to do with your motor/drive now).