Hello,
The sample time of the simulink project is .s and we would like to use SPI to communicate with the sensor. We need accelometer data to calculate orientation and angles..We would like to use FIFO without DMP (not sure if it is even possible to use it, since the official documentation doesn't give any details on how to use it). We have set the register CONFIG on: " " - kHz and register ACC_CONFIG_ on " ", enabled FIFO, and set FIFO Mode to ...
after reading the data from SPI receive block, we use buffer with elements to store the data and calculate the angle afterwards...
After all this, we are still not getting the right data..
Does anyone have experience with Simulink and MPU communicating via SPI?