Technical Reference Manual 002-29852 Rev. *B
18.13.3.5 LIN_CH_TX_RX_STATUS
Description:
TX/RX status
Address:
0x40508060
Offset:
0x60
Retention:
Not Retained
IsDeepSleep:
No
Comment:
Default:
0x5000000
Bit-field Table
Bits 7 6 5 4 3 2 1 0
Name SYNC_COUNTER [7:0]
Bits 15 14 13 12 11 10 9 8
Name None [15:8]
Bits 23 22 21 20 19 18 17 16
Name None [23:18] RX_IN
[17:17]
TX_IN
[16:16]
Bits 31 30 29 28 27 26 25 24
Name None [31:27] EN_OUT
[26:26]
None
[25:25]
TX_OUT
[24:24]
Bit-fields
Bits Name SW HW Default or
Enum
Description
0:7 SYNC_COUNTER R W Undefined Synchronization counter in LIN channel clock periods.
After the receipt of a synchronization field, this fields
reflects the duration of the synchronization field.
Ideally, SYNC_COUNTER = 8*16 = 128 (the
synchronization fields consists of eight bit period of 16
LIN channel clock periods each).
- If SYNC_COUNTER is less than 128, the LIN
channel clock is too slow and the PERI/PCLK divider
value should be decreased.
- If SYNC_COUNTER is greater than 128, the LIN
channel clock is too fast and the PERI/PCLK divider
value should be increased.
The biggest master-slave clock discrepancy occurs
when the master is slow and the slave is fast or vice
versa. At a 0.5 percent master inaccuracy and a 14
percent slave inaccuracy, this results in the extreme
synchronization values of (.86 * 128) / 1.005 = 109.5
and (1.14 *128) / 0.995 = 146.6. We add a little margin
for a valid range of [106, 152].
Note: Only slave nodes with imprecise clocks require
clock resynchronization. Master and slave nodes with
precise clocks do NOT require clock
resynchronization.
16 TX_IN R W Undefined LIN transmitter input ('tx_in', 'lin_tx_in' in functional
mode). TX_IN and RX_IN can be used to determine a
wakeup source. Note that wakeup source detection
relies on the external transceiver functionality.
17 RX_IN R W Undefined LIN receiver input ('rx_in', 'lin_rx_in' in functional
mode).
24 TX_OUT R W 1 LIN transmitter output ('tx_out', 'lin_tx_out').
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers