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.

Problem with I2C

Other Parts Discussed in Thread: HALCOGEN, TMS570LS1227

Hi,

I'm using the I2C port of a TMS570LS1227 to read the values given by a sensor. First of all, to verify that the I2C works, I've configured it as a GIO using HAlCoGen, and it works fine!!

After this, I've configured it as a I2C, the configuration paramenters that I've used in my project are the following:

Besides, I used the example: example_i2cSlave_TX_RX.c to check if the comunication works, but there're no SDA and SCL signals! Regarding the hardware, everything looks ok, I've connected 10k pull-up resistors for the two lines, any idea about what's happening?? 

Thanks!

David

  • Dave,

    If you tried the I2C Slave example - note that a slave does not initiate transfers. You need a master on the bus to try to talk to the slave.
    Only then would you see the slave respond.

    You may want to start w. the master example first if you just want to create traffic.