Sep 24, 2011 #1 S sparun Newbie level 3 Joined Sep 13, 2011 Messages 4 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,297 i need a code on spi eeprom interface with 8051 using 8255
Sep 24, 2011 #2 bigdogguru Administrator Joined Mar 12, 2010 Messages 9,821 Helped 2,350 Reputation 4,694 Reaction score 2,272 Trophy points 1,413 Location Southwest, USA Activity points 62,383 Why use an 8255? What is the make and model of the 8051 variant you are using in the design? If your particular 8051 does not have a hardware SPI interface you could always bit-bang the SPI interface. The following appnote covers both hardware and software interfacing an 8051 with a SPI Serial EEPROM: Interfacing 8051 MCUs with SPI Serial EEPROMs Software Source Code for Above Appnote Hope the info helps in your endeavors, BigDog
Why use an 8255? What is the make and model of the 8051 variant you are using in the design? If your particular 8051 does not have a hardware SPI interface you could always bit-bang the SPI interface. The following appnote covers both hardware and software interfacing an 8051 with a SPI Serial EEPROM: Interfacing 8051 MCUs with SPI Serial EEPROMs Software Source Code for Above Appnote Hope the info helps in your endeavors, BigDog
Oct 21, 2011 #3 S sparun Newbie level 3 Joined Sep 13, 2011 Messages 4 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,297 thanks mr bigdogguru,i could understand the code..............