PMSWCR2 Wake up register configuration

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Karthik7386
Level 2
Level 2
10 questions asked 50 sign-ins 10 replies posted

When we reading the PMSWCR2 Register we got SCRINT Field value as 0x82 and some times value as 0x80.what is indicating with these values. When SCRINT value Will change 0x82 to 0x80? 

0 Likes
3 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

In case SCR is enabled, at the end of the SCR Firmware routine, a value of 80H is set in SCRINT register to indicate that SCR has finished executing the startup code.

Elsewhere,  the SCRINT in PMSWCR2 is used for - Data exchange from Standby Controller to PMS main domain.

Below code is showed in SCR for your reference.

dw_0-1671081581673.png

 

0 Likes

Hi,

Thank you for your support. During runtime it is showing as 0x82( we are writing SCR INTEXCHG | =0x02 to indicate that SCR init is completed). Also enabling the RTC interrupt for increment the counter( using 70khz internal clk). After some times found that interrupt is stopped and while checking SCRINIT Register showing value as 0x80.

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

So 0x82 is written by you and normally. And next step is to check what condition makes the RTC interrupt stop. Maybe reset the SCR to make SCRINT to 0x80?

0 Likes