Flash Array and Control
MPC5510 Microcontroller Family Reference Manual, Rev. 1
22-16
Freescale Semiconductor
Preliminary
Offset: FLASH_REG 0x001C (PFCRP0)
FLASH_REG 0x0020 (PFCRP1)
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
LBCFG
ARB
PRI
0
0
0
0
0
M4PFE M3PFE M2PFE M1PFE M0PFE
W
Reset
0
0
1
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
APC
WWSC
RWSC
0
DPFEN
0
IPF
E
N
0
PFLIM
BFEN
W
Reset
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
This bit is only available in PFCRP0. For PFCRP1, treat this bit as reserved.
2
Reset value for port 0 is LBCFG = 0b0000, port 1 is LBCFG = 0b0011
Figure 22-11. PFLASH Configuration Register for Port n (PFCRPn)
Table 22-11. PFCRP0 and PFCRP1 Field Descriptions
Field
Description
LBCFG
Line Buffer Configuration. Controls the configuration of the four line buffers in the PFLASH controller. The buffers
can be organized as a pool of available resources or with a fixed partition between instruction and data buffers.
In all cases, when a buffer miss occurs, it is allocated to the least recently used buffer within the group and the
just-fetched entry then marked as most recently used. If the flash access is for the next sequential line, the buffer
is not marked as most recently used until the given address produces a buffer hit.
For PFCRP0, this field is set to 0b0000 by hardware reset. For PFCRP1, this field is set to 0b0011 by hardware
reset.
xx00 All four buffers are available for any flash access, i.e., there is no partitioning of the buffers based on the
access type
xx01 Reserved
xx10 The buffers are partitioned into two groups: buffers 0 and 1 allocated for instruction fetches and buffers 2
and 3 for data accesses.
xx11 The buffers are partitioned into two groups: buffers 0,1,2 allocated for instruction fetches and buffer 3 for
data accesses.
ARB
Arbitration Mode. This field controls which arbitration mode is used. In both fixed priority or round-robin modes,
write requests are prioritized higher than read requests, and read requests are prioritized higher than speculative
prefetch requests whenever both ports issue concurrent requests. This bit is set to 1 by hardware reset.
0 Fixed-priority arbitration is used; the port specified in PRI has highest fixed priority
1 Round-robin arbitration is used
Note: This bit is only available in PFCRP0. For PFCRP1, treat this bit as reserved.
PRI
Fixed Priority. Controls which port has highest fixed priority when fixed priority arbitration is selected. This field
has no effect when operating in round-robin mode. This bit is cleared by hardware reset.
0 Port p0 is given highest fixed priority.
1 Port p1 is given highest fixed priority.
Note: This bit is only available in PFCRP0. For PFCRP1, treat this bit as reserved.
bits 6–10
Reserved.