Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: TMP006, TCA9555, TM4C1292NCPDT, EK-TM4C1294XL,
Hello,
I've a working reference code for my project in which 3 different I2C buses were used for the working project, i.e. I2C1, I2C2, I2C9 buses that are defined in the enum as below:
typedef enum EK_TM4C1294XL_I2CName {
EK_TM4C1294XL_I2C1 = 0,
EK_TM4C1294XL_I2C2,
EK_TM4C1294XL_I2C9,
EK_TM4C1294XL_I2CCOUNT
} EK_TM4C1294XL_I2CName;
But if I want to use an additional I2C bus i.e. I2C5 without interfering with the existing I2C communication (i.e., I2C1, 2 and 9) how do I do that? It is not defined in the enum.
The usage in RTOS is as below:
stI2cConfig.vui8I2cBus = Board_I2C9;
where
#define Board_I2C1 EK_TM4C1294XL_I2C1
#define Board_I2C2 EK_TM4C1294XL_I2C2
#define Board_I2C9 EK_TM4C1294XL_I2C9
The above are defined in Board.h file whereas I2C5 bus is not defined.
Please help in implementing I2C5 communication.
Best Regards,
Kiran





























































