MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
Freescale Semiconductor
20-11
20.3.2.2
DSPI Transfer Count Register (DSPIx_TCR)
The DSPI
x
_TCR contains a counter that indicates the number of SPI transfers made. The transfer counter
is intended to assist in queue management. The user must not write to the DSPI
x
_TCR while the DSPI is
running.
20.3.2.3
DSPI Clock and Transfer Attributes Registers 0–7 (DSPIx_CTARn)
The MPC5553/MPC5554 DSPI modules each contain eight clock and transfer attribute registers
(DSPI
x
_CTAR
n
) which are used to define different transfer attribute configurations. Each DSPI
x
_CTAR
controls:
•
Frame size
•
Baud rate and transfer delay values
•
Clock phase
•
Clock polarity
•
MSB/LSB first
DSPI
x
_CTARs support compatibility with the QSPI module in the MPC5xx family of MCUs. See
Section 20.5.4, “MPC5xx QSPI Compatibility with the DSPI
,” for a discussion on DSPI/QSPI
compatibility. At the initiation of an SPI or DSI transfer, control logic selects the DSPI
x
_CTAR that
contains the transfer’s attributes. The user must not write to the DSPI
x
_CTARs while the DSPI is running.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
SPI_TCNT
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reg Addr
Base + 0x0008
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reg Addr
Base + 0x0008
Figure 20-4. DSPI Transfer Count Register (DSPIx_TCR)
Table 20-4. DSPIx_TCR Field Descriptions
Bits
Name
Description
0–15
SPI_TCNT
[0:15]
SPI transfer counter. Counts the number of SPI transfers the DSPI makes. The
SPI_TCNT field is incremented every time the last bit of an SPI frame is transmitted.
A value written to SPI_TCNT presets the counter to that value. SPI_TCNT is reset to
zero at the beginning of the frame when the CTCNT field is set in the executing SPI
command. The transfer counter ‘wraps around,’ incrementing the counter past 65535
resets the counter to zero.
16–31
—
Reserved.
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...