Motore di ricerca datesheet componenti elettronici |
|
LSM330 Scheda tecnica(PDF) 27 Page - STMicroelectronics |
|
LSM330 Scheda tecnica(HTML) 27 Page - STMicroelectronics |
27 / 75 page DocID023426 Rev 3 27/75 LSM330 Functionality 75 4.3.6 Stream-to-FIFO mode In Stream-to-FIFO mode, data from yaw, pitch and roll measurements are stored in the FIFO. A watermark interrupt can be enabled on the pin DRDY_G/INT2_G, setting the I2_WTM bit in CTRL_REG3_G (22h) in order to be raised when the FIFO is filled to the level specified by the WTM [4:0] bits of FIFO_CTRL_REG_G (2Eh). The FIFO continues filling until it's full (32 slots of 16-bit data for yaw, pitch and roll). When full, the FIFO discards the older data as the new data arrive. Once a trigger event occurs (related to INT1_CFG_G (30h) register events), the FIFO starts operating in FIFO mode. Refer to the following figure. Figure 11. Stream-to-FIFO mode 4.3.7 Retrieving data from FIFO FIFO data is read from OUT_X_L_G (28h), OUT_X_H_G (29h) and OUT_Y_L_G (2Ah), OUT_Y_H_G (2Bh) and OUT_Z_L_G (2Ch), OUT_Z_H_G (2Dh). When the FIFO is in Stream, Stream-to-FIFO or FIFO mode, a read from the OUT_X_L_G (28h), OUT_X_H_G (29h), OUT_Y_L_G (2Ah), OUT_Y_H_G (2Bh) and OUT_Z_L_G (2Ch), OUT_Z_H_G (2Dh) registers provides the data stored in the FIFO. Each time data is read from the FIFO, the oldest pitch, roll and yaw data are placed in the OUT_X_L_G (28h), OUT_X_H_G (29h), OUT_Y_L_G (2Ah), OUT_Y_H_G (2Bh) and OUT_Z_L_G (2Ch), OUT_Z_H_G (2Dh) registers and both single read and read_burst (X, Y and Z with autoincremental address) operations can be used. When data included in OUT_Z_H_G (2Dh) is read, the system restarts to read information from OUT_X_L_G (28h). x0 y z0 y0 x1 y1 z1 x2 y2 z2 x31 y31 z31 xi,yi,z i Stream Mode FIFO Mode Trigger event x0 y0 z0 x1 y1 z1 x2 y2 z2 x31 y31 z31 xi,yi,z i x30 y30 z30 AM07236v1 |
Codice articolo simile - LSM330 |
|
Descrizione simile - LSM330 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEETIT.COM |
Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | scambio Link | Ricerca produttore 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 |