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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

683 次查看
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 项奖励
1 回复

414 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励