S32K312 POR_WDG is what, how to use.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K312 POR_WDG is what, how to use.

410 Views
li3
Contributor II

Hi HXP,

S32K312 POR_WDG is what, how to use.

li3_0-1712841547675.png

 

0 Kudos
5 Replies

389 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @li3,

The Power-on Reset Watchdog is a module for added monitoring to the chip. If the chip is stuck in reset or standby for a determined time, the watchdog generates a power-on reset to recover it. 

You can refer to the RTD example by importing it from S32DS:

Julin_AragnM_0-1712868201937.png

Each 1 second, the SWT timeout expired and the SWT interrupt will reset the counter by writing the service sequence.

Best regards,
Julián

0 Kudos

365 Views
li3
Contributor II

 

Hi NXP,

What is the Reset monitoring control register?

Is it to monitor whether Reset can succeed?

li3_0-1712893068068.png

Best regards,

Li 3.

 

0 Kudos

350 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @li3,

This is in case of functional reset event:

Julin_AragnM_0-1712958688520.png

Best regards,
Julián

 

0 Kudos

337 Views
li3
Contributor II

Hi NXP,

    Please help me answer the following three questions.

    1.I can't find the control register for reset monitor. I don't know how to turn on or off the reset monitoring function of POR_WDG. Please tell me the location of the register.

li3_0-1712973586290.png

    2. How does the reset monitoring function detect that the system is stuck in the reset sequence? Does it detect registers that have not been successfully reset?

    3.The reset monitoring function indicates that after POR_WDG times out, the system deadlock position can be captured in DCM's DCMROPPn register. Can these states only let us know the system deadlock position after POR_WDG times out? Or is it the state of DCM's DCMROPPn register that determines the POR_WDG timeout?

li3_1-1712973946770.png

li3_2-1712974028398.png

Best regards,

Li 3.

 

 

0 Kudos

265 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @li3,

1. Please refer to the DCF clients file attached to the reference manual.

Julin_AragnM_0-1713218415262.png

2. The Watchdog timer has a configurable threshold, if the chip does not exit the reset sequence within this time, the POR_WDG initiates a power-on-reset. You can monitor the WDG status from the DCMROPPn register. 

3. This register only captures the status of the functional reset sequence process when POR_WDG overflows.

Since the POR_WDG is part of the DCF client safety function, you can also look into the Safety Manual for S32K3 in "Secure Files" from the S32K3 Auto General-Purpose MCUs, documentation.

Best regards,
Julián

 

0 Kudos