Skip to main content
Associate III
Feb 28, 2025 12:47 PM UTC
Question

Stm32f401 Nucleo Board with ISM330DHCX and BlueNRG-M2SA

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.

This topic has been closed for replies.

8 replies

Associate
Feb 27, 2025 5:42 AM UTC

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
Feb 27, 2025 12:27 PM UTC

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
Feb 28, 2025 1:15 PM UTC

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
Mar 1, 2025 8:58 AM UTC

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
Mar 1, 2025 10:04 AM UTC

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.