Hello,
Two products among the whole 700+ products in my project encounterred a problem, the SWT0 interrupt in the two product continue to trigger after the SWT0 had been disabled. I have to disable the SWT interrupt instead of just disabling the SWT0. Is there a possibility that the SWT interrupt run out of control?
Hi @jhuang1,
Does it trigger periodically as usual or does the flag stays continuously asserted?
Such unpredictable behavior can be expected if the system clock configuration is incorrect.
Is it configured precisely to one of the clock options listed in the RM?
E.g. Table 151. Option A - High Performance mode (CORE_CLK @ 160 MHz).
Thank you
The flag stays continuously asserted, and the clock should be fine, the other functions such as uart or spi works fine after the swt interrupt being disabled. There should be some other errors occure if clock configuration is incorrect.
Hi @jhuang1,
I understand the flag cannot be cleared.
I have been trying to replicate it but with no luck.
Can you make sure the flag is cleared right before the SWT is disabled?
Thank you