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).
2025-07-29 9:40 AM - edited 2025-08-08 11:48 AM
The debugger doesn't seem to trigger the SYSFLT in the HRTIM. Like the original poster mentioned, it seems to enter the fault state but the fault ISR is never triggered and the the SYSFLTE flag in the ISR register isn't set. What are the steps to get the FLT_IRQ to trigger when the debugger disconnects?