QUEUED SERIAL MODULE
MC68332
6-16
USER’S MANUAL
Figure 6-6 Flowchart of QSPI Slave Operation (Part 2)
ASSERT SPIF
STATUS FLAG
INTERRUPT CPU
IS INTERRUPT
ENABLE BIT SPIFIE
ASSERTED
IS WRAP
ENABLE BIT
ASSERTED
YES
NO
RESET WORKING QUEUE
POINTER TO NEWQP OR $0000
DISABLE QSPI
A1
INCREMENT WORKING
QUEUE POINTER
IS HALT
OR FREEZE
ASSERTED
A2
HALT QSPI AND
ASSERT HALTA
IS INTERRUPT
ENABLE BIT HMIE
ASSERTED
INTERRUPT CPU
IS HALT
OR FREEZE
ASSERTED
C
IS THIS THE
LAST COMMAND
IN THE QUEUE
QSPI FLOW 6
?
?
?
YES
NO
?
?
?
YES
YES
NO
NO
YES
NO
YES
NO
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..