LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using USB-8451 for accessing SMB Slave

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

 

 

0 Kudos
Message 1 of 2
(2,190 Views)

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

0 Kudos
Message 2 of 2
(2,179 Views)