Hi Deanus,
Thanks a lot !!!!
The speed can be slow, about 20 Khz is fine, I need to send 10 bytes for each chip !!!!!
This is the code :
[code:1:e4215e011d]I2cstart
I2cwbyte Tda8425w
I2cwbyte 0
I2cwbyte A1st
I2cstart
I2cwbyte Tda8425w
I2cwbyte 1
I2cwbyte A2nd
I2cstart
I2cwbyte Tda8425w
I2cwbyte 2
I2cwbyte A3rd
I2cstart
I2cwbyte Tda8425w
I2cwbyte 3
I2cwbyte A4th
I2cstart
I2cwbyte Tda8425w
I2cwbyte 8
I2cwbyte A5th
I2cstop[/code:1:e4215e011d]
If you can implement one READ BYTE, I can use it too, something like this :
[code:1:e4215e011d]I2cwbyte Tea5767r
I2crbyte R1st , Ack
I2crbyte R2nd , Ack
I2crbyte R3rd , Ack
I2crbyte R4th , Ack
I2crbyte R5th , Nack
I2cstop[/code:1:e4215e011d]
Thanks for your help !
Paulo
↧