| Electronic Components Datasheet Search |
|
AN4662 Datasheet(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4662 Datasheet(HTML) 39 Page - STMicroelectronics |
|
39 / 43 page ![]() AN4662 First-in first-out (FIFO) buffer Figure 17: Stream mode Stream mode is intended to be used for reading all 32 samples of FIFO within an ODR after receiving an Overrun signal. However, also a watermark interrupt CTRL3 (INT1_FTH), CTRL6 (INT2_FTH) can be enabled in order to read data from the FIFO and leave free memory slots for incoming data. 8.4.4 Stream-to-FIFO mode In Stream-to-FIFO mode (FIFO_CTRL(FMODE2:0) = 011), FIFO behavior changes according to the IG_SRC1 (IA) bit. When the IG_SRC1(IA) bit is equal to '1', FIFO operates in FIFO mode, when the IG_SRC1 (IA) bit is equal to '0', FIFO operates in Stream mode. Interrupt generator 1 has to be properly set through the IG_CFG1, IGTHS_X1, IGTHS_Y1 and IGTHS_Z1 registers. The CTRL7 (LIR1) bit should be set to '1' in order to latch the interrupt status and preserve the FIFO content. If the interrupt is not latched and the interrupt condition disappears, the FIFO behavior switches to Stream mode, overwriting the FIFO content. 8.4.5 Bypass-to-Stream mode In Bypass-to-Stream mode (FIFO_CTRL (FMODE [2:0]) = 100) the FIFO buffer is reset (By-pass mode) when G_SRC1 (IA) is equal to '0', it starts to collect data and to operate in Stream mode when G_SRC1 (IA) is equal to '1'. Interrupt generator 1 has to be properly set through the IG_CFG1, IGTHS_X1, IGTHS_Y1 and IGTHS_Z1 registers. The CTRL7 (LIR1) bit should be set to '1' in order to latch the interrupt status and preserve the FIFO content. If the interrupt is not latched and interrupt condition disappears, the FIFO behavior switches to Bypass and the content is reset. DocID027579 Rev 1 39/43 |
|
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 |