SPRUHM8K December 2013 – May 2024 TMS320F28374D , TMS320F28375D , TMS320F28376D , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28378D , TMS320F28379D , TMS320F28379D-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
\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