Technical Reference Manual 002-29852 Rev. *B
18.13.3.2 LIN_CH_CTL1
Description:
Control 1
Address:
0x40508004
Offset:
0x4
Retention:
Retained
IsDeepSleep:
No
Comment:
A master node is aware of a message's checksum mode and number of data fields. Therefore,
a master node can set the CHECKSUM_ENHANCED and DATA_NR fields accordingly,
BEFORE the message header transmission.
A slave node needs to derive a message's checksum mode and number of data fields from the
received PID field, AFTER the message header reception. The INTR.RX_HEADER_DONE
interrupt cause indicates that the message header is received and PID_CHECKSUM.PID
contains the received PID field. Slave node SW can use this PID field information to set
CHECKSUM_ENHANCED and DATA_NR fields accordingly. A minimum message response
consists of at least 1 data field, and the CHECKSUM_ENHANCED and DATA_NR fields need
to be set BEFORE the receipt of the STOP bit(s) of the first data field; i.e. SW effectively has a
data field transfer duration to set the fields.
Default:
0x0
Bit-field Table
Bits 7 6 5 4 3 2 1 0
Name None [7:3] DATA_NR [2:0]
Bits 15 14 13 12 11 10 9 8
Name None [15:9] CHECKSUM
_
ENHANCED
[8:8]
Bits 23 22 21 20 19 18 17 16
Name FRAME_TIMEOUT [23:16]
Bits 31 30 29 28 27 26 25 24
Name None [31:26] FRAME_TIMEOUT_SEL
[25:24]
Bit-fields
Bits Name SW HW Default or
Enum
Description
0:2 DATA_NR RW R Undefined Number of data fields (minus 1) in the response (not
including the checksum):
'0': 1 data field.
'1': 2 data fields.
...
'7': 8 data fields.
Note: master and slave nodes need to agree upon the
number of data fields before message transfer.
In RX_RESPONSE case, When PID (header) is
received, firmware has the time of one response data
byte, to modify CTL1.DATA_NR.
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers