MC908QL4 FREESCALE [Freescale Semiconductor, Inc], MC908QL4 Datasheet - Page 159

no-image

MC908QL4

Manufacturer Part Number
MC908QL4
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC908QL4MDT
Manufacturer:
FREESCALE
Quantity:
10
Part Number:
MC908QL4MDT
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
MC908QL4MDW1
Quantity:
11
(CHKMOD), as well as signal the SLIC that the buffer is ready by writing a 1 to TXGO. TXGO will remain
set to 1 until the buffer is sent successfully or an error is encountered, signaling to the application code
that the buffer is in process of transmitting. In cases of 1–8 data bytes only being sent (standard LIN
request frames), the SLIC automatically calculates and transmits the checksum byte at the end of the
message frame. The user can exit the ISR after SLCDLC has been written and the SLCF flag has been
cleared.
Freescale Semiconductor
Note 1. When writing TXGO bit only, ensure that CHKMOD and data length values are not accidentally modified.
PROCESS ERROR CODE:
BYTE FRAMING ERROR
CHECKSUM-ERROR
RETURN TO IDLE
BIT-ERROR
EXIT ISR
Figure 14-17. Handling Request LIN Message Frames
1. CLEAR SLCF
2. LOAD DATA INTO MESSAGE BUFFER
3. WRITE SLCDLC FOR THIS ID
Y
1n00 0xxx
(TXGO = 1)
(CHKMOD = n)
TRANSMIT COMPLETE
REQUEST MESSAGE
EXTENDED FRAME
ERROR CODE
READ SLCSV
CLEAR SLCF
INTERRUPT
PROCESS
EXIT ISR
N
N
?
?
MC68HC908QL4 Data Sheet, Rev. 7
1. LOAD LAST (£8) BYTES TO TRANSMIT
2. WRITE TXGO BIT TO START TRANSMIT
Y
DECREMENT SW BYTE COUNT BY 8
2. INITIALIZE SW BYTE COUNT
3. LOAD FIRST 8 DATA BYTES
4. WRITE SLCDLC FOR THIS ID
1. CLEAR SLCF
1nxx xxxx
(TXGO = 1)
(CHKMOD = n)
(SW BYTE COUNT £8)
ERROR CODE
READ SLCSV
CLEAR SLCF
LAST FRAME
INTERRUPT
EXIT ISR
N
Y
?
?
(1)
1. LOAD NEXT 8 BYTES TO TRANSMIT
2. WRITE TXGO BIT TO START TRANSMIT
N
Initialization/Application Information
Y
PROCESS ERROR CODE:
BYTE FRAMING ERROR
RETURN TO IDLE
BIT-ERROR
EXIT ISR
(1)
159

Related parts for MC908QL4