hi all~
chip: 3530
os:wince6.0
we have to have to send I2C data like this
|
|
R/W |
|
|
|
|
|
R/W |
|
|
S |
ADDR_1 |
0 |
0x00 |
0xFF |
0xFF |
Sr |
ADDR_2 |
0/1 |
DATA1...DATAn |
P |
(S: start, Sr: restart, P: stop )
and the ADDR_1 is not the same as ADDR_2 ,the problem is that OALI2CWrite and OALI2CTransaction can't do this job because:
1) we will never generate "restart" with OALI2CWrite,
2)OALI2CTransaction use the same slave I2C address in the overall communication.
and will 3530 send the slave address right behind it generates a start condition?
thanks in advance!