Unable to use snvs rtc in imx6ull with linux 4.1 BSP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to use snvs rtc in imx6ull with linux 4.1 BSP

ソリューションへジャンプ
2,435件の閲覧回数
kunalkotecha
Contributor II

Hi All,

I am using a custom board with IMX6ULL processor. I wanted to keep date and time running in sleep mode, for that we need to use snvs rtc. I am keeping processor in sleep by "echo mem > /sys/power/state" command. When we see BSP for snvs rtc (rtc-snvs.c) it seems, it is trying to read from SNVS_LPSRTCMR and SNVS_LPSRTCLR register which is not present in IMX6ULL, instead it is present in IMX6UL. Can any one help me out on how to use snvs rtc for IMX6ULL?

ラベル(2)
0 件の賞賛
返信
1 解決策
1,459件の閲覧回数
art
NXP Employee
NXP Employee

The i.MX6ULL processor doesn't have the SNVS RTC module, so, there is no way to use it. Only the HP part of the timer is present.


Have a great day,
Artur

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

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,459件の閲覧回数
kunalkotecha
Contributor II

The BSP module is using LP part of timer, I have removed the same and trying for HP part but am unable to configure HP RTC. When I execute hwclock command, its showing constant time all the time i.e. in Run mode. It's not incrementing ,i guess its not getting clock for the RTC. Will you please suggest me how to use HP RTC??

Thanks for the Reply.

Have a great day,

Kunal

0 件の賞賛
返信
1,460件の閲覧回数
art
NXP Employee
NXP Employee

The i.MX6ULL processor doesn't have the SNVS RTC module, so, there is no way to use it. Only the HP part of the timer is present.


Have a great day,
Artur

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

0 件の賞賛
返信
1,459件の閲覧回数
henrideveer
Contributor III

The LP RTC seems to work in the i.IMX6ULL, see the new question here:

https://community.nxp.com/message/1080097 

0 件の賞賛
返信