Skip to main content
Visitor II
January 21, 2021
Solved

Can I please know, How to interface MKI196V1 (ASM330LLH) with Raspberry Pi? Are any Python packages available? I tried I2C with raspberry but doesn't return sensor values. Also, SPI support is not available.

  • January 21, 2021
  • 1 reply
  • 667 views

I am trying to build a project 'GPS aided INS' in college. I have tried many options for interfacing  "MKI196V1 (ASM330LLH)" IMU, but couldn't get the results. I tried interfacing the sensor with STM32 (maple mini) using sduino, also with nano and uno. If anyone has any resources related to the above-listed issues, kindly help.

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @AniketKulkarni15​ ,

    I'm not an expert on interfacing ST sensors with uCs via Python, but you can check if the MicroPython for STM32 libraries can be useful for you.

    In particular, on Github you can find the basic configuration for ST accelerometers (accel.c) and drivers for the I2C and SPI communication.

    If however you are already able to setup the I2C/SPI pattern, you can check the ASM330LLH WHO_AM_I (0Fh) register value. You should get back 6Bh value.

    -Eleon

    1 reply

    ST Employee
    January 22, 2021

    Hi @AniketKulkarni15​ ,

    I'm not an expert on interfacing ST sensors with uCs via Python, but you can check if the MicroPython for STM32 libraries can be useful for you.

    In particular, on Github you can find the basic configuration for ST accelerometers (accel.c) and drivers for the I2C and SPI communication.

    If however you are already able to setup the I2C/SPI pattern, you can check the ASM330LLH WHO_AM_I (0Fh) register value. You should get back 6Bh value.

    -Eleon