In this project I have interfaced a I2C based EEPROM (Microchip 24LC32) to the Atmel Amega8 AVR. The program will read the first 4 bytes of an EEPROM and display the contents on the LCD. I have added external interrupts to enable erase and program of the EEPROM upon an external key press.The external interrupts are driven by falling edge and have 10k pullup resisters tied to them. In the interrupt routine, erase or program mode flags are set.This can then be used as a simple i2c EEPROM programmer with basic read, write, and program modes.
Sunday, February 22, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment