Specification Sheet

Table Of Contents
WT901 | Datasheet v20-0702 | http://wiki.wit-motion.com/english
- 38 -
6.2 IIC Read the Module
IIC read the module, the format is as follow
IICAddr<<1
RegAddr
(IICAddr<<1)|1
Data1L
Data1H
Data2L
Data2H
……
First IIC host sends a Start signal to WT901 module,then write IICAddr to
register address, then IIC host sends a read signal(IICAddr<<1)|1) to WT901
module, if the IIC address is 0x50(default),then the host send 0xa0
Thereafter the module will export the data follow the rule: low byte first, high
byte Sequentially. The host will make SDA bus low after receiving each byte,
and sends a response signal to the module .After the specified number of data
has been received completely, the host stop sending response signal back to the
module, then the module will stop export data.The host send a stop signal to
end this operation.
For example:
Read the Angle of the module,
RedAddr: 0x3d,read 6 bytes continuously, the logic analyzer captures
waveforms as shown below:
Start reading out data from 0x3d,the data is 0x9C, 0x82,0x28,0xFF, 0xE6,0x24.
That means X-axis angle is 0x829C, Y-axis angle is 0xFF28, Z-axis angle is
0x24E6. According to section 5.1.4, X axis angle is -176.33 °, Y-axis angle is
-1.19 °, Z-axis angle is 51.89°