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.

I2C on TM4C123GH6PZI

Hello all
I am trying to use I2C1 BUS in TM4C123GH6PZI,-old name LM4F231,by now with no success.
I have tried known working code by , attached, and it do work on the EK-LM4F120XL launchpad.
But when I burn the same code to my own board with the  TM4C123GH6PZI it is not working.
The pins are not getting set to I2C and when I am trying to Debug it, it look like the in the Debugger (Keil uvision) that the MCU jumping between the lines and the configuring process doesn't go right.

Does any one have any idea how to make the I2C1 work?

I use 8MHz crystal with PLL dividing to 4.

Does any one used this peripheral on this MCU before?

1732.Code only.rar

4834.project1.rar

  • Hi Haggy,

    Were you able to solve your issue?

    If debugger appears to jump around, it is most likely due to optimizations being enabled. You can try setting a lower level or disabling optimizations all together. These settings can be found under the project settings.