2025-10-27 6:37 AM - last edited on 2025-10-27 6:41 AM by Andrew Neil
I’m using the X-NUCLEO-F446RE and IKS02A1 boards, but I don’t know how to use them without relying on MEMS Studio. I’d like to ask for help on how to read the data from the accelerometer and gyroscope (IMU) and transmit that information through the UART interface, so that I don’t have to use MEMS Studio every time.
2025-10-27 6:50 AM - edited 2025-10-27 6:52 AM
Welcome to the forum
@Bullbrink wrote:I’m using the X-NUCLEO-F446RE and IKS02A1 .
You mean NUCLEO-F446RE and X-NUCLEO-IKS02A1.
Without MEMS Studio means you'll just have to write the firmware as you would when interfacing to any external component.
Go to the Product Pages for the various sensors on the X-NUCLEO-IKS02A1 - there you will find datasheets and software resources; eg, for the ISM330DHCX 3-axis accelerometer and 3-axis gyroscope:
Datasheet, etc on the 'Documentation' tab:
https://www.st.com/en/mems-and-sensors/ism330dhcx.html#documentation
Software resources on the 'Tools & Software' tab:
https://www.st.com/en/mems-and-sensors/ism330dhcx.html#tools-software
Take a look at the X-CUBE-MEMS1 and C-Driver-MEMS packages ...
(X-CUBE-MEMS1 is also linked from the X-NUCLEO-IKS02A1 Product Page)
2025-10-27 6:53 AM
Hello @Bullbrink
You should use the X-Cube-MEMS1 available on both Github and ST.com. You can find examples on différent boards that you can refer to if you want to understand how to integrate and use this package with the STM32CubeMX and the STM32CubeIDE.
Best Regards.
II