
Deserial – Serial Peripheral Interface (DSPI)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
30-31
30.4.1.5
Debug Mode
The debug mode is used for system development and debugging. If the MCU enters debug mode while the
FRZ bit in the DSPI_MCR is set, the DSPI stops all serial transfers and enters a stopped state. If the MCU
enters debug mode while the FRZ bit is negated, the DSPI behavior is unaffected and remains dictated by
the module-specific mode and configuration of the DSPI. The DSPI enters debug mode when a debug
request is asserted by an external controller. See
30.4.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_SR is negated in this state. In the running state, serial transfers take place. The TXRXS bit
in the DSPI_SR is asserted in the running state.
shows a state diagram of the start and stop
mechanism. The transitions are described in
.
Figure 30-19. DSPI Start and Stop State Diagram
State transitions from running to stopped occur on the next frame boundary if a transfer is in progress, or
on the next system clock cycle if no transfers are in progress.
Table 30-24. State Transitions for Start and Stop of DSPI Transfers
Transition #
Current State
Next State
Description
0
Reset
Stopped
Generic power-on-reset transition
1
Stopped
Running
The DSPI is started (DSPI transitions to running) when all of the following
conditions are true:
• EOQF bit is clear
• Debug mode is unselected or the FRZ bit is clear
• HALT bit is clear
2
Running
Stopped
The DSPI stops (transitions from running to stopped) after the current frame for
any one of the following conditions:
• EOQF bit is set
• Debug mode is selected and the FRZ bit is set
• HALT bit is set
Running
TXRXS = 1
Stopped
TXRXS = 0
Reset
Power-on-Reset
0
1
2
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...