Hello All,
We have a custom board with nRF52840 and I believe, we have problem with the HFCLK.
We are trying to test our board with the ble_app_blinky example and it works fine with our nRF52840 Preview DK. Using the same example on our custom board, the ble_stack_init() function hangs and ble never initialized. When I put the below code at the start of my main function, the code just hangs in the while loop. I also read that the radio module on the chip requires the external HFCLK source and without it we cannot use BLE functionalities.
NRF_CLOCK->TASKS_HFCLKSTART = 1; while (NRF_CLOCK->EVENTS_HFCLKSTARTED == 0);
I've read many threads in this forum releated the HFCLK not starting issue and almost all of them was related to PCB soldering or some other PCB design problems. We are using the reference design shown below and our IC revision code is nRF52840-QIAAC0. HF crystal orientation looks correct in our PCB but we haven't tested everything yet. So do you think our issue is related to the hardware(pcb)?
Thank you very much for your help in advance.