English
Language : 

MC9S08EL32 Datasheet, PDF (214/356 Pages) Freescale Semiconductor, Inc – 8-Bit HCS08 Central Processor Unit (CPU)
PROCESS
REQUEST MESSAGE
EXTENDED FRAME Y
?
N
1. CLEAR SLCF
2. LOAD DATA INTO MESSAGE BUFFER
3. WRITE SLCDLC FOR THIS ID
1n00 0xxx
(TXGO = 1)
(CHKMOD = n)
1. CLEAR SLCF
2. INITIALIZE SW BYTE COUNT
3. LOAD FIRST 8 DATA BYTES
4. WRITE SLCDLC FOR THIS ID
1nxx xxxx
(TXGO = 1)
(CHKMOD = n)
EXIT ISR
EXIT ISR
PROCESS ERROR CODE:
BYTE FRAMING ERROR
BIT-ERROR
CHECKSUM-ERROR
CLEAR SLCF
EXIT ISR
RETURN TO IDLE
INTERRUPT
READ SLCSV
Y
ERROR CODE
?
N
TRANSMIT COMPLETE
CLEAR SLCF
INTERRUPT
READ SLCSV
ERROR CODE
Y
?
N
DECREMENT SW BYTE COUNT BY 8
CLEAR SLCF
PROCESS ERROR CODE:
BYTE FRAMING ERROR
BIT-ERROR
CLEAR SLCF
EXIT ISR
RETURN TO IDLE
LAST FRAME N
(SW BYTE COUNT <8)
?
Y
1. LOAD LAST (<8) BYTES TO TRANSMIT
2. WRITE TXGO BIT TO START TRANSMIT(1)
1. LOAD NEXT 8 BYTES TO TRANSMIT
2. WRITE TXGO BIT TO START TRANSMIT(1)
Note 1. When writing TXGO bit only, ensure that CHKMOD and data length values are not accidentally modified.
Figure 12-16. Handling Request LIN Message Frames
The next SLIC interrupt which occurs, if unmasked, will indicate the end of the request message frame and
will either indicate that the frame was properly transmitted or that an error was encountered during
transmission. Refer to Section 12.6.9.4, “Possible Errors on Request Message Data,” for more detailed
explanation of these possible errors. This interrupt also signals to the application that the message frame
is complete and all data bytes and the checksum value have been properly transmitted onto the bus.
MC9S08EL32 Series and MC9S08SL16 Series Data Sheet, Rev. 3
216
Freescale Semiconductor