Hello, I'm using a PhyCore 167HSE with a C167CSL40M. I have on the board a memory EEPROM 24C08 which is connected with I2C. The problem is that the C167CS haven't I2C register, So how can I read, Write in this EEPROM? Help me please it's very important Thank you Benoît CHARBONNEAU
A complete solution is available on the Infineon web site for Keil. See application note AP16024. Just change the def file for SCL to be pin 3.4 and and clock to your frequency.
Go to the I2C section of this website - there's an example on software simulated I2C (it's an 8051 example, but you should be able to work with that): http://www.keil.com/i2c/