Deserial Serial Peripheral Interface (DSPI)
MPC5606S Microcontroller Reference Manual, Rev. 7
314
Freescale Semiconductor
11.8.4.1
Baud rate generator
The baud rate is the frequency of the serial communication clock (SCK_
x
). The system clock is divided
by a baud rate prescaler (defined by DSPI
x
_CTAR[PBR]) and baud rate scaler (defined by
DSPI
x
_CTAR[BR]) to produce SCK_
x
with the possibility of doubling the baud rate. The DBR, PBR, and
BR fields in the DSPI
x
_CTARs select the frequency of SCK_
x
using the following formula:
shows an example of a computed baud rate.
11.8.4.2
CS to SCK delay (t
CSC
)
The CS
_x
to SCK
_x
delay is the length of time from assertion of the CS
_x
signal to the first SCK
_x
edge.
Refer to
for an illustration of the CS
_x
to SCK
_x
delay. The PCSSCK and CSSCK fields in
the DSPI
x
_CTAR
n
registers select the CS
_x
to SCK
_x
delay, and the relationship is expressed by the
following formula:
shows an example of the computed CS to SCK
_x
delay.
11.8.4.3
After SCK delay (t
ASC
)
The after SCK
_x
delay is the length of time between the last edge of SCK
_x
and the negation of CS
_x
.
Refer to
for illustrations of the after SCK
_x
delay. The PASC and ASC
fields in the DSPI
x
_CTAR
n
registers select the after SCK delay. The relationship between these variables
is given in the following formula:
Table 11-19. Baud rate computation example
f
SYS
PBR
Prescaler value
BR
Scaler value
DBR value
Baud rate
100 MHz
0b00
2
0b0000
2
0
25 Mb/s
20 MHz
0b00
2
0b0000
2
1
10 Mb/s
Table 11-20. CS to SCK delay computation example
PCSSCK
Prescaler value
CSSCK
Scaler value
f
SYS
CS to SCK delay
0b01
3
0b0100
32
100 MHz
0.96
s
SCK baud rate
f
SYS
PBRPrescalerValue
----------------------------------------------------------
1
DBR
+
BRScalerValue
--------------------------------------------
=
t
CSC
=
f
SYS
CSSCK
PCSSCK
1
t
ASC
=
f
SYS
ASC
PASC
1
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...