Skip to main content
Associate III
February 28, 2025
Question

Stm32f401 Nucleo Board with ISM330DHCX and BlueNRG-M2SA

  • February 28, 2025
  • 2 replies
  • 1231 views

Hi 

I am trying to send data from the ISM330DHCX sensor to BLE (BlueNRG-M2SA) on the STM32F401 Nucleo board. I have installed the XCUBES_MEMS1 software and successfully tested the LED example via BLE. Now, I want to transmit the ISM330DHCX sensor data through a BLE app. Can anyone guide me.

2 replies

Associate
February 27, 2025

How to send sensor data from the ISM330DHCX to a Bluetooth app using the X-NUCLEO-BNRG2A1 interface with an STM32F401RE?

Andrew Neil
Super User
February 27, 2025

Divide & conquer!

You have 2 entirely separate tasks here:

  1. How to use the ISM330DHCX IMU:
    https://www.st.com/en/mems-and-sensors/ism330dhcx.html

  2. How to use the X-NUCLEO-BNRG2A1:
    https://www.st.com/en/ecosystems/x-nucleo-bnrg2a1.html 

 

Get them working separately first, then bring them together.

The above Product Pages will point you to the resources for each one.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
February 28, 2025

As stated in this similar thread, the key is: don't try to do everything at once!

You've got the sensor part working, so set that aside for now.

Now concentrate on just the Bluetooth part - without the sensor.

Find documentation & support for the BlueNRG-M2SA here:

https://www.st.com/en/wireless-connectivity/bluenrg-m2.html

Get familiar with the ST-provided examples.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Kumar123Author
Associate III
March 1, 2025

Hi

I have checked both the BlueNRG-M2SA and ISM330DHCX, and they are working fine. Now, how can I integrate the two and send data via a BLE app? Please let me know.

Andrew Neil
Super User
March 1, 2025

The same way that you'd integrate any two functions.

What have you tried?

Where are you stuck?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.