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/EK-TM4C123GXL: ISSUE IN THE SPEED OF I2C IN TM4C123GH6PM

Part Number: EK-TM4C123GXL
Other Parts Discussed in Thread: TM4C123GH6PM

Tool/software: Code Composer Studio

Hi all,

        I am working with tiva for the past few month.Now i am using the ST l3g4200d gyroscope as slave for the TM4C123GH6PM controller.In these speed of I2c is very bad it not reaching 100kbps. I am using the system clock as in the API

SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ );     

I2C clock is :  I2CMasterInitExpClk (I2C2_BASE, SysCtlClockGet(), false);                   // In these i checked through datasheet  i2c speed is 88kbps only

Due to these speed issue i am facing a problem while reading the gyroscope value and not getting the excepted value in the gyro.Can anyone provide a some tips to increase the speed of I2C.

NOTE:

PART NO: TM4C123GH6PM ,COMPILER : CCSv6