4 Replies Latest reply on Oct 23, 2014 2:48 AM by userc_7964

    [bcm20732] i2c question

      Hi Sirs,

      We use a i2c bus chip that need to wake up it.

      The wake up is to make SDA pin low for at 60us and high for 2.5ms.

      screenshot.png

      What I want to do is to use i2c_write() and delay function to match the waveform.

      The example code as following:


           /* wakeup chip, 60us is required */

           i2cm_write(NULL, 0, 0x00);       -> can I use this function in such kind of way?

           /* a delay function is required here */

           delay_ms(3);

       

      Or do you have any suggestion?

      For example: to quickly switch from GPIO to I2C?