This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS570LS0432: Code for Software I2C using GPIO

Part Number: TMS570LS0432
Other Parts Discussed in Thread: BQ34Z100-G1

Tool/software: Code Composer Studio

Hi,

I am using BQ34Z100-G1 fuel gauge IC and TMS570LS0432 microcontroller.

BQ34Z100-G1 supports only I2C protocol and TMS570LS0432 supports CAN, SPI, UART. So, how can i communicate these 2 ic's?

From google i got to know that we can do it by implementing software I2C on microcontroller.

Can anyone share their code for implementing software I2C on TMS570LS0432?

Thanks

Ritul Shah