EasyManua.ls Logo

NXP Semiconductors MPC5566 - Page 940

NXP Semiconductors MPC5566
1268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Deserial Serial Peripheral Interface (DSPI)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 20-15
5
CPOL
Clock polarity. Selects the inactive state of the serial communications clock (SCKx). This bit is used in both master
and slave mode. For successful communication between serial devices, the devices must have identical clock
polarities. When the continuous selection format is selected (CONT = 1 or DCONT = 1), switching between clock
polarities without stopping the DSPI can cause errors in the transfer due to the peripheral device interpreting the
switch of clock polarity as a valid clock edge. For more information on continuous selection format, see
Section 20.4.7.5, “Continuous Selection Format.”
0 The inactive state value of SCKx is low
1 The inactive state value of SCKx is high
6
CPHA
Clock phase. Selects which edge of SCKx 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.
0 Data is captured on the leading edge of SCKx and changed on the following edge
1 Data is changed on the leading edge of SCKx and captured on the following edge
7
LSBFE
LSB first enable. Selects if the LSB or MSB of the frame is transferred first. This bit is only used in master mode.
0 Data is transferred MSB first
1 Data is transferred LSB first
8–9
PCSSCK
[0:1]
PCSx to SCKx delay prescaler. Selects the prescaler value for the delay between assertion of PCSx and the first
edge of the SCKx. Use in master mode only. The following table lists the prescaler values. The description for bitfield
CSSCK in Ta bl e 2 0- 5 details how to compute the PCS to SCK delay.
10–11
PASC
[0:1]
After SCKx delay prescaler. Selects the prescaler value for the delay between the last edge of SCKx and the negation
of PCSx. Use in master mode only. The following table lists the prescaler values. The description for bitfield ASC in
Ta bl e 2 0- 5 details how to compute the after SCKx delay.
Table 20-5. DSPIx_CTARn Field Description (continued)
Field Description
PCSSCK
Value
PCSx to SCKx Delay
Prescaler Value
00 1
01 3
10 5
11 7
PASC
Value
After SCKx Delay
Prescaler Value
00 1
01 3
10 5
11 7

Table of Contents

Related product manuals