Information
SPIx_CTARn field descriptions (continued)
Field Description
Table 43-34. DSPI baud rate scaler (continued)
CTARn[BR] Baud rate scaler value
1111 32768
43.3.4 DSPI Clock and Transfer Attributes Register (In Slave Mode)
(SPIx_CTAR_SLAVE)
When the DSPI is configured as an SPI bus slave, the CTAR0 register is used.
Addresses: SPI0_CTAR0_SLAVE is 4002_C000h base + Ch offset = 4002_C00Ch
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R
FMSZ
CPOL
CPHA
0 0 0
W
Reset
0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SPIx_CTARn_SLAVE field descriptions
Field Description
31–27
FMSZ
Frame Size
The number of bits transfered per frame is equal to the FMSZ field value plus 1. The minimum value of
thisfield is 3.
26
CPOL
Clock Polarity
Selects the inactive state of the Serial Communications Clock (SCK).
0 The inactive state value of SCK is low.
1 The inactive state value of SCK is high.
25
CPHA
Clock Phase
Selects which edge of SCK causes data to change and which edge causes data to be captured. This bit is
used in both master and slave mode. For successful communication between serial devices, the devices
must have identical clock phase settings. In Continuous SCK mode, the bit value is ignored and the
transfers are done as the CPHA bit is set to 1.
0 Data is captured on the leading edge of SCK and changed on the following edge.
1 Data is changed on the leading edge of SCK and captured on the following edge.
24–23
Reserved
This read-only field is reserved and always has the value zero.
Table continues on the next page...
Chapter 43 SPI (DSPI)
K20 Sub-Family Reference Manual, Rev. 2, Feb 2012
Freescale Semiconductor, Inc. 973
