I try to implement a smart card operating system for the Funcard 163 which contains a ATMega 163 and a 24C256 external EEPROM. Due to have enough memory for a smart card filesystem I want to use the external EEPROM, but I have difficulties accessing the EEPROM. Can anyone tell me which Pins of the ATMega are used to interface the EEPROM? Also a view hints about the timing of the EEPROM would be usefull.
24C256 uses I2C bus and is connected through SCL and SDA pins ..
The ATMEGA163's I2C bus pins are labelled exactly in the same way - SCL (PC.1) and SDA (PC.0) .. see: **broken link removed**
As far as timing and the use of the address pins (A0, A1 and A2) are concerned, you can find relevant information in the 24C256 data sheet for example at: **broken link removed**
24C256 uses I2C bus and is connected through SCL and SDA pins ..
The ATMEGA163's I2C bus pins are labelled exactly in the same way - SCL (PC.1) and SDA (PC.0) .. see: **broken link removed**] ..
As far as timing and the use of the address pins (A0, A1 and A2) are concerned, you can find relevant information in the 24C256 data sheet for example at: **broken link removed**
Thanks for the quick answer. I'm not sure if the chip on the Funcard uses the I2C Port to connect the EEPROM, but we will try this. There are other Funcards with different controllers, and they do not have a I2C Bus and therefore they use normal port lines and do the timing in software like in SOSSE https://www.mbsks.franken.de/sosse/
It would be good if someone has a schematic of the Funcard 163.