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.

Programming TLC59116

Other Parts Discussed in Thread: TMS320F28335, TLC59116

Hello everyone

My name is Fernando Ojeda and  I´m trying to programm the TLC59116 using the TMS320F28335 as a master. I´m sending the following sequence: slave address = 60h, control register = 00h, mode1 = 10h, but I don´t have the acknowledge expected from the slave (TLC59116) for the first byte (slave address). I don´t know how to fix that problem. Do you have any programming flow samples or  programming lists samples.  ASAP

  • Hi Fernando,

     

    Troubleshooting I2C Bus Protocol - http://focus.ti.com/lit/an/scaa106/scaa106.pdf

    is a good resource when trying to debug an I2C device.

     

    I´m sending the following sequence: slave address = 60h, 

    Are you writing all 8 bits of 60h (0110 0000)? That first 0 would cause a problem. The complete address would be C0h (1110 0000) for a read. 

    Regards,

    Hattie 

  • Hi Hattie I read the aplication report and it´s helping me and I correct the slave address to  C0h (1110 0000) but I have the following problem: before I send the eighth bit block  (slave address) the TLC59116 gives back No acknowledgement (NACK), I check the delay between SCL and SDA and the timing is ok. I try to reset the device by software  (SWRT call function -SLDS157B)  but the device  gives back NACK. Any ideas

    Regards

    Fernando Ojeda

  • Fernando,

     

    I am sorry for the delayed reply.

    I also made a typo for the address... C0h is (1100 0000).

    Which are you sending? 1100 0000 or 1110 0000? Also, make sure you are sending a correct start condition.

     

    If you could provide waveforms, I could help debug further.

     

    Thank you!

    Hattie