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 :
_enable_IRQ();
i2cInit();
i2cSetOwnAdd(i2cREG1,I2C_OWM_ADDRESS);
while(1);
The Source Files are:
3858.i2c.c
I looked for working Examples but i didnt find any one.
What im doing wrong.
Thanks