Raw ISO/KW2K/LIN Tx Complete or Error Status - Intrepidcs API
Main

Overview

Besides received messages, the ISO/KW2K/LIN channel will forward additional event information to the host. These events includes transmit completion and errors. Table 1 and Table 2 below details the received frame format.

There are many errors possible on the LIN bus. Please see the neoVI online help for descriptions of the possible errors listed in byte 5 in Table 1 below.

 

Table 1 - LIN Error Receive Frame Format

BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 Byte 6

Byte 7

NETID_ISO TIMESTAMP
MSB
TIMESTAMP LSB

See Table 2 below

00 = TRANSMIT COMPLETE

ISO_LIN_SYNC_BRK_ERR
ISO_LIN_SYNC_WAV_ERR 
ISO_LIN_MSG_ID_PRTY 
ISO_LIN_CHKSUM_ERR 
ISO_LIN_TFMAX_ERR 
ISO_LIN_BIT_ERROR 
ISO_LIN_SYNC_LEN_ERR

 

For Transmit Complete:

DESCRIPTION ID MSB

 

For Transmit Complete:

DESCRIPTION ID LSB

 

Table 2 - Byte 4 for a Receive Frame

b7 b6 b5 b4
 

Must be one for status message

0 = No Overflow

1 = Rx Overflow

Reserved

Lower Nibble

Number of Bytes to follow 

 

 

intrepidcs API   Documentation - (C) Copyright 2000-2012 Intrepid Control Systems, Inc.

Last Update: Thursday, May 22, 2003