cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG-2 with STM32F411 not working

kaushika
Associate

Hi,
I am working on a project that needs Bluetooth support. 

Our main MCU: STM32F411CE.
Bluetooth module: BlueNRG-2 (Brought a BLUENRG-M2SP module and then fabricated a simple custom breakout board)

Initially, I tried to use the official example project from STM32CubeIDE (Beacon, Central, and SensorDemoBLE). But it is not working. I could not discover any signal through a BLE scanner. 

But I tried to read BLUENRG-M2SP directly using ST-Link and the RF Flasher utility. It worked.
I checked the SPI lines of the MCU using a logic analyzer, but I could not read any signal. Why does the MCU not send any data to the Bluetooth chip?
How do I set it as workable? Is there any simple example to power up this module?

1 REPLY 1
KDJEM.1
ST Employee

Hello @kaushika and welcome to the community;

 

Please make sure that the SPI lines (MOSI, MISO, SCK,.....) are correctly connected.

Could you please share the SPI configuration.

 

Thank you.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.