Datasheet
Table Of Contents
- List of Sections
- Table of Contents
- General Description
- Central Processing Unit (CPU)
- Pinout and Signal Description
- System Configuration
- Registers
- Operating Modes
- Resource Mapping
- Bus Control and Input/Output
- Resets and Interrupts
- Voltage Regulator (VREG)
- Flash EEPROM 256K
- EEPROM 4K
- Port Integration Module
- Clocks and Reset Generator (CRG)
- Pulse Width Modulator (PWM)
- Enhanced Capture Timer (ECT)
- Serial Communications Interface (SCI)
- Serial Peripheral Interface (SPI)
- Inter-IC Bus (IIC)
- MSCAN
- Analog to Digital Converter
- Byte Data Link Controller Module
- Contents
- Overview
- Features
- Block Diagram
- Register Map
- Functional Description
- Register Descriptions
- External Pin Descriptions
- Reset Initialization/Basic Operation
- Transmitting A Message
- Receiving A Message
- Transmitting An In-Frame Response (IFR)
- Receiving An In-Frame Response (IFR)
- Special BDLC Operations
- Modes of Operation
- Interrupt Operation
- Low Power Options
- Background Debug Module (BDM)
- Breakpoint (BKP) Module
- Revision History
- Glossary
- Literature Updates

Serial Communications Interface (SCI)
MC9S12DP256 — Revision 1.1
Serial Communications Interface (SCI)
NOTE:
In 8-bit data format, only SCI data register low (SCIDRL) needs to be
accessed.
NOTE:
When transmitting in 9-bit data format and using 8-bit write instructions,
write first to SCI data register high (SCIDRH), then SCIDRL.
Functional Description
This section provides a complete functional description of the SCI block,
detailing the operation of the design from the end user perspective in a
number of subsections.
Figure 63 shows the structure of the SCI module. The SCI allows full
duplex, asynchronous, NRZ serial communication between the CPU
and remote devices, including other CPUs. The SCI transmitter and
receiver operate independently, although they use the same baud rate
generator. The CPU monitors the status of the SCI, writes the data to be
transmitted, and processes received data.
Data Format The SCI uses the standard NRZ mark/space data format illustrated in
Figure 65 below.
Figure 65 SCI Data Formats
Each data character is contained in a frame that includes a start bit, eight
or nine data bits, and a stop bit. Clearing the M bit in SCI control register
1 configures the SCI for 8-bit data characters. A frame with eight data
BIT 5
START
BIT
BIT 0 BIT 1
NEXT
STOP
BIT
START
BIT
9-BIT DATA FORMAT
BIT 2 BIT 3 BIT 4 BIT 6 BIT 7
PARITY
OR DATA
BIT
PARITY
OR DATA
BIT
BIT M IN SCICR1 SET
8-BIT DATA FORMAT
BIT M IN SCICR1 CLEAR
BIT 5BIT 0 BIT 1 BIT 2 BIT 3 BIT 4 BIT 6 BIT 7
BIT 8
STOP
BIT
NEXT
START
BIT
START
BIT
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...