Other Parts Discussed in Thread: CONTROLSUITE
Hi,
I have a very weird issue on my prototype. All other conditions being equal, the MCU doesn't "act" the same way when powered normally, or after a program reload (without power cycle). And, unfortunately for me, the abnormal behavior is when the MCU is not connected to the emulator, which means that I can't see what is happening to the program when it doesn't behave properly (when in debug mode, it does behave as expected).
When I reload the program and run it (with the debugger), then unplug the debugger, everything works fine. A couple of relays (ie GPIOs) switch as expected, and when I add a little bit of voltage on the input of the power converter, PWM pulses happen, as intended.
When I just power on the board, the relays switch as expected, but strangely, adding the voltage on the input of the converter doesn't trigger the PWM pulses. The program runs at least in part properly, as the couple of GPIOs I checked do exactly what they are expected to, I can see some clock on the XCLOCKOUT pin too ... and yet, no PWMs.
Does someone have any idea what could be different in "debug" mode and in "normal" mode that could make the program not behave ?
Thanks in advance,
Adrien