Need sample code of writing info to a SRAM chip through an SPI interface

Status
Not open for further replies.

tehpwner

Newbie level 1
Joined
Jul 11, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
Hello. I am planning a project that incorporates writing to an sram chip, preferably a 23k256. I was wondering if anyone had any sample code of writing info to a sram chip through an spi interface, the chip doesn't matter as long as it has at least 10 more i/o pins available. It would be much appreciated! Thanks!
 

pic sram

Hi,

Have not used the S Ram chips - but AN1245 and the chips datasheet do give the info if not the actual code.


Have a look at AN966, I have run their full working routines for SPI to EEprom which with the above info should make it easy enough to code - its in assemler though.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…