Deserial Serial Peripheral Interface (DSPI)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
309
11.8.1.2
Slave mode
In Slave mode the DSPI responds to transfers initiated by an SPI master. The DSPI operates as bus slave
when the MSTR bit in the DSPI
x
_MCR is negated. The DSPI slave is selected by a bus master by having
the slave’s CS0_
x
asserted. In Slave mode the SCK is provided by the bus master. All transfer attributes
are controlled by the bus master, except the clock polarity, clock phase, and the number of bits to transfer,
which must be configured in the DSPI slave to communicate correctly.
11.8.1.3
Module Disable mode
The Module Disable mode is used for MCU power management. The clock to the non-memory-mapped
logic in the DSPI is stopped while in Module Disable mode. The DSPI enters the Module Disable mode
when the MDIS bit in DSPI
x
_MCR is set.
Refer to
Section 11.8.8, Power-saving features
, for more details on the Module Disable mode.
11.8.1.4
External Stop mode
For devices with low-power modes, the DSPI supports the Global Signal Stop mode mechanism. The DSPI
will not acknowledge the request to enter External Stop mode until it has reached a frame boundary. When
the DSPI has reached a frame boundary it will halt all operations and indicate that it is ready to have its
clocks shut off. The DSPI exits External Stop mode and resumes normal operation once the clocks are
turned on. Serial communications or register accesses made while in External Stop mode are ignored even
if the clocks have not been shut off yet. See
Section 11.8.8, Power-saving features
, for more details on the
External Stop mode.
11.8.1.5
Debug mode
The debug mode is used for system development and debugging. If the MCU is stopped by a debugger
while the DSPI
x
_MCR[FRZ] bit is set, the DSPI halts operation on the next frame boundary and enters a
stopped state. If the MCU is stopped by a debugger while the FRZ bit is cleared, the DSPI behavior is
unaffected and remains dictated by the module-specific mode and configuration of the DSPI. The FRZ bit
operation is only available when the CPU has an active debug mode.
for a state diagram.
11.8.2
Start and stop of DSPI transfers
The DSPI has two operating states: Stopped and Running. The states are independent of DSPI
configuration. The default state of the DSPI is Stopped. In the Stopped state no serial transfers are initiated
in Master mode and no transfers are responded to in Slave mode. The Stopped state is also a safe state for
writing the various configuration registers of the DSPI without causing undetermined results. The TXRXS
bit in the DSPI
x
_SR is cleared in this state. In the Running state, serial transfers take place. The TXRXS
bit in the DSPI
x
_SR is set in the Running state.
shows a state diagram of the start and stop mechanism.
Содержание 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...