ICM-20948 is connected to MCU (PIC18F27J53) and communicating via I2C.
We have successfully read acceleration and angular rate data by outputting them to FIFO.
However, I do not want to implement my own algorithm to calculate the attitude angle, so I want to use the DMP function to get the sensor fusion data.
The datasheet does not describe how to enable or configure DMP at all.
The only thing it says is that the 7th bit of the USER_CTRL register can be used to enable or disable the DMP.
Information on these is requested.
Sorry for my poor English.
Shinji
Specifically, I would like to know the addresses and values of all registers that need to be written from ICM-20948 startup to the following settings.
We would like to use the geomagnetic sensor as well, although it has not been used so far.
・DMP activation (including firmware loading)
・Setting of output of attitude angle data
・Specifying the output rate
・Read from FIFO
Hi,
You can find the firmware for our DK-20948 on our website. Please note that our firmware is for Atmel MCU we use in our DK boards. Example code could help you develop your own version of some of the functionalities.
https://invensense.tdk.com/developers/software-downloads/#smartmotion
Thanks for the comment.
I have already found that source code, but it is very tedious to parse the source code and flush out all the register settings.
If I had a list of register addresses that need to be set and what values to write to get the desired behavior, what I want to do would only take about 30 minutes.
The documentation still doesn't seem to exist, so I'm going to try to unravel the source code.
Thank you.