|
![]() Oscillators/PCA/Timers/SMBus/UART/SPI
![]() f340 : XRAM
|
| next newest topic | next oldest topic |
| Author | Topic: f340 : XRAM |
|
hafblud Member |
Hi I didn't find where to ask for help about XRAM. Please ignore if I am posting in a wrong thread. I have a question about interfacing f340 with external XRAM. I couldn't find how how to configure the IOs while connecting a uC with EPROM. I mean to say, which IO pin to connect with which flash pin . I am using the flash (M29W320ET). http://www.datasheetcatalog.org/datasheet2/7/0trulfzexhj3y9uearzeed0u69fy.pdf Please refer me to some document which explains the connection of pins. regards IP: Logged |
|
erikm Member |
connecting a uC with EPROM The SILabs chips are (for obvious reasons) incapable of operating from external CODE memory. Using EPROM as external DATA memory makes no obvious sense. Please clarify. Erik [This message has been edited by erikm (edited August 17, 2010).] IP: Logged |
|
Scotty Member |
Hi hafblud, Please refer me to some document which explains the connection of pins. I mean to say, which IO pin to connect with which flash pin . Regards, Scotty IP: Logged |
|
hafblud Member |
Hi @Erkim @Scotty Actually i need to know the DATABUS & ADDRESS BUS pins on the uC. " - D7-D0 to the databus " " - DQ15A–1 to A0 of address bus " [This message has been edited by hafblud (edited August 17, 2010).] IP: Logged |
|
erikm Member |
I need to store and read data in mbs, which is not possible with internal RAM of f340. XRAM is not for code purposes just a data storage. OK, you are ware that you can not "just write" to flash, you need to erase the associated page first. Re external memory: You need to set up the crossbar correctly, see if config will do it for you. BUT: no definite answer can be given till you decide on (non-)multiplexed. Erik IP: Logged |
|
tony.hague Member |
Before telling you to go and read the datasheet I had a look myself, and it is surprisingly hard to find ! The best source are the timing diagrams on P131, which reveal: Non multiplexed mode- Multiplexed I would have thought that this could be set out somewhere other than in the samll print of a timing diagram ... IP: Logged |
|
hafblud Member |
Thank you for pointing out the timing diagram, i really looked hard every where in the data sheet (except for timing diagrams). @Erkim IP: Logged |
|
hafblud Member |
@Erkim " OK, you are ware that you can not "just write" to flash, you need to erase the associated page first " I think first i needed to know where to connect the flash, thats why i only asked for the details of data & address pins of uC. IP: Logged |
|
Scotty Member |
Hi hafblud, Erikm:" OK, you are ware that you can not "just write" to flash, you need to erase the associated page first " Regards, Scotty IP: Logged |
|
erikm Member |
I am using mutiplexed mode DO NOT substitute the address latch chip, many have tried and failed. Erik IP: Logged |
|
hafblud Member |
Hi. I am asking a question on the same topic after quite a long time, for i am troubled again. Do we have to skip (PxSKIP) the pins that are dedicated for Memory or writing to Flash Operations (P1.3, P1.6, P1.7, P2, P3, P4) ? IP: Logged |
|
vanmierlo Member |
This actually is written in the datasheet in 13.4: When the EMIF is used, the Crossbar should be configured to skip over the control lines P1.7 (/WR), P1.6 (/RD), and if multiplexed mode is selected P1.3 (ALE) using the P1SKIP register. They say nothing about P2 and P3 but since they are the last ones anyway I don't think it really matters. P4 is not part of the crossbar. IP: Logged |
|
hafblud Member |
Thanks IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?