Question
Delay in FIFO transmission when batching SFLP and Accelerometer and Gyroscope on LSM6DSV16X
Hi all,
I am implementing SFLP in ArduinoIDE using the board library and examples and have modified the code to also batch the accelerometer and gyroscope data in the FIFO buffer, however this creates a consistent delay in the data transmission which is not there when I am solely batching the SFLP game rotation vector. This is the line of code which makes the difference, although I am not sure why or how to get rid of this delay:
status |= AccGyr.FIFO_Set_X_BDR(BATCHRATE);
status |= AccGyr.FIFO_Set_G_BDR(BATCHRATE);
The batch rate is 120 Hz. for all ODR in the program.
Thank you in advance.
