M68HC16 Z SERIES
QUEUED SERIAL MODULE
USER’S MANUAL
9-13
Figure 9-7 Flowchart of QSPI Master Operation (Part 3)
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
A1
N
INCREMENT WORKING
QUEUE POINTER
N
IS HALT
OR FREEZE
ASSERTED
A1
HALT QSPI AND
ASSERT HALTA
N
IS INTERRUPT
ENABLE BIT
HMIE ASSERTED
REQUEST INTERRUPT
Y
Y
N
IS HALT
OR FREEZE
ASSERTED
C1
Y
N
Y
IS THIS THE
LAST COMMAND
IN THE QUEUE
QSPI MSTR3 FLOW 4
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
.
..