Flash MemoryMPC5606S Microcontroller Reference Manual, Rev. 7Freescale Semiconductor 64717.4.3.2.3 Platform Flash Access Protection Register (PFAPR)The PFLASH Access Protection Register (PFAPR) is used to control read and write accesses to the flashbased on system master number. Prefetching capabilities are defined on a per master basis. This registeralso defines the arbitration mode between the 2 AHB ports for the PFLASH2P_LCA. The register isdescribed below in Figure 17-46 and Table 17-66.B1_RWSC Bank1 Read Wait State Control. This field is used to control the number of wait-states to be addedto the flash array access time for reads. This field must be set to a value corresponding to theoperating frequency of the PFLASH and the actual read access time of the PFLASH. The requiredsettings are documented in the SoC specification. Higher operating frequencies require non-zerosettings for this field for proper flash operation.Shown below are the maximum operating frequencies for legal APC and RWSC settings based onestimated low-cost flash access times at 150C. The integrator is strongly encouraged to verify thesesettings based on actual silicon results.0 MHz, < 23 MHz APC=RWSC=023 MHz, < 45 MHz APC=RWSC=145 MHz, < 68 MHz APC=RWSC=268 MHz, < 90 MHz APC=RWSC=300000 No additional wait-states are added00001 1 additional wait-state is added00010 2 additional wait-states are added...111111 31 additional wait-states are addedThis field is ignored in single bank flash configurations.This field is set to 0b00010 by hardware reset.B1_RWWC Bank1 Read-While-Write Control. This 3-bit field defines the controller response to flash reads whilethe array is busy with a program (write) or erase operation.0-- Terminate any attempted read while write/erase with an error response111 Generate a bus stall for a read while write/erase, disable the stall notification interrupt, disablethe abort + abort notification interrupt110 Generate a bus stall for a read while write/erase, enable the stall notification interrupt, disablethe abort + abort notification interrupt101 Generate a bus stall for a read while write/erase, enable the operation abort, disable the abortnotification interrupt100 Generate a bus stall for a read while write/erase, enable the operation abort and the abortnotification interruptThis field is set to 0b111 by hardware reset enabling the stall-while-write/erase and disabling theabort and notification interrupts.This field is ignored in single bank flash configurations.B1_P1_BFE Bank1, Port 1 Buffer Enable. This bit enables or disables read hits from the 128-bit holding register.It is also used to invalidate the contents of the holding register. This bit is set by hardware reset,enabling the use of the holding register.0 The holding register is disabled from satisfying read requests.1 The holding register is enabled to satisfy read requests on hits.B1_P0_BFE Bank1, Port 0 Buffer Enable. This bit enables or disables read hits from the 128-bit holding register.It is also used to invalidate the contents of the holding register. This bit is set by hardware reset,enabling the use of the holding register.0 The holding register is disabled from satisfying read requests.1 The holding register is enabled to satisfy read requests on hits.Table 17-65. PFLASH Configuration Register 1 field descriptions (continued)Field Description