Content originally posted in LPCWare by Rob65 on Thu Mar 08 12:12:26 MST 2012
Indeed,
I've looked at the EMC in a little bit more detail myself.
There is a general picture (figure 16) showing the read and write timings but I do admit it is not the easiest picture to read. But then, this captures what some of the 'biggies' need 3 or 4 pictures for :rolleyes:
Actually, there are 3 pictures ... figure 17 shows the read/write access when PB=1 and figure 18 shows a burst read cycle.
PB is an internal signal that defines the type of SRAM that is used. With PB=0 you capture the byte wide memory chips being used. Here the BLS0..3 signals are used as write enable. PB=1 is used for word wide memory that uses both a WE and a BLS (Byte Lane Select) signal.
Let's stay with figure 16 (byte wide memory): RD1 is the time from CS low to Address stable. RD5 is ... ehh... used 3 times in the diagram - since this is read timing this means the data should be valid at least RD5 after the latest event (CS low, OE low, address stable) occurs. From the picture, OE could be low before CS and the address couldbe stable before OE low so that explains where this strange timing comes from.
RD1 is fixed max 2.5 ns. RD5 is programmable (programmable wait states) bu the lowest (max) value is 2*12.5 - 7.2 = 17.8 ns (WAITRD = 1..32, WAITOEN=0..)
Most likely the limiting time is defined by RD2 + RD4 + RD7.
With the max values (with lowest delays programmed) being: 2.5 + (2*12.5-1) + <tbd> = 26.5 + <tbd> ns.
We actually would need NXP's knowledge here but I am guessing (I did not read the complete spec & user manual) that all memory accesses are clocked by Tcy. I am also guessing that RD7 is some very low value.
With RD2+RD4 being more than 2 and less than 3 Tcy cycles I am guessing that the highest achievable speed is at 37.5 ns. For a burst read this could be 25 ns.
The <tbd> in the datasheet worries me only a little bit, these timings may look critical but when you look at the pictures in more detail you'll notice that those are not the critical timings that should be of concern.
Still ... it is not nice to see those and the datasheet is marked as "Objective data sheet" meaning that this is not the final product data sheet.
I'm hoping that NXP can clear these TBD items - and maybe even give still more detail.
Regards,
[INDENT]Rob
[/INDENT]