cancel
Showing results for 
Search instead for 
Did you mean: 

BLUENRG stuck when writing BLUE_CTRL registers

MRey.1
Associate III

I'm working on a custom board with a BLUENRG-2. I'm able to flash and erase with the UART and the SWD pins, but none of the programs work. When I debug it step by step, I find out that all programs hang on this line, when it writes on the BLUE_CTRL register: 0693W000008zoCVQAY.png 

Anyone knows what could be causing this issue?

2 REPLIES 2
Winfred LU
ST Employee

Please check the high speed crystal.

The code is to configure crystals accordingly and to wait until the crystal oscillators are ready.

Sorry for the late response. Yes, indeed it was the crystal network. The crystal ground was floating, it was solved when I connected it to the main ground