Datasheet

Table Of Contents
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...