Post Go back to editing

Read FIFO problem

Category: Hardware
Product Number: MAX32664


I followed the commands in UG6924 Table 10 to initialize and read in AEC Mode.
To START ALGORITHM I followed the steps from 1.1 to 1.11, setting the sensor hub interrupt threshold to 0x01.
To READING SAMPLES after DataRdyInt (2.1), I get the number of samples (nn) in the FIFO (2.2) and I read 1 as expected, then I read 1byte from FIFO (2.3).
To the next sample, after DataRdyInt (2.1), I get the number of samples (nn) in the FIFO (2.2) and I read 2. It seams that the FIFO doesn't empty.
So the FIFO keep filling until I get an error.
How can I solve this issue ?