M68HC16 Z SERIES
QUEUED SERIAL MODULE
USER’S MANUAL
9-15
Figure 9-9 Flowchart of QSPI Slave Operation (Part 2)
ASSERT SPIF
STATUS FLAG
REQUEST INTERRUPT
IS INTERRUPT
ENABLE BIT
SPIFIE ASSERTED
IS WRAP
ENABLE BIT
ASSERTED
Y
N
RESET WORKING QUEUE
POINTER TO NEWQP OR $0000
Y
DISABLE QSPI
A2
N
INCREMENT WORKING
QUEUE POINTER
N
IS HALT
OR FREEZE
ASSERTED
A2
HALT QSPI AND
ASSERT HALTA
N
IS INTERRUPT
ENABLE BIT
HMIE ASSERTED
REQUEST INTERRUPT
Y
Y
N
IS HALT
OR FREEZE
ASSERTED
C2
Y
N
Y
IS THIS THE
LAST COMMAND
IN THE QUEUE
QSPI SLV2 FLOW 6
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
.
..