Possible to run zephyr on NXP MIMXRT106x without RTC crystal ? #70520
Replies: 2 comments
-
I am trying to track this down, on my own. It appears the k_sleep and system clock features are operating based on the cortex-m7 systick feature. The sys_clock_driver_init in cortex_m_systick.c sets the systick to operate from the processor:
Since the systick->ctrl is set to 1 by or'ing in SysTick_CTRL_CLKSOURCE_Msk. According to ARM's docs 1 means processor clock. I'm not sure I understand how the RTC clock even plays into this? I would suppose it might be used to allow the cpu to disable the high speed processor clock and replace it with a lower frequency clock for low power operation. Where do I find this documented? Is there a simple way to disable it so I don't need the RTC clock? |
Beta Was this translation helpful? Give feedback.
-
I found some docs that say the clock should automatically switch to the internal RC oscillator if no crystal clock is detected. That may be the best option for me to proceed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project where the customer designed a board with only a 24MHz crystal. They have not included (or even provided space) the 32.768 KHz RTC crystal. They did this because size/cost were important and power consumption was not.
@DerekSnell you might have the answers i seek! :)
Is it possible to configure the clocks to use an internal oscillator instead of the RTC crystal?
Is there any support for measuring the internal oscillator frequency using the 24 MHz crystal and achieving reasonable accuracy?
Beta Was this translation helpful? Give feedback.
All reactions