cancel
Showing results for 
Search instead for 
Did you mean: 

Bluenrg-m2sp in Hosted mode, how to get started

hakkinen
Visitor

Hi, 

I´m a bit confused, how to get thsi bluetooth modul running:

- I designed my own board with a STM32H747 and the bluenrg-m2sp modul

- I want to run the modul in hosted mode (application is running on the STM32H747-> M4 Core)

- I configured everything in CubeMX with the X-CUBE-BLE2 middleware, activated Wireless BlueNRG-2 and Device BLE2 Application  (I don´t understand e.g. why I need to configure a UART interface and SPI interface?)

 

It took my some days to figure out, that the bluenrg-m2sp is deliverd without firmware and where to get it. After reading some articles I found and flashed the DTM_SPI_NOUPDATER_M2SP.bin and finally I got a communication over SPI and the code of the STM32H7 run to the main loop without errors, but from that mainloop on, no further communication happend on the SPI. I also tried to find the modul via blutooth with my phone, but was unable.

I´m still not sure, if this is the rigth firmware for the module?

So I flashed the BLE_SensorDemo.bin to the modul... but nothing happend, communication over SPI stopped. I flashed back to the DTM_SPI_NOUPDATER_M2SP, but also here no SPI communication (the SPI IRQ Pin stays low). Can the module be damaged?

So can anybody tell my, what is the correct firmware to the code from CubeMX, when I want to run the modul in hosted mode? And why can´t I find the modul via blutooth?

We want to write our own sensor application, to send out simple measurign values via bluetoot, but need the STM32H7 for sensor measurign values generation.

 

0 REPLIES 0