cancel
Showing results for 
Search instead for 
Did you mean: 

Use IKS02A1 with X-NUCLEO-F446RE without MEMS Studio

Bullbrink
Visitor

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.

2 REPLIES 2
Andrew Neil
Super User

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)

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.
Issamos
Lead II

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