i.MX6UL - Can External RTC and internal RTC coexist?

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX6UL - Can External RTC and internal RTC coexist?

425 Views
soumyaks
Contributor II

Hi,

I have a battery backed up external RTC PCF8523 which is attached to the I2C1 bus of i.MX6UL. There is also this internal RTC in the SNVS module of i.MX6UL. 

The CAAM module of i.MX6UL uses SNVS RTC. Please see  @IMPhttps://community.nxp.com/docs/DOC-97359

I am running Linux on i.MX6UL and the RTC framework supports different RTCs to be enumerated differently as in /dev/rtc0, /dev/rtc1. 

Is it possible that only CAAM device use the internal RTC and the rest of the device use external battery backed up RTC? What could be the complications in using 2 separate RTCs in software?

Any directions would be very helpful.

Many Thanks,

Soumya

0 Kudos
1 Reply

156 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Soumya

you are right, seems there should be no problem having external rtc
and using i.MX6 snvs module using own clocks.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos