Queued Serial Multi-Channel Module
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
15-67
15.8.6
Example QSCI1 Transmit for 17 Data Bytes
below shows a transmission of 17 data frames. The bold type indicates the current value for
QTPNT and QPEND. The italic type indicates the action just performed by hardware. Regular type
indicates the actions that should be performed by software before the next event.
Figure 15-36. Queue Transmit Example for 17 Data Bytes
0000
0111
1000
1111
QTPNT
QPEND
1111
1000
0111
0000
QTSZ=1111 (16 Data Frames)
SCTQ0
SCTQ7
SCTQ8
SCTQ15
Write New QTSZ for When Wrap Occurs
QTSZ=0 (16+1=17),Set QTWE, Clear QTHE
Write SCTQ0 for 17th Transfer
0000
0111
1000
1111
QTPNT
QPEND
0000
QTSZ=0000 (1 Data Frame)
SCTQ0
SCTQ7
SCTQ8
SCTQ15
Load QPEND with QTSZ (0)
Reset QTPNT
0000
0111
1000
1111
QTPNT
QPEND
1111
1000
0111
0000
QTSZ=1111 (16 Data Frames)
SCTQ0
SCTQ7
SCTQ8
SCTQ15
Data to be transferred
Available register space
0001
1111
QTHE Interrupt Received
Transmit Queue Enabled
1
2
3
QBHE Interrupt Received
(Wrap Occurred)
Clear QTWE
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...