I am trying to interface Flash AT29C512 with AT89C51 How do read and write serially between the 8 bit 8051 and 24 bit Flash,
Kindly help if some one has worked on this.
"I am trying to interface Flash AT29C512 with AT89C51. How do read and write serially..."
The AT29C512 has a Parallel interface - not a serial one!
Read the Data sheet: " for the 8051:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
ya its a 32 bit device it has SI and SO for its serial I/O pins if this is right , flash SST25VF512 has only a serial interface
thanks & regards, hema.
"if this is right..."
Again, the Datasheet will tell you whether it is right or not.
Have you read the Datasheet?
ya it is a serial flash
"it is a serial flash"
Good.
Now, back to the Datasheet: what kind of serial interface does it have?
If it is a standard type (eg, I2C or SPI) you should be able to easily find sample code;
If it is non-standard, it will be fully defined by the manufacturer somewhere - maybe in the datasheet, maybe in a separate document.
Either way, check the manufacturer's site first for examples, guidance, etc...
its standard type with SPI interface, so where do we find the sample code, Google?
Of course, Google like to blow their own trumpet: "Google is now widely recognised as the world's largest search engine -- an easy-to-use free service that usually returns relevant results in a fraction of a second" www.google.co.uk/.../index.html
There are other internet search engines; eg, http://www.altavista.com/
To be able to effectively use such tools is absolutely essential - so start practising now!
www.google.co.uk/.../about.html www.altavista.com/.../tools
You will also find plenty of examples included in the 'Examples' folder in your Keil installation, and the downloads section of this site.
You should also check-out the SST site for Application Notes, examples, etc, etc,...
Thank you Sir, the links were very helpful, specially for send byte You explained quite patiently, Thanks again for taking time out,
View all questions in Keil forum