English
Language : 

S9S08SL8F1CTJ Datasheet, PDF (200/356 Pages) Freescale Semiconductor, Inc – provides the functional version of the on-chip modules
12.3.6 SLIC Data Length Code Register (SLCDLC)
The SLIC data length code register (SLCDLC) is the primary functional control register for the SLIC
module during normal LIN operations. It contains the data length code of the message buffer, indicating
how many bytes of data are to be sent or received, as well as the checksum mode control and transmit
enabling bit.
R
W
Reset
7
TXGO
0
6
CHKMOD
5
DLC5
4
DLC4
3
DLC3
2
DLC2
0
0
0
0
0
Figure 12-10. SLIC Data Length Code Register (SLCDLC)
1
DLC1
0
0
DLC0
0
Table 12-10. SLCDLC Field Descriptions
Field
Description
7
TXGO
SLIC Transmit Go — This bit controls whether the SLIC module is sending or receiving data bytes. This bit is
automatically reset to 0 after a transmit operation is complete or an error is encountered and transmission has
been aborted.
0 SLIC receive data
1 Initiate SLIC transmit— The SLIC assumes the user has loaded the proper data into the message buffer and
will begin transmitting the number of bytes indicated in the SLCDLC bits. If the number of bytes is greater than
8, the first 8 bytes will be transmitted and an interrupt will be triggered (if unmasked) for the user to enter the
next bytes of the message. If the number of bytes is 8 or fewer, the SLIC will transmit the appropriate number
of bytes and automatically append the checksum to the transmission. If IMSG or TXABRT are set or the SLCF
flag is set, writes to TXGO will have no effect.
6
CHKMOD
LIN Checksum Mode — CHKMOD is used to decide what checksum method to use for this message frame.
Resets after error code or message frame complete. CHKMOD must be written (124 desired) only after the
reception of an identifier and before the reception or transmission of data bytes. Writing this bit to a one clears
the current checksum calculation.
0 Checksum calculated 119 the identifier byte included
(SAE J2602/LIN 2.0)
1 Checksum calculated without the identifier byte (LIN spec <= 1.3)
5:0
Data Length Control Bits — The value of the bits indicate the number of data bytes in message. Values
DLC 0x00–0x07 are for “normal” LIN messaging. Values 0x08–0x3F are for “extended” LIN messaging. See
Table 12-11.
Table 12-11. Data Length Control
DLC[5:0]
0x00
0x01
0x02
...
0x3D
0x3E
0x3F
Message Data Length (Number of Bytes)
1
2
3
...
62
63
64
MC9S08EL32 Series and MC9S08SL16 Series Data Sheet, Rev. 3
202
Freescale Semiconductor