mc68hc916y3 Freescale Semiconductor, Inc, mc68hc916y3 Datasheet - Page 259

no-image

mc68hc916y3

Manufacturer Part Number
mc68hc916y3
Description
Mc68hc16y3 16 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
11.4.3.2 Serial Formats
11.4.3.3 Baud Clock
MC68HC16Y3/916Y3
USER’S MANUAL
All data frames must have a start bit and at least one stop bit. Receiving and transmit-
ting devices must use the same data frame format. The SCI provides hardware sup-
port for both 10-bit and 11-bit frames. The M bit in SCCR1 specifies the number of bits
per frame.
The most common data frame format for NRZ serial interfaces is one start bit, eight
data bits (LSB first), and one stop bit; a total of 10 bits. The most common 11-bit data
frame contains one start bit, eight data bits, a parity or control bit, and one stop bit.
Ten-bit and eleven-bit frames are shown in Table 11-4.
The SCI baud rate is programmed by writing a 13-bit value to the SCBR field in SCI
control register zero (SCCR0). The baud rate is derived from the MCU system clock
by a modulus counter. Writing a value of zero to SCBR[12:0] disables the baud rate
generator. Baud rate is calculated as follows:
• Frame — A complete unit of serial information. The SCI can use 10-bit or 11-bit
• Data Frame — A start bit, a specified number of data or information bits, and at
• Idle Frame — A frame that consists of consecutive ones. An idle frame has no
• Break Frame — A frame that consists of consecutive zeros. A break frame has
frames.
least one stop bit.
start bit.
no stop bits.
Start
Start
1
1
1
1
1
Freescale Semiconductor, Inc.
For More Information On This Product,
SCBR[12:0]
Table 11-4 Serial Frame Formats
SCI Baud Rate
QUEUED SERIAL MODULE
Go to: www.freescale.com
Data
Data
7
7
8
7
8
10-Bit Frames
11-Bit Frames
=
-------------------------------------------------------------------------- -
32 SCI Baud Rate Desired
Parity/Control
Parity/Control
=
or
------------------------------------------- -
32 SCBR[12:0]
1
1
1
f
sys
f
sys
Stop
Stop
2
1
1
2
1
MOTOROLA
11-27

Related parts for mc68hc916y3