When idle-line wake-up is used, a full character time of idle (logic 1) is needed between
messages to wake up any sleeping receivers. Normally, a program would wait for
SCI_S1[TDRE] to become set to indicate the last character of a message has moved to
the transmit shifter, then write 0 and then write 1 to the SCI_C2[TE] bit. This action
queues an idle character to be sent as soon as the shifter is available. As long as the
character in the shifter does not finish while SCI_C2[TE] is cleared, the SCI transmitter
never actually releases control of the TxD pin. If there is a possibility of the shifter
finishing while SCI_C2[TE] is cleared, set the general-purpose I/O controls so the pin
shared with TxD is an output driving a logic 1. This ensures that the TxD line looks like a
normal idle line even if the SCI loses control of the port pin between writing 0 and then 1
to SCI_C2[TE].
The length of the break character is affected by the SCI_S2[BRK13] and SCI_C1[M] as
shown below.
Table 14-3. Break character length
BRK13
M
SBNS
Break character length
0
0
0
10 bit times
0
0
1
11 bit times
0
1
0
11 bit times
0
1
1
12 bit times
1
0
0
13 bit times
1
0
1
14 bit times
1
1
0
14 bit times
1
1
1
15 bit times
14.4.3 Receiver functional description
In this section, the receiver block diagram is a guide for the overall receiver functional
description.
Next, the data sampling technique used to reconstruct receiver data is described in more
detail. Finally, two variations of the receiver wakeup function are explained.
The receiver input is inverted by setting SCI_S2[RXINV]. The receiver is enabled by
setting the SCI_C2[RE] bit. Character frames consist of a start bit of logic 0, eight (or
nine) data bits (lsb first), and one (or two) stop bits of logic 1. For information about 9-bit
data mode, refer to
. For the remainder of this discussion, assume
the SCI is configured for normal 8-bit data mode.
Chapter 14 Serial communications interface (SCI)
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
285
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...