English
Language : 

BMG160 Datasheet, PDF (73/91 Pages) List of Unclassifed Manufacturers – Digital, triaxial gyroscope sensor
BMG160
Data sheet
Page 73
The data bits are used as follows:
Bit0: Read/Write bit. When 0, the data SDI is written into the chip. When 1, the data SDO from
the chip is read.
Bit1-7: Address AD(6:0).
Bit8-15: when in write mode, these are the data SDI, which will be written into the address.
When in read mode, these are the data SDO, which are read from the address.
Multiple read operations are possible by keeping CSB low and continuing the data transfer.
Only the first register address has to be written. Addresses are automatically incremented after
each read access as long as CSB stays active low.
The principle of multiple read is shown in Figure 12:
Start RW
Control byte
Register adress (02h)
Data byte
Data register - adress 02h
Data byte
Data register - adress 03h
Data byte
Data register - adress 04h
Stop
CSB
CSB
= 1 0 0 0 0 0 1 0 XXXXXXXXXXXXXXXXXXXXXXXX =
0
1
Figure 12: SPI multiple read
In SPI 3-wire configuration CSB (chip select low active), SCK (serial clock), and SDI (serial
data input and output) pins are used. The communication starts when the CSB is pulled low by
the SPI master and stops when CSB is pulled high. SCK is also controlled by SPI master. SDI
is driven (when used as input of the device) at the falling edge of SCK and should be captured
(when used as the output of the device) at the rising edge of SCK.
The protocol as such is the same in 3-wire configuration as it is in 4-wire configuration. The
basic operation waveform (read or write access) for 3-wire configuration is depicted in Figure
13:
CSB
SCK
SDI
RW AD6 AD5 AD4 AD3 AD2 AD1 AD0 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0
Figure 13: 3-wire basic SPI read or write sequence (mode ´11´)
BST-BMG160-DS000-09 | Revision 1.2 | May 2014
Bosch Sensortec
© Bosch Sensortec GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to
third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.