Skip to main content
MRey.1
Associate III
Question

BLUENRG stuck when writing BLUE_CTRL registers

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?

This topic has been closed for replies.

2 replies

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.

MRey.1
MRey.1Author
Associate III

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