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

AURIX™ Forum Discussions

Karthik7386
Level 2
Level 2
50 sign-ins 10 replies posted 25 sign-ins

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
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given

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
Karthik7386
Level 2
Level 2
50 sign-ins 10 replies posted 25 sign-ins

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
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given

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