System status register MK20DN5

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

System status register MK20DN5

158 Views
AlessioCalderini
Contributor I

Hello everyone,

i would like to ask you which is the register used in the micro MK20 family that has to be read for check the cause of the reset.

I tried to search a similar topic but i didn't find anything.

Thanks in advance for a reply, thanks

 

AC

0 Kudos
Reply
2 Replies

100 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to section 13.2.1 System Reset Status Register High (MC_SRSH) and section 13.2.2 System Reset Status Register Low (MC_SRSL) in Reference manual of K20(K20P120M100SF2RM.pdf), the two registers reflect the reset sources.

 

xiangjun_rong_0-1718595166145.png

Hope it can help you

BR

XiangJun Rong

0 Kudos
Reply

85 Views
AlessioCalderini
Contributor I

Hi Xiangjun,

many thanks for the reply. I also have one addition issue: when i check these registers, i always read 0 from them for any reset reasons. Do you know why? Is there some inizialitazion that i have to do before reading the registers?

Thanks in advance,

Regards

AC

0 Kudos
Reply