Intel® PXA26x Processor Family Developer’s Manual 18-3
Internal Flash
Warni ng: Using a me mory-clock frequency ab ove 133 MHz is not allowed in syn chronous mode with Intel
StrataFlash® memory.
18.1.5 Configuring the Intel StrataFlash® Memory
To configure the Intel StrataFlash® memory for synchronous operation, software must write the
RCR inside the Intel StrataFlash® memory. The RCR value is written over the address lines.
Because the 16- and 32-bit versions of the PXA26x process or family have address lines connected
differently, the address used to set the RCR sett ings for each is different. Also, since the 256/16
version has two memory chips the RCR value has to be written to two addresses.
As per the Intel StrataFlash® memory specification, the RCR val ue is wr itten t wice . The first wr ite
data must be 0x60. The second write data must be 0x03. After the RCR write procedure is
completed, the memory defaults to read-array mode.
See Table18-2 for information on values to program and addresses.
Warni ng: The CAS latency setting within SXCNFG[SXCLx] is one less than the actual setting. For exa mple,
setting SXCNFG[SXCLx]=0b100 gives a CAS latency of 5 clocks. The CAS latency value
programmed into the flash is also one less than the actual setting.
Note: The instructions to do the RCR configuration sequence and the SXCNFG above mus t either be in
RAM or guaranteed not to fetch from the flash during the RCR write/SXCNFG operatio n. This is
accomplished by placing the write instructions on a cache line boundary followed by a branch,
since the PXA26x processor family processor always fetches eig ht i nstr uction s at a ti me, ev en with
the instruction cache off, and the branch forces the pre-fetcher to flush the pipeline, preventing a
fetch until the processor and flash have both reached synchronous mod e .
This code correctly configures the flash into synchronous mode depending on the bus width,
frequency, and size:
Table 18-1. SXCNFG Configuration for Internal Flash
Memory Clock
Frequency SDCLK[0]
Frequency SXCNFG SXLATCH
0SXTP0 SXCA0 SXRA0 SXRL0 SXCL0 SXEN0
100MHz 50MHz 0xXXXX 60F1 1 0b10 0 0 0b111 0b100 0b01
133MHz 66MHz 0xXXXX 60F9 1 0b10 0 0 0b111 0b110 0b01
Table 18-2. RCR Values for Each PXA26x processor family Applicatio ns Processor Version
PXA26x Processor
Family Version Flash Width
100-MHz-Memory Clock 133-MHz-Memory Clock
RCR
Register
Setting
Address to
Write 1st Data
2nd Data
RCR
Register
Setting
Address to
Write 1st Data
2ndData
PXA261 processor 128Mbit
16-Bits Wide 0x25C2 0x4B84 0x0060
0x0003 0x35C2 0x6B84 0x0060
0x0003
PXA262 processor 256Mbit
16-Bits Wide 0x25C2 0x4B84
0x0100 4B84
0x0060
0x0003 0x35C2 0x6B84
0x0100 6B84
0x0060
0x0003
PXA263 processor 256 Mbit
32-Bits Wide 0x25C2 0x9708 0x0060 0060
0x0003 0003 0x35C2 0xD708 0x0060 0060
0x0003 0003