![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 326](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898326.webp)
Chapter 17 Flash Memory
MPC5602P Microcontroller Reference Manual, Rev. 4
326
Freescale Semiconductor
Figure 17-7. 3-cycle access, terminate-and-retry with BK
n
_RWWC = 10
x
shows the terminate-while-write timing diagram. In this example, the 3-cycle access to
address y is interrupted when an operation causes the bk
n
_done signal to be negated, signaling that the
array bank is busy with a high-voltage program or erase event. Based on the setting of BK
n
_RWWC, once
the bk
n
_done signal is detected as negated, the platform Flash controller asserts bk
n
_abort, which forces
the Flash array to cancel the high-voltage program or erase event. The array operation completes (at the
end of cycle 4) and bk
n
_done returns to a logical 1. It should be noted that the time spent in cycle 4 for
is considerably less than the time in the same cycle in
operation). In cycle 6, the platform Flash controller module retries the read to address y that was
interrupted by the negation of bk
n
_done in cycle 3. Note that throughout cycles 2–9, the AHB bus pipeline
is stalled with a read to address y in the AHB data phase and a read to address y+4 in the address phase.
Depending on the state of the least-significant-bit of the BK
n
_RWWC control field, the hardware may also
signal an termination notification interrupt (if BK
n
_RWWC = 100). The stall notification interrupt is
shown as the optional assertion of ECSM’s MIR[FB
n
AI] (Flash bank
n
termination interrupt).
nonseq
seq
addr y
addr y+4
C(y)
C(y+4)
okay
okay
okay
okay
okay
okay
okay
okay
y
C(y)
Burst Read, Abort-and-Retry, APC = 2, RWSC = 2, PFLM = 2
1
2
3
4
5
6
7
8
addr y
seq
addr y+8
y+16
y+16
y
okay
okay
addr y+16
addr y (
retry
)
hclk
htrans
haddr, hprot
hwrite
hrdata
hwdata
hready_out
hresp
bk
n
_fl_addr
bk
n
_fl_rd_en
bk
n
_fl_wr_en
bk
n
_fl_rdata
bk
n
_fl_xfr_err
bk
n
_done
bk
n
_abort
ecsm_mir[fbnsi]
ecsm_mir[fbnai]
9
10