Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

Infineon AURIX: How to release Watchdog from the suspend mode?

04-Apr-2023

When AURIX devices are in the debug mode, Watchdog is by default enabled, but the Watchdog Timer is unconditionally suspended (stopped), which means that the Watchdog never resets the chip.

To use the Watchdog during debugging, you have to disable the Watchdog Timer suspended logic (or enable the Watchdog timer).  


Solution

To enable the Watchdog Timer you have to set WDTSUS (Watchdog Timer Suspension Control) in the CBS_OCNTRL register. In this case Watchdog Timer suspend mode is controlled by the TL1 line.

First configure the TL1 and after set the  WDTSUS.




1. Open a multi-core synchronization script, which is distributed with winIDEA.

2. Adjust the script and add the following line after the TL1.

A CBS_OCNTRL L 0x00003000   //Sets WDTSUS

3. Save it and load it to Hardware menu / CPU Options / Reset / Initialize / Initialize before Debug session section. Now the Watchdog Timer is not unconditionally suspended (stopped), but suspended when the TL1 line is in 1. 

 By default TL1 isn't configured as a suspend line, but it can be used as such for all the cores, timers, CAN, LIN, Flexray, DMA and optionally for watchdog as well. 

Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!