I want to use HFCLK for 52840 in nrf21540dk, I change the prj.conf like this ,but it didn't compile.
CONFIG_NRF_RTC_TIMER=n CONFIG_CORTEX_M_SYSTICK=y CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=64000000 CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000000
I want to use HFCLK for 52840 in nrf21540dk, I change the prj.conf like this ,but it didn't compile.
CONFIG_NRF_RTC_TIMER=n CONFIG_CORTEX_M_SYSTICK=y CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=64000000 CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000000
Hi,
The HFCLK is normally configured to be used by default. What exactly are you trying to do with the HFCLK? Are you getting any errors that it hasn't been enabled when you try to use it?
regards
Jared
I just found the 32M oscilator is not working.
Hi,
Could you elaborate?
What are you trying to do and how are observing that the 32 MHz doesn't work?
regards
Jared
I want to receive data from spi and save to sd card, and after a random time the file write error, the Hardware Engineer found the 32M is not working, So I guess the error has something to do with the 32M crystal not working?
Hi,
Can you specify what error the HW engineer found?
Also, it would be great if you can specify where in your code the error happens.
Have you reproduced this on the nRF21540 DK or are you using a custom board?
regards
Jared