BMA222-SHUTL Bosch Sensortec, BMA222-SHUTL Datasheet - Page 60

no-image

BMA222-SHUTL

Manufacturer Part Number
BMA222-SHUTL
Description
BMA222 DAUGHTERCARD FOR DEV KIT
Manufacturer
Bosch Sensortec
Series
-r
Datasheets

Specifications of BMA222-SHUTL

Sensor Type
Accelerometer, 3 Axis
Sensing Range
±2g, 4g, 8g, 16g
Interface
I²C, Serial, SPI
Sensitivity
64LSB/g, 32LSB/g, 16LSB/g, 8LSB/g
Voltage - Supply
-
Embedded
No
Utilized Ic / Part
BMA222
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
828-1026
I²C write access:
I²C write access can be used to write a data byte in one sequence.
The sequence begins with start condition generated by the master, followed by 7 bits slave
address and a write bit (RW = 0). The slave sends an acknowledge bit (ACK = 0) and releases
the bus. Then the master sends the one byte register address. The slave again acknowledges
the transmission and waits for the 8 bits of data which shall be written to the specified register
address. After the slave acknowledges the data byte, the master generates a stop signal and
terminates the writing protocol.
Example of an I²C write access:
I²C read access:
I²C read access also can be used to read one or multiple data bytes in one sequence.
A read sequence consists of a one-byte I²C write phase followed by the I²C read phase. The two
parts of the transmission must be separated by a repeated start condition (Sr). The I²C write
phase addresses the slave and sends the register address to be read. After slave
acknowledges the transmission, the master generates again a start condition and sends the
slave address together with a read bit (RW = 1). Then the master releases the bus and waits for
the data bytes to be read out from slave. After each data byte the master has to generate an
acknowledge bit (ACK = 0) to enable further data transfer. A NACKM (ACK = 1) from the master
stops the data being transferred from the slave. The slave releases the bus so that the master
can generate a STOP condition and terminate the transmission.
The register address is automatically incremented and, therefore, more than one byte can be
sequentially read out. Once a new data read transmission starts, the start address will be set to
the register address specified in the latest I²C write command. By default the start address is set
at 0x00. In this way repetitive multi-bytes reads from the same starting address are possible.
In order to prevent the I²C slave of the device to lock-up the I²C bus, a watchdog timer (WDT) is
implemented. The WDT observes internal I²C signals and resets the I²C interface if the bus is
locked-up by the BMA222. The activity and the timer period of the WDT can be configured
through the bits (0x34) i2c_wdt_en and (0x34) i2c_wdt_sel.
Writing ´1´ (´0´) to (0x34) i2c_wdt_en activates (de-activates) the WDT. Writing ´0´ (´1´) to
(0x34) i2c_wdt_se selects a timer period of 1 ms (50 ms).
Rev. 1.0
© 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.
Start
S
0
0
Slave Adress
1
1
0
0
0
RW ACKS
0
0
0
Figure 16: I²C write
Register adress (0x10)
0
Data sheet
BMA222
Control byte
Page 60
1
0
0
0
0
ACKS
X
X
X
Data (0x09)
Data byte
X
X
Bosch Sensortec
07 March 2011
X
X
X
ACKS Stop
P

Related parts for BMA222-SHUTL