This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 LF RC not working URGENT

I am trying to run a project on a Fastnel 

BT840 module

I had the code running on The  dev kit when we switched to the new hardware without a FL crystal I have been unable to get things to run.

Once I enable the UART it crashes.

If I do not enable the uart or APP_TIMERS the TWI runs.

I have been trying the settings on DEV Zone for the sdk_config.h file with no luck

I have atached the entire project file

.ble_app_neda.zip

Parents
  • Hi,

    I am not sure this is related to the missing 32.768 kHz crystal. The reason is that you have set NRF_SDH_CLOCK_LF_SRC to 0, configuring the RC oscillator as LF clock source. And you enable the SoftDevice early in your main function, which will then start the LF clock. Moreover, this clock is not needed in order to use the UART peripheral, which you write causes problems.

    Have you done some debugging to see what happens on the device? What exactly happens when you use the UART peripheral or the app_timer?

Reply
  • Hi,

    I am not sure this is related to the missing 32.768 kHz crystal. The reason is that you have set NRF_SDH_CLOCK_LF_SRC to 0, configuring the RC oscillator as LF clock source. And you enable the SoftDevice early in your main function, which will then start the LF clock. Moreover, this clock is not needed in order to use the UART peripheral, which you write causes problems.

    Have you done some debugging to see what happens on the device? What exactly happens when you use the UART peripheral or the app_timer?

Children
No Data
Related