What is the start address of the FIFO in IIM-42352

By guptaembeddedg… , 2 April 2024

Hi,

I am trying to interface IIM-42352 with our TI controller, I am able to use SPI interface between them and run example-self-test and example-raw-data-registers successfully. But when I am testing the example-raw-data, the accel and temp data read from FIFO is constant even when I am moving the sensor. I suspect the issue might be the way the example reads the FIFO is incorrect or FIFO not getting updated with latest values.

In the example it is reading MPUREG_FIFO_DATA (FIFO data register with address 0x30) for a length equals to packet_size * packet_count. Is this correct start address of FIFO? If no, please tell me the correct start address of the FIFO.

If yes, then please tell me the possible reasons for "FIFO not getting updated with latest values."

mustafayildiri…

1 year 11 months ago

Hello,

I understand that you are using our DK-42352 SmartIndustrial eMD 1.0.3 firmware on a TI microcontroller. If so, I want to point out that our firmware is designed for using with our DK boards which has a specific Atmel MCU. If you would like to run your firmware on a TI microcontroller you can review our code and create your own code for TI MCU. Ti microcontroller is most likely culprit here, because our firmware is not designed for it.

phpbb Post ID
45598
phpbb Topic ID
45584