SPRUIX1B October 2022 – April 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
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
\b External \b Connections on launchpad should be made as shown below \n Signal | I2CA | I2CBSCL | DEVICE_GPIO_PIN_SCLA | DEVICE_GPIO_PIN_SCLB
SDA | DEVICE_GPIO_PIN_SDAA | DEVICE_GPIO_PIN_SDABWatch Variables in memory window