cancel
Showing results for 
Search instead for 
Did you mean: 

How to get MEMS board working with CubeMX?

LZure.old
Associate II

Hi,

I have just started my journey with STM products. I have STM32WB board with MEMS IKS01A3 extension board. I am trying to configure project using CubeMX software to generate code. I have created new project and added board extension IKS01A3, tunred on I2C1 bus and configured MEMS to use that bus. Currently I want to get sensors working and print data into USB port. How can I init sensors on that board? Should I add additional software like "Board_Component_MEMS"? Is there functions database or manual regarding sensor functions/libraries?

Edit: I am following now pdf tutorial about MEMS board found on CubeMX. I will come back with results :)

Thanks!

Lukasz

1 REPLY 1
LZure.old
Associate II

Update:

To get messages over usb (ST-LINK) I had to redirect UART ports and use HAL_UART_Transmit.

To run MEMS I have used iks01a3_motion_sensors library.