SPRUJ53B April 2024 – September 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
FILE: i2c_ex5_controller_target_interrupt.c
This program shows how to use I2CA and I2CB modules in both controller and target configuration This example uses I2C FIFO interrupts and doesn't using polling
Example1: I2CA as controller Transmitter and I2CB working target Receiver Example2: I2CA as controller Receiver and I2CB working target Transmitter Example3: I2CB as controller Transmitter and I2CA working target Receiver Example4: I2CB as controller Receiver and I2CA working target Transmitter
External Connections on launchpad should be made as shown below Signal | I2CA | I2CBSCL | DEVICE_GPIO_PIN_SCLA | DEVICE_GPIO_PIN_SCLB
SDA | DEVICE_GPIO_PIN_SDAA | DEVICE_GPIO_PIN_SDABWatch Variables in memory window