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

Byte Data Link Controller Module
Transmitting A Message
MC9S12DP256 — Revision 1.1
Byte Data Link Controller Module
Figure 129 Basic BDLC Transmit Flowchart
Enter BDLC
Transmit Routine
Write first message
byte to be transmitted
into DLCBDR
Is DLCBSVR = $00?
Yes
No
Load next byte to be
transmitted into BDR
(clears TDRE)
Is DLCBSVR = $1C?
Yes
No
Is DLCBSVR = $14?
Yes
No
Is DLCBSVR = $10?
Yes
No
(TDRE)
(LOA)
(Invalid Symbol)
Attempt another
Yes
No
transmission?
Is this the last
Yes
No
byte?
Jump to BDLC
Receive Routine
Once BDLC detects
EOF, transmit
Set TEOD bit
in DLCBCR2
attempt is complete
Yes
No
IFR Received?
Jump to Receive IFR
Handling Routine
Exit BDLC
Transmit Routine
Go to BDLC
BREAK/Error Handling
Routine
For interrupt driven
systems, this marks the
beginning of the
transmit section of the
BDLC interrupt service
routine
NOTE: The EOF and CRC Error
interrupts are handled in the BDLC
Receive Routine
C
A
B
C
A
B
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...