fx3 i2c restart signal generation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
xigu_1705831
Level 2
Level 2
Welcome! 10 replies posted 5 replies posted

1. our purpose to generate following i2c sequence:
     START-0xDA-0x33-0x05-0x00-0x00-0x00-0xa1-0x00-0x80-0x01-0x01-0xa2-restart-0xDB-(read)0x33-0x41-0x02.....0x78-STOP
2. we are trying to use CyU3PI2cTransmitBytes API. but Preamble Values more than 8 bytes are not supported.

3. we are also try CyU3PI2cTransmitBytes + CyU3PI2cTransmitBytes to generate the sequence. the signal between these APIs is stop-start not restart. 
        START-0xDA-0x33-0x05-0x00-0x00-0x00-0xa1-0x00-0x80-0x01-0x01-0xa2-stop-start-0xDB-(read)0x33-0x41-0x02.....0x78-STOP

     our i2c slave device not support it.
4. from the following link, seems fx2 also have this issue. and there is an workarround. can you help check our fx3 can also take this method and how to do?
CY7C68013A I2C repeated start condition.

thanks
xingxing

0 Likes
5 Replies