Hi,
I am trying to write a program which will my custom board will act as a slave I2C. I am using USB-I2C/SPI/GPIO Interface Adapter (DLN-2) which acts a master I2C, which read and write to my my custom board through I2C. I tried the code in evmomapl138_i2c.c and tried the i2c_init, read and write functions but I could not output the result when the DLN-2 tries to read it.
I have also set the ICOAR, ICIMR, ICSTR, ICCLKL, ICCLKH, ICCNT, ICDXR, ICSAR registers etc following the i2c guide.
Can anyone guide me on how to program the Omap-l138 to respond when it, a master I2C request for data?