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/TM4C129ENCPDT: TM4C129ENCPDT I2C uDMA example code

Part Number: TM4C129ENCPDT

Tool/software: Code Composer Studio

Dear TI - Team,

I have managed to communicate over I2C with a LTC2945-chip. I am using the TM4C129E controller and the Ti-library (i2c.h). Currently i am using the API with FIFOS.

Since we are running an RTOS on our system i want to reduce the cpuload.

    I2CMasterControl(Cfg.ui32Base, I2C_MASTER_CMD_FIFO_BURST_SEND_FINISH);
    while(!(I2CMasterBusy(Cfg.ui32Base)));
    while(I2CMasterBusy(Cfg.ui32Base));

as shown above while functions are blocking.

I want to implement interrupts or uDMA, therfore i found following documentation:

http://www.ti.com/lit/an/spma073/spma073.pdf

in this documentation following codesampels are mentioned but never reverenced:

ektm4c129_i2c_master_udma_fifo

ektm4c129_i2c_master_hs

is there a way o get hands on this examples?

Thanks in advance.

regards

Lukas

  • Hello Lukas,

    On the first page of the document there is a download link for a zip folder, spma073.zip, that has all the examples projects in it including those two you have referenced.