3 Replies Latest reply on Nov 11, 2018 5:14 PM by MoTa_728816

    I2C set stop condition after read does not work

    fawic_1262901

      Hello,

      I am reading values via I2C from an RTC (RX8010SJ) in Master mode.

       

      This works so far, but the I2C Stop Condition is not set. Subsequent I2cStart then returns error -2 (Timeout).

      I am using the command "pstcI2c->IBCR = 0x01;" from mb9bfxxx_l3-v19.

       

      When I configure SDA and SCL as inputs manually, the Stop Condition is set and recognized by the slave.

       

      There are no examples for I2C master mode in Cypress' PDL 2.0.1, only for slave mode.....

       

      Any hints?

       

      Best regards,

      Falk