| Electronic Components Datasheet Search |
|
AN4506 Datasheet(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4506 Datasheet(HTML) 39 Page - STMicroelectronics |
|
39 / 47 page ![]() AN4506 First-in first-out (FIFO) buffer DocID026442 Rev 2 39/47 Figure 21. Stream mode slow reading behavior In Figure 21, due to slow reading, data from “jj” are not retrieved because they are replaced by the new gyroscope samples generated by the system. Figure 22. Stream mode slow reading zoom After Stream mode has been enabled, FIFO slots are filled at the end of each ODR time frame. The reading procedure must start as soon as the OVRN flag is set to “1”. Data are retrieved from FIFO at the beginning of the reading operation. When a read command is sent to the device, the output registers content is moved to the SPI/I2C register and the current oldest FIFO value is shifted into the output registers in order to allow the next read operation. When reading is slower than 1*ODR, some data can be retrieved from FIFO after that new sample is inserted into the addressed location. In Figure 22 the fourth read command starts after the refresh of the F3 index and this generates a disconnect in the data read. The OVRN flag advises the user that this event has taken place. In this example, three correct samples have been read, the number of samples correctly recovered depends on the difference between the current ODR and the FIFO sample set reading time frame. AM08475v1 t Stream enable OVRN FIFO Reading Start FIFO Reading Start FIFO Reading . . … yy xx … 65 64 63 . kk →yy jj →xx 32 31 … … 3 2 1 0 … F?+1 F? … F1 F0 F31 . F?+1 F? F0 F31 … … F3 F2 F1 F0 Samples overwritten t OVRN FIFO Reading . . … yy xx … 65 64 63 . kk →yy jj →xx 32 31 … … 3 2 1 0 … F?+1 F? … F1 F0 F31 . F?+1 F? F0 F31 … … F3 F2 F1 F0 AM08476v1 Stream enable t OVRN R0:0 FIFO Reading Start FIFO Reading Samples overwritten … … 36 35 34 33 32 31 … 4 3 2 1 0 … … F4 F3 F2 F1 F0 F31 … F4 F3 F2 F1 F0 R1:1 R2:2 R3:35 R4:36 t0 t0+dt t0+31dt t OVRN R0:0 FIFO Reading … … 36 35 34 33 32 31 … 4 3 2 1 0 … … F4 F3 F2 F1 F0 F31 … F4 F3 F2 F1 F0 R1:1 R2:2 R3:35 R4:36 t0 t0+dt t0+31dt |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |