RTC doesn't works properly with HAL enabled

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

RTC doesn't works properly with HAL enabled

1,322 Views
stefano6641
Contributor I

Good morning,

  I have some problems with my iMX 1021 board with HAL enabled. The application failed to write HPRC register in SNVS bank, no error reported but data aren't set.

The same binary file, loaded on a bord without HAL active, works properly.

 

Some help?

Thanks,

Stefano

0 Kudos
Reply
3 Replies

1,309 Views
stefano6641
Contributor I

Another addiction: I can write in HPRC register just under boot, for some time. After that I can't do it. I'm not sure which condition lock the write on HPRC register.

 

BR,

Stefano

0 Kudos
Reply

1,318 Views
stefano6641
Contributor I

In addiction seems that LP_SEC_VIO and SV1 bits of HPSVSR register are high.

0 Kudos
Reply

1,291 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

First of all, sorry for the later reply.

I am not sure if you refer the MCUXpresso SDK example <snvs_hp_rtc> for RT1020?

Mike

0 Kudos
Reply