Skip to main content
MRey.1
Associate III
April 16, 2021
Question

BLUENRG stuck when writing BLUE_CTRL registers

  • April 16, 2021
  • 1 reply
  • 627 views

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.

1 reply

Winfred LU
ST Employee
April 27, 2021

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
May 27, 2021

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