This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52480 I2C Interface with Invensense ICM 20948

Hello peeps,

nRF52480 I2C Interface with Invensense ICM 20948. I am using SDK 15.2. I see there is some Support for MPU 6050 Invensense but not for ICM 20948. A lot of Registers have been changed in fact there are Register Banks added to the ICM. Kindly provide some Kind of source to generate a double tap Interrupt and start getting the Acc, Gyr, Mag (PS: Magnetometer config. in this device is really strange) data from the sensor using the nordic MCU and send it over BLE to another nordic chip. Any Kind of help would be much appreciated. Thanks in advance Slight smile

Regards,

Coppers

Parents Reply
  • 1. Yes, both SPI & I2C drivers support burst mode.  That is how it can upload the DMP firmware into the ICM chip

    2. The code provide you the driver and ground work to access the chip with the basic set of algo provided by Invensense DMP.  For more specialized algo, you'll need to dig in and implement them. The design is object oriented.  There are 2 parts the agm_invn_... is the the raw sensor object and the imu_invn_... is the DMP algo you can add the double tap algo into that or implement your own specialized imu object.  There isn't much docs about the DMP side of the ICM chip.  You'll need to look into invensense example code to figure it out.  

    3.  I haven't used IAR.  I think it normally should be able to compile C++ code.  Just try to add a .cpp with a dummy function to see how it compiles.  

Children
No Data
Related