2025-02-28 4:47 AM - last edited on 2025-02-28 5:17 AM by Andrew Neil
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.
2025-02-28 5:15 AM
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.
2025-03-01 12:58 AM
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.
2025-03-01 2:04 AM
The same way that you'd integrate any two functions.
What have you tried?
Where are you stuck?
2025-03-02 8:32 PM
2025-03-03 1:22 AM
You said you have BLE working already?
So compare & contrast what's different between your working and non-working code.
Use the debugger; if that doesn't work (as it will affect the real-time performance), Instrument the code so that you can see what's happening in real time.