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 Documents for TMS320C6748

Other Parts Discussed in Thread: TMS320C6748

Hi there!!!

Has I2c Documentation for 6748 been released? Where i can find documents about I2C configuration?

Could anyone say to me what are the fundamental steps to configure I"C on TMS320C6748?

Thanks!!!!!!

Giuseppe

  • Giuseppe,

    Look up the I2C documentation for the C672x series of DSP chips. The C6748 chip uses the same I2C hardware as the C672x chips.

    The 'spru877e.pdf' file describes the procedure to set up the interface.  The setup steps are different, depending on whether the I2C module will be a master or a slave device, and depending on whether it is interrupt driven or polled.

    If you use an interrupt driven interface, be aware that the interrupt events are placed into a queue.  When the events are taken out of the queue, they come out in a 'priority order', and not in 'chronological order'.  This can mess up your protocol  software, if you are not careful.

    Steve

  • Hi Steve!

    Thanks for your answer.

    Could you suggest to me any libraries for I2C configuration?

    I think that TI provides libraries or examples about I2C.

    I need some examples of code for Code Composer Studio. Do you know where i can find it? Any suggestion?

    Thanks a lot !!!! 

    Giuseppe

  • I am not sure about what is available from TI, in the way of examples.  I think there are some CSL library test files for I2C that you can search for.

    Steve

  • Giuseppe Aliperti said:
    Has I2c Documentation for 6748 been released? Where i can find documents about I2C configuration?

    Documentation is available for C6748 I2C Module on the TMS320C6748 Product Folder under "User Guides" This will be true for most IP documentation for C674x devices, with the exception of the datasheet which is at the top of the page.

    There are several code examples for C6748 you can find here

     

     

  • Thanks for your answers!

    Hi Drew! I opened the file suggested from you and created another project whit it.

    When I built it, I have this kind of error: "Could not open source file I2C_I/O_ expander_dspL138.h".

    Is possible that in this example code there isn't this header file?

    How can I resolve this kind of obstacle?

    In anyway, my target is the configuration of the I2C as a slave for a comunication with an Eprom.

    Thanks a lot!

    Giuseppe