MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
1243
Preliminary—Subject to Change Without Notice
27.4.5.2.2
Frame and Character Transmission
The transmitter starts the transmission of a data frame or special character when the condition for the
start
transition as described in
is fulfilled. There are three source for data or character transmission.
The priority among these source are specified in
. All three sources can be available at one
point in time.
27.4.5.2.3
Application Controlled SCI Data Frame Transmission
The transmission of a data frame is started when the transmitter is in its Ready state and only the commit
bit iCMT is set.
As the first step, the content of the
SCI Data Register High (SCIDRH)
is transferred into the internal transmitter shift register. When this transfer is finished, the
internal commit bit iCMT is cleared and the transmit data register empty flag TDRE in the
is set. If the transmit interrupt enable bit TIE in the
SCI Control Register 2 (SCICR2)
is also set, the TDRE flag generates a transmitter interrupt request.
The transmitter shift register then shifts a frame out through the TXD output signal, which is prefaced with
a start bit and appended with the parity bit, if configured, and the configured number of stop bits.
When the last stop bit has been transmitted and the application has not disabled the transmitter, the
transmitter returns to the Ready state via the
done
transition. If no frame or character transmit request is
pending, the transfer complete flag TC in the
SCI Status Register 1 (SCISR1)
is set.
If the application has disabled the transmitter while the frame is transmitted and stop bit has been
transmitted, the transmitter goes into the Idle state via the
halt
transition. The transfer complete flag TC in
SCI Status Register 1 (SCISR1)
is set and the internal commit bit iCMT is cleared.
Table 27-34. Transmitter Module Transitions
Transition
Condition
Action
Description
start
(State=Ready)
and
(SBK=1 or iPRE=1 or iCMT=1)
TACT:=1
Start of transmission of data frame or special
character when data are available or character
transmission request is pending.
done
State=Run
and
last stop bit transmitted
TACT:=0
TC:=
(SBK & iPRE & TC)
Finished transmission of data frame or special
character and transmitter still enabled. Transmission
is complete if no transmit request is pending.
halt
State=Stop
and
last stop bit transmitted
TACT:=0
TC:=1
iCMT:=0
Finished transmission of data frame or special
character and transmitter was disabled.
Table 27-35. Transmit Source Priority
Priority
Indication
Transmission Source
(highest) 0
SCICR2[SBK]=1
Break character.
1
iPRE=1 Preamble.
(lowest) 2
iCMT=1
SCI Data Register High (SCIDRH)
and
SCI Data Register Low (SCIDRL)
frame.
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...