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 I2C Slave Mode

Other Parts Discussed in Thread: HALCOGEN

Good Day,

im trying to get the TMS work as a I2C-Slave (interrupted) but its not working and im getting no reaction from the MCU. no ACK .. nothing
I generated the Code in Halcogen. and then i compiled and flashed the MCU. When the I2C-ISR is called, a GPIO Pin should go High. It stays LOW.

I connected the I2C-Wires of the MCU to the I2C-Interface of a OlinuXino-PC with Embedded Linux. then i scanned the connected I2C-Devices on the BUS. The I2C-Address of the MCU  did not apear. I tryed to send or receive from the MCU. no chance.

The Halcogen Settings are :

 

In the Main Function i use:

         

         _enable_IRQ();

         i2cInit();

         i2cSetOwnAdd(i2cREG1,I2C_OWM_ADDRESS);

         while(1);


The Source Files are:

4645.i2c.h

    3858.i2c.c

I looked for working Examples but i didnt find any one.
What im doing wrong.

Thanks