Hi,
I'm using NCS v2 and VSCode on a custom board, and the android nrf connect app.
The board which has an external crystal, which I am not trying to use, in favor of an internal RC oscillator for the LFCLK.
prj.conf is this:
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y
I see BLE advertisements, and I am able to attempt a connection, but the connection times out and isn't successful from the app. From the software side, a connection is seen, but a short time later is disconnected.
Here is a wireshark capture of that period of time.
If I use the external crystal, the connection works. If I synthesize the LFCLK from the HFCLK, the connection works. Why doesn't the internal RC oscillator work?
I am confused about the RC oscillator not working because I have a different custom board, which does not have an external crystal, which does use the RC oscillator for LFCLK, and BLE connections do work with it.
Please let me know if there is some limitation here, or how I can get the RC oscillator to be the LFCLK source and BLE connect when there is an external LFCLK crystal present.
Thanks.