3 Replies Latest reply on Nov 12, 2020 1:25 AM by AH_96

    PSoC4200L I2C Master Interrupt Example code


      Hi All,


      Is there an example source code for I2C master using Interrupt?


      Please refer to below.


      - IDE : PSoC Creator 4.2

      - PSOC4200L

      - I2C SCB

      - I2C Master example using interrupt

        a. transfer

           When the Tx start interrrupt flag is triggered, then I2C ISR starts transferring rest of the data.


        b. receive

           If there is data in the I2C rx buffer, then the data is transferred from I2C Rx FIFO to the user defined buffer by the ISR.


      Thanks and Regards,