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 TMS320F28335 question

Other Parts Discussed in Thread: TMS320F28335

Hello,

I am using the TMS320F28335 DSP and I have implemented a i2c driver using FIFO mode. Now my task is to make it work with 255 data bytes.

Is it possible to use the FIFO mode to send/receive 255 data bytes or should I change the driver from FIFO mode to regular mode with the basic i2c interrupt requests ?

Do you know an example that doesn't use the FIFO ?

Thanks in advance,

Adrian

  • Hi Adrian,

    Now my task is to make it work with 255 data bytes.Is it possible to use the FIFO mode to send/receive 255 data bytes?

    Yes, you can but not all 255 at a time. You'll to do it in lots of 16 bytes at a time.

    Without FIFO, you should be able to implement the same using the help of I2CCNT register.

    Regards,

    Gautam

  • Hi Gautam,

    Thanks for your reply, I will try and change where the STOP conditions are set and send/receive blocks of 16 bytes.

    I will reply if it works.

    Kind Regards,
    Adrian