![NXP Semiconductors MPC5605BK Reference Manual Download Page 635](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852635.webp)
Chapter 26 Deserial Serial Peripheral Interface (DSPI)
MPC5606BK Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
633
When the CONT = 1 and the CS signal for the next transfer is the same as for the current transfer, the CS
signal remains asserted for the duration of the two transfers. The delay between transfers (t
DT
) is not
inserted between the transfers.
shows the timing diagram for two 4-bit transfers with CPHA = 1 and CONT = 1.
Figure 26-21. Example of continuous transfer (CPHA = 1, CONT = 1)
, the period length at the start of the next transfer is the sum of t
ASC
and t
CSC
; that is, it
does not include a half-clock period. The default settings for these provide a total of four system clocks.
In many situations, t
ASC
and t
CSC
must be increased if a full half-clock period is required.
Switching CTARs between frames while using continuous selection can cause errors in the transfer. The
CS signal must be negated before CTAR is switched.
When the CONT bit = 1 and the CS signals for the next transfer are different from the present transfer, the
CS signals behave as if the CONT bit was not set.
NOTE
You must fill the TXFIFO with the number of entries that will be
concatenated together under one PCS assertion for both master and slave
before the TXFIFO becomes empty. For example; while transmitting in
master mode, ensure that the last entry in the TXFIFO, after which TXFIFO
becomes empty, has CONT = 0 in the command frame.
When operating in slave mode, ensure that when the last entry in the
TXFIFO is completely transmitted (i.e. the corresponding TCF flag is
asserted and TXFIFO is empty) the slave is deselected for any further serial
communication; otherwise, an underflow error occurs.
26.6.5.6
Clock polarity switching between DSPI transfers
If it is desired to switch polarity between non-continuous DSPI frames, the edge generated by the change
in the idle state of the clock occurs one system clock before the assertion of the chip select for the next
frame.
SCK
(CPOL = 0)
CS
t
ASC
SCK
(CPOL = 1)
Master SOUT
t
CSC
t
CSC
t
CSC
= CS to SCK delay.
t
ASC
= After SCK delay.
Master SIN
Summary of Contents for MPC5605BK
Page 2: ...This page is intentionally left blank...
Page 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Page 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Page 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Page 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Page 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Page 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Page 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...