Skip to main content
Visitor II
August 20, 2019
Question

How to get MEMS board working with CubeMX?

  • August 20, 2019
  • 1 reply
  • 694 views

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

    This topic has been closed for replies.

    1 reply

    LZure.oldAuthor
    Visitor II
    January 2, 2020

    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.