07-06-2011 09:13 AM
Can i use the following example to read a SMB(System Management Bus) slave device using USB-8451 (since SMB is derived from I2C) .
Hardware Input and Output > I2C and SPI > I2C Basic > Generate I2C Read.vi
Thanks
Baburaj
SMSC
INDIA
07-06-2011 11:50 PM
The following is the read and write sequence examples , I want to confirm that this sequence is done by General I2C Read.vi .
Example Write sequence:
1) Slave Address 0x58
2) Register Address 0x00
3) Byte count 0x03 (to write 3 bytes)
4) Data Byte 1
5) Data Byte 2
6) Data Byte 3
Example Read Sequence:
1) Slave Address 0x58
2) Register Address 0x00
3) Repeat start Slave address (will be 0x59)
4) Byte Count 0x03 ( to read 3 bytes)
5) Data Byte 1
6) Data Byte 2
7) Data Byte 3
Thanks
Baburaj