Reset TSR[WRS] without resetting the core

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

Reset TSR[WRS] without resetting the core

Jump to solution
637 Views
clemensreibetan
Contributor I

Is there any way to reset the timer status register WRS bits, other than resetting the whole core in the P4080?

I don't think so, because the e500mc Core Reference Manual says at page 59

This change prevents software from clearing a watchdog time-out that should result in the action defined

in TCR[WRC], in which these bits are reflected into the TSR[WRS] when the watchdog times out. Without

this change, it is theoretically possible that these bits could be cleared prior to the SoC seeing the bits

change, causing the watchdog action to fail.

And if this is not possible, is it possible to signal a Watchdog Timeout to other cores multiple times?

Thanks for your help.

Labels (1)
Tags (2)
0 Kudos
1 Solution
448 Views
Bulat
NXP Employee
NXP Employee

Yes, as written in the manual WRS bits can not be reset in SW.

Normal way to signal some event to the cores is interrupt. P4080 has MPIC_WSRSR0 register in the interrupt controller that combines WRS bits from all cores.

View solution in original post

0 Kudos
1 Reply
449 Views
Bulat
NXP Employee
NXP Employee

Yes, as written in the manual WRS bits can not be reset in SW.

Normal way to signal some event to the cores is interrupt. P4080 has MPIC_WSRSR0 register in the interrupt controller that combines WRS bits from all cores.

0 Kudos