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.

TMS570LS1227: n2het i2c code - updated

Expert 2105 points

Part Number: TMS570LS1227

Thank you for the TI's employee making this un-official /un-released app note & the code. It's a big help on those TMS's without dedicated I2c.

Did a change to one instruction - line 83, changed pin=0 to SDA_PIN, which then makes it easier to remap SCL,SDA by changing them only on the top lines 1, 2.

I've successfully tested it's working upto 200KHz,  it starts to fail beyond it. But my bus/VCLK2 speed is lower vs. what the TI"s app note used - 50MHz vs 90MHz.