
5.3.3.10 : Clear
The clear command will reset the microcontroller’s I2C command processing state machine. This
means that any multi-byte commands currently in-progress will be canceled and any data in the transmit
buffer will be removed.
Start a command that returns multiple bytes:
# i2cget -y 1 0x5a 0x84
0x31
# i2cget -y 1 0x5a
0x33
# i2cget -y 1 0x5a
0x33
Cancel the command and clear the transmit buffer:
# i2cget -y 1 0x5a 0xf0
0x00
# i2cget -y 1 0x5a
0x00
5.3.3.11 : I2C Bus Select 1-4
Select local I2C bus 2:
# i2cget -y 1 0x5a 0xf2
5.3.3.12 : I2C Slave Address
Set the currently selected I2C slave address to 0x4C:
# i2cget -y 1 0x5a 0xf8
# i2cget -y 1 0x5a 0x4c
5.3.3.13 : Raw I2C Read / Write
Here is an example using raw I2C read and write commands to read the temperature:
# i2cget -y 1 0x5a 0xf1
# i2cget -y 1 0x5a 0xf8
# i2cget -y 1 0x5a 0x4c
# i2cget -y 1 0x5a 0xf9
# i2cget -y 1 0x5a 0x00
# i2cget -y 1 0x5a 0xfa
0x5e
VP3500 User Manual • Document Number 101-3500-0001 • Revision A0
Property of Rigel Engineering, LLC. Confidential & Proprietary
690 Cone Park Court, Merritt Island, Florida 32952
page 95