DELPHI CORPORATION. LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide

Similar documents
Systems Analysis INterface Tool 2(SAINT2) Programming Reference

DN120 DeviceNet Gateway User Manual

HDV100A3 Command Response Protocol

AVT-718 SDM-AOS Support

emu - Mains Distribution Unit

Gryphon Hardware Information: LIN card

AVT J1939 / J1708 Controller. Interface Control Document and Related Technical Information

QBridge. I2C, SPI, CAN Control Software User s Manual. Date: Rev 1.3

HART 710. User s Manual Version HART-710 User Manual (Version 1.00, July/2010) PAGE: 1

H1PROT.PDF 14 Pages Last Revised 02/11/06. Micro RWD H1/S Protocol

Back to. Communication Products Group. Technical Notes. Local/Remote Control and Functional Description, 1:1 Redundant Switching Unit, One Rack Unit

GNM3D Series COMMUNICATION PROTOCOL. Version 1 Revision 0

RS 232 Interface. RS 232 is the Serial interface on the PC. Three major wires for the Serial interface: Transmit Pin 2 Receive Pin 3

Product Specification for CANbus to DeviceNet Transducer Gateway

Serial Communication. Simplex Half-Duplex Duplex

Bluetooth Serial Adapter

1. Implemented CM11 protocol

ADVANCED VEHICLE TECHNOLOGIES, Inc. AV. AVT-718 LIN Support. Introduction. Firmware. Hardware. Inc.

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n

INTELLIS. Modbus Direct Network Monitor

LDV Communications Specification

CubeSense. An integrated sun and nadir sensor module. Interface Control Document

cctalk Product Manual for Ardac Elite

Embedded Modbus TCP Module GS11-MT. User Manual REV 1.1. SST Automation.

Series 370 Stabil-Ion Gauge Controller with RS-485 Interface Option

Lumio Release Note Lumio Multi-Touch Communication Protocol

V850ES/SG3, V850ES/SJ3

Sequential Event Recorder

BV4615. Dual Interface Zero Keypad. Product specification. Dec 2009 V0.a. ByVac Page 1 of 11

IS-Dev Kit-1 Users Manual

CANopen Interface for SG5 and SG7

Motortronics VirtualSCADA VS2-MT Communication Gateway VS2-MT User Manual Revision

Laboratory 5 Communication Interfaces

CANopen Interface for SG5, SG6 and SG7

sllin TTY discipline for UART-LIN device implementation P. Píša, R. Lisový, M. Sojka Czech Technical University in Prague DRAFT

EX-HDU HDMI, AUDIO & USB EXTENSION

Logosol Joystick Node LS-731

ADT Frame Format Notes (Paul Suhler) ADI ADT Frame Format Proposal (Rod Wideman)

AN1139: CP2615 I/O Protocol

Operator Manual for Profibus

EM100 Series and ET100 Series

EM270 COMMUNICATION PROTOCOL. Version 1 Revision 0

power supply Tamper Detect function will detect possible data modification from outside magnetic

Learn how to communicate

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features

The Wireless Connectivity Expert

Projector Control Command Reference Manual

INSTRUCTION MANUAL RVT communication How to use RS485 USB Ethernet RVT connections

VERIS H8035 and H8036

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3

kcserial User Guide version 2006.FEB.20

MRUC-20 Modul-R CAN Bus Network

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

EM210 COMMUNICATION PROTOCOL. Version 3 Revision 1

Document Name: User Manual for SC10MK, Modbus RTU to Modbus TCP Converter

Bluetooth Embedded Module

ICP PANEL-TEC PEX3000 II

Serial Communications

PIC-I/O Multifunction I/O Controller

Serial I-O for Dinesh K. Sharma Electrical Engineering Department I.I.T. Bombay Mumbai (version 14/10/07)

LM058 Bluetooth Serial Adapter

EM23-DIN COMMUNICATION PROTOCOL. Version 0 Revision 0

ELE492 Embedded System Design

BM1001 & BM2001 Serial & USB Adaptor

EM24-DIN PFA, PFB & X models

EHAG 125 khz Multitag Reader Module ME-H10101xx

Digital Storage Oscilloscope

HRT-710. User s Manual Version HRT-710 User Manual (Version 1.23, Dec/2012) PAGE: 1

Micro RWD Quad-Tag Reader

EM300 Series. ET300 Series

DS 1682 Total Elapsed Time Recorder with Alarm

BOARD LEVEL PRODUCTS GPIB<->RS-422/RS-485 INTERFACE BOARD

Serial Interfacing. Asynchronous Frame

EDBG. Description. Programmers and Debuggers USER GUIDE

Integrated Device Technology, Inc Stender Way, Santa Clara, CA Phone #: (408) Fax #: (408) Errata Notification

Micro RWD H2 Protocol

ADVANCED VEHICLE TECHNOLOGIES, Inc. AV. AVT-718 KIE Support. Introduction. Hardware. Firmware. Inc.

Description of options. user s manual. DEIF A/S Frisenborgvej 33 DK-7800 Skive Tel.: Fax:

SCSI is often the best choice of bus for high-specification systems. It has many advantages over IDE, these include:

DatraxRF Spread Spectrum Wireless Modem

EM210 COMMUNICATION PROTOCOL. Version 3 Revision 3

OEM API Specification

DS1676 Total Elapsed Time Recorder, Erasable

19.1. Unit 19. Serial Communications

The Omega product you have just received is of the highest quality available, offering superior performance, reliability and value to the user.

ICS Regent. Communications Package for W INTERPRET. Guarded Peer-Link Communications (T3831) PD-6041

New Eagle Data Logger

EM21 COMMUNICATION PROTOCOL. Version 1 Revision 0

General Remote Interface Description. en General Remote Interface Description

JMY505G User's Manual

UART TO SPI SPECIFICATION

ib technology Data Sheet RWD_QT_LP_ pdf 20 Pages Last Revised 03/05/2018 Micro RWD Quad-Tag (low power) Reader

CDN067 DEVICENET SPECIFICATIONS

SAINT2. System Analysis Interface Tool 2. Emulation User Guide. Version 2.5. May 27, Copyright Delphi Automotive Systems Corporation 2009, 2010

MCS-51 Serial Port A T 8 9 C 5 2 1

Installation and operation manual ReciFlow Gas

W25X05CL/10CL/20CL 2.5 / 3 / 3.3 V 512K / 1M / 2M-BIT SERIAL FLASH MEMORY WITH 4KB SECTORS AND DUAL I/O SPI

User Manual V1.1 Date: WiFi RS-232 Adapter. Red LED: IP Address Blue LED: TX/RX 5V Out (Pin 9)

EN25S20A (2SF) 2 Megabit 1.8V Serial Flash Memory with 4Kbyte Uniform Sector

Transcription:

DELPHI CORPORATION LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide Document Number TBD Version D, Draft 1 August 15, 2003 Copyright Delphi Corporation, 2003 Maintained by: Chris Spurrier Delphi Delco Electronics Systems 1800 East Lincoln Road Kokomo, IN 46904-9005 Phone: (765) 451-3645 christopher.spurrier@delphiauto.com

LIN to RS-232 Gateway 8/28/02 Page 1 of 21 SAINT Table of Contents 1 Introduction...3 1.1 Scope...3 1.2 Precedence...3 1.3 Definitions and Nomenclature...3 2 Overview...4 3 RS-232 Setup...5 3.1 Buffering and Flow Control...6 4 Message Format...7 4.1 Data Stream...7 4.2 Messages IDs...8 4.3 Gateway Messages...9 4.4 LIN Messages...12 5 Connectors...17 5.1 RS-232 Connector (J3-DB9F)...17 5.2 Flash programming connector...18 6 LEDs...19 7 Software Packages...20

LIN to RS-232 Gateway 8/28/02 Page 2 of 21 SAINT Revision A Draft 1 August 28, 2002 Initial release of the document. Revision Log Revision B Draft 1 October 10, 2002 Added more definition to document for various modes, etc. Added documentation for lin uartil monitor mode. Revision C Draft 1 December 04, 2002 Added documentation for lin trigger control commands. Revision D Draft 1 August 15, 2003 Modified lin baudrate command.

LIN to RS-232 Gateway 8/28/02 Page 3 of 21 SAINT 1 Introduction 1.1 Scope This document describes the use and operation of SAINT Gateway with LIN firmware. This document is proprietary to Delphi Automotive Systems Corporation and cannot be copied in whole or in part without the express written consent of Delphi Automotive Systems Corporation. 1.2 Precedence This document shall have precedence over any information in any other document. Between reference documents, the document with the later revision date shall have precedence. 1.3 Definitions and Nomenclature Gateway - abbreviation for LIN to RS-232 Gateway. SAINT - acronym for the gateway (Systems Analysis INterface Tool). Host - The computer which communicates to the gateway via RS-232 or USB. USB - Universal Serial Bus LIN - Local Interconnect Network Protocol

LIN to RS-232 Gateway 8/28/02 Page 4 of 21 SAINT 2 Overview This document describes the operation of the LIN to RS-232 Gateway. The gateway is often referred to as the SAINT gateway or simply SAINT. The following is a synopsis of gateway features: Allows host system to communicate on LIN bus. Performs timing, access, serialization, and error control. Configuration via host to gateway messages. LED status indicator array: 1. Power LED (flashing LED) 2. Bus Message LED (toggles during transmit of Gateway to Host message) 3. Message Trigger LED (toggles upon receiving a specified byte pattern) Gateway to host status / error messages. Software is easily updated via a flash connector. Will eventually be done through the USB bus. The following is a synopsis of requirements for use of the gateway: Connection to power, ground, and busses to be monitored RS-232 connection to host

LIN to RS-232 Gateway 8/28/02 Page 5 of 21 SAINT 3 RS-232 Setup The gateway uses the following RS-232 parameters: - 8 Data Bits - 1 Stop Bit - No Parity The gateway supported baud rate: 57600. Baud Rate 57600 The supported baud rate is sufficient for communicating with the Class2, Keyword, ACP, BEAN, E&C, LIN and slower CAN bus s. However, USB connection is recommended for high speed CAN communications.

LIN to RS-232 Gateway 8/28/02 Page 6 of 21 SAINT 3.1 Buffering and Flow Control Whenever the gateway receives a new message from the host, it will set the CTS line until the message can be processed. The host should not send data to the gateway while the CTS line is set. Due to the speed of the gateway processor, it is unlikely that the host will ever see the CTS line set. The gateway buffers 32 bytes to send to the host. The gateway polls the RS-232 transmitter in the main loop to send data to the host. In some cases, the RS-232 transmit buffer will overflow. This should occur only when receiving CAN or IIC messages at a very fast rate. This will cause an ERc_RSFull error to be generated and the data to be lost.

LIN to RS-232 Gateway 8/28/02 Page 7 of 21 SAINT 4 Message Format To minimize latency with the RS-232 link, all data is sent in binary form. The same data format is used to send and receive messages. The gateway supports bi-directional asynchronous communications. 4.1 Data Stream The host data stream is broken into messages. A message consists of a Message ID and one or more data bytes. The character FFh is used as an ESCAPE character to indicate the end of messages. There are three cases when an ESCAPE character is received. If the ESCAPE character is followed immediately by a second ESCAPE character, the following are true: The message is not yet complete. The pair of ESCAPE characters represents a single byte of message data of value FFh. If the ESCAPE character is followed immediately by a byte of value 00h, the following are true. The message is complete. Neither the FFh nor the 00h are part of the message. No more messages are ready to be sent. If the ESCAPE character is followed immediately by of any value other than FFh or 00h, the following are true: The message is complete. Neither the ESCAPE character nor the character following the ESCAPE character are part of the message. The value following the ESCAPE character is the message ID for a new message. This data stream format was chosen to allow arbitrary long messages (i.e. 4K Class 2 data blocks), to minimize the overhead to two bytes per message during peak traffic, and to immediately recognize the end of a message without having to wait for the next message to start. After a gateway reset, the gateway will ignore all data until it sees an ESCAPE character. Once it has received a valid EOM, it will recognize the following message.

LIN to RS-232 Gateway 8/28/02 Page 8 of 21 SAINT 4.2 Messages IDs Message IDs are one byte long and have the following general format: Type (CAN, BEAN, ACP,Class 2, IIC, etc) Command (Cmd=1) Tx (1) / Rx (0) Time Stamp (TS) Bits 3-7 bit 2 bit 1 bit 0 The upper nibble indicates the type of message. The following types are defined: Gateway (08) Keyword 82 (10h) Keyword 71 (18h) IIC (20h) Keyword 2000 (28h) IDB (30) ACP (38h) E&C (40h) J1708 (48h) CAN (50h) Class2 (60h) Class2 Block (68h) SPI (70h) BEAN1 (90h) BEAN2 (98h) LIN (B8h) Bits 3 to 7 identify the specific communication bus (i.e., Class 2, CAN bus, etc.). Bit 2 is used to designate a command or setup message when set to 1. Bit 1 is the transmit/receive bit with 1 designating transmit and 0 designating receive. Bit 0 is used to designate the Time Stamp. In general, report messages from the gateway use the same identifiers as commands to the gateway.

LIN to RS-232 Gateway 8/28/02 Page 9 of 21 SAINT 4.3 Gateway Messages 4.3.1 Gateway Commands (LIN V1.2) The SAINT - LIN Gateway supports the following commands: Header ID Data Description 08h 02h None Gateway Bus Receiver On (LIN) 08h 03h None Gateway Bus Receiver Off (LIN) 08h 80h None Perform Reset 08h 86h None Turn Time Stamp Information OFF 08h 87h None Turn Time Stamp Information ON 08h 88h None Turn Transmit Echo ON 08h 89h None Turn Transmit Echo OFF 08h 90h 63 bytes Send Periodic Messages 08h 91h None End Periodic Messages 08h 92h None Request Software Version 08h F0h 1 9 bytes Enable Gateway Trigger 08h F1h None Disable Gateway Trigger 4.3.1.1 Gateway Bus Receiver This command will enable/disable the LIN receiver to avoid receiving messages. The LIN transmitter is always enabled. 4.3.1.2 Reset This command will cause the gateway to do a complete cold start. The gateway will ignore the next message. 4.3.1.3 Time Stamp This command controls whether a 16-bit time stamp is appended to the end of the bus message reports. 4.3.1.4 Transmit Echo This command controls whether transmitted messages are echoed back to the host when they are sent. Echoed back messages will have their transmit bit set. 4.3.1.5 Send Periodic Messages (valid in master mode only!) This command will transmit up to six LIN messages periodically in Master mode only. See example below. Example for sending LIN Master periodic messages: 08 90 TT TT B8 +

LIN to RS-232 Gateway 8/28/02 Page 10 of 21 Message1 (length byte + identifier byte + 8 response bytes) + Message2 (length byte + identifier byte + 8 response bytes) + Message3 (length byte + identifier byte + 8 response bytes) + Message4 (length byte + identifier byte + 8 response bytes) + Message5 (length byte + identifier byte + 8 response bytes) + Message6 (length byte + identifier byte + 8 response bytes) Where TT is the periodic time in milliseconds from message to message (0001h - FFFFh), length byte is the length of the message (00h, 01h, 03h, 05h, 09h, or FFh), identifier byte is an acceptable LIN protocol identifier, and response bytes is the identifier response (2, 4, or 8 bytes). If a message only consists of an identifier then the length byte will be 01h and the response bytes must be filled in with zeros. If a message consists of an identifier and a two-byte response then the length byte will be 03h and the first two response bytes will be the valid response and the rest of the response bytes will be zeros. If a message consists of an identifier and a four-byte response then the length byte will be 05h and the first four response bytes will be the valid response and the rest of the response bytes will be zeros. If a message consists of an identifier and an eight-byte response then the length byte will be 09h and all eight of the response bytes will be the valid response. If the length byte for any message is set to 00h, that message is skipped. If the length byte of any message is set to FFh, that marks the end of the table if six messages are not provided and that message is not sent (table rolls over). It is the responsibility of the user to fill in the message table correctly. A gateway error will be generated if the length of the command message is invalid. The report for this command will only include the six message identifiers due to the length of the RS232 transmit buffer. 4.3.1.6 Software Version Request This command requests the gateway software version (ASCII) (LIN Vx.x). 4.3.1.7 Trigger (not valid in uartil mode or uartil monitor mode!) This command will cause the gateway to toggle the trigger LED upon receiving a specified byte pattern. LIN receive messages will consist of only 1 byte (identifier only), 2 bytes (2 byte identifier response), 3 bytes (identifier + 2 byte identifier response), 4 bytes (4 byte identifier response), 5 bytes (identifier + 4 byte identifier response), 8 bytes (8 byte identifier response) and 9 bytes (identifier + 8 byte identifier response) lengths. These are the only legal trigger mask values. A gateway error will be generated if the length of the command message is invalid. The report for this command will include the entire message. This feature is helpful for triggering an oscilloscope or arbitrary waveform generator.

LIN to RS-232 Gateway 8/28/02 Page 11 of 21 4.3.2 Gateway Reports The gateway will report a reset whenever one occurs. Most likely causes of reset are power on reset, host commanded reset, or gateway micro watchdog error. The gateway does a cold start on all resets (all information is lost). The gateway will also report error conditions with the Report Error message below. See section 4.3.2.1 for error code definitions. The gateway will also echo back all system commands. Header ID Description Data Bytes 08h 02h Report Gateway Bus Receiver On (LIN) None 08h 03h Report Gateway Bus Receiver Off (LIN) None 08h 80h Reset Occurred None 08h 82h Report Error 1 byte Error Code 08h 86h Report Time Stamp Information OFF None 08h 87h Report Time Stamp Information ON None 08h 88h Report Transmit Echo ON None 08h 90h Report Periodic Messages ON 6 LIN Message Identifiers 08h 91h Report Periodic Messages OFF None 08h F0h Report Gateway Trigger ON 1-9 bytes of Trigger Data 08h F1h Report Gateway Trigger OFF None 4.3.2.1 Gateway Error Codes Most error codes are related to sending data at the wrong rate (usually too fast). Code 80h 81h 82h 83h 84h Description System - Invalid message ID or Invalid Message (incorrect data, length, etc.) System - RS-232 Transmit Buffer Full System - UART Error (Overrun, etc.) System Received message is too long. System - Have not read previous message

LIN to RS-232 Gateway 8/28/02 Page 12 of 21 4.4 LIN Messages 4.4.1 LIN Commands and Command Reports LIN mode command (MASTER = 00h) (SLAVE = 01h) (MONITOR = 02h) (UARTIL = 03h) (UARTIL MON. = 04h) Byte 1 Byte 2 Byte 3 BCh 02h Mode LIN mode command report (MASTER = 00h) (SLAVE = 01h) (MONITOR = 02h) ( UARTIL = 03h) (UARTIL MON. = 04h) Byte 1 Byte 2 Byte 3 BCh 02h Mode LIN baud rate command (20.9k = 0Bh) to (2.4k = 60h) Baud rate = 1/(freq * 4.34us) Byte 1 Byte 2 Byte 3 BCh 04h Baud rate LIN baud rate command report (20.9k = 0Bh) to (2.4k = 60h) Baud rate = 1/(freq * 4.34us) Byte 1 Byte 2 Byte 3 BCh 04h Baud rate LIN slave received identifiers response command (response1 response9) (valid in slave mode only!) Byte 1 Byte 2 Bytes 3 Bytes 11 Bytes 12 Bytes 20 BCh 06h 1 - ID + [2,4,8] response bytes 2 - ID + [2,4,8] response bytes Bytes 21 Bytes 29 Bytes 30 Bytes 38 Bytes 39 Bytes 47 Bytes 48 Bytes 56 3 - ID + [2,4,8] response bytes 4 - ID + [2,4,8] response bytes 5 - ID + [2,4,8] response bytes 6 - ID + [2,4,8] response bytes Bytes 57 Bytes 61 Bytes 62 Bytes 64 Bytes 65 Bytes 67 7 - ID + [2,4] response bytes 8 - ID + [2] response bytes 9 - ID + [2] response bytes

LIN to RS-232 Gateway 8/28/02 Page 13 of 21 LIN slave received identifiers response command report (response1 response9) (valid in slave mode only!) Byte 1 Byte 2 Byte 3 Byte 4 BCh 06h 1 - ID 2 - ID Byte 5 Byte 6 Byte 7 Byte 8 3 - ID 4 - ID 5 - ID 6 - ID Byte 9 Byte 10 Byte 11 7 - ID 8 - ID 9 - ID LIN periodic messages off if trigger - enable command / command report Byte 1 Byte 2 BCh 08h LIN periodic messages off if trigger - disable command / command report Byte 1 Byte 2 BCh 09h These commands control whether to turn off periodic messages, if activated, when a trigger match has been made between a received message and the trigger mask setup with Gateway command F0h Enable Gateway Trigger. These commans are only valid if in LIN master mode.

LIN to RS-232 Gateway 8/28/02 Page 14 of 21 4.4.2 Transmitted LIN - UARTIL Messages (Master UARTIL modes only) LIN Master transmit (identifier only) Byte 1 Byte 2 B8h Identifier LIN Master transmit (identifier + 2 byte response) Byte 1 Byte 2 Byte 3 Byte 4 B8h Identifier byte 1 byte 2 LIN Master transmit (identifier + 4 byte response) Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 B8h Identifier byte 1 byte 2 byte 3 byte 4 LIN Master transmit (identifier + 8 byte response) Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Byte 10 B8h Identifier byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 LIN Uart transmit (1 to 176 data bytes) Byte 1 Byte 2 Byte 177 B8h Data byte 1 Data byte 176

LIN to RS-232 Gateway 8/28/02 Page 15 of 21 4.4.3 Received LIN Messages LIN Gateway Transmit Echo (if echo enabled) Byte 1 Byte 2 Byte N Byte N + 1 BAh Data,Cksum, etc. Completion code LIN Gateway Transmit Echo with Timestamp (if echo and timestamp enabled) Byte 1 Byte 2 Byte N Byte N + 1 Byte N + 2 Byte N + 3 BBh Data,Cksum, etc. Completion code Timestamp MSB Timestamp LSB LIN Gateway Receive Byte 1 Byte 2 Byte N Byte N + 1 B8h Data,Cksum, etc. Completion code LIN Gateway Receive with Timestamp (if timestamp enabled) Byte 1 Byte 2 Byte N Byte N + 1 Byte N + 2 Byte N + 3 B9h Data,Cksum, etc. Completion code Timestamp MSB Timestamp LSB Completion Code Definition: Bits 7-5 100 - Lin transmit queue overrun - sending data to fast 011 - Lin corrupt byte - invalid stop bit 010 - Lin last received byte not processed - sending data to fast 001 - Lin receive queue overrun - message received was to long Bit 3 set - Lin slave not responding error Bit 2 set - Lin identifier parity error

LIN to RS-232 Gateway 8/28/02 Page 16 of 21 Bit 1 set - Lin checksum error Bit 0 set - Lin bit error Note1: All Lin transmit errors will be reflected in the next transmitted or received message completion code. All Lin receive errors will be reflected in that received message s completion code. Note2: If in UARTIL MONITOR MODE (mode = 04h) and an error occurs the gateway will disable the LIN receiver and issue a Gateway Bus Receiver Off report (08 03). This is to insure that the LIN receiver will not stall on erroneous bus states (i.e. bus pulled low after reset for a long period of time). If this occurs the user must re-enable the LIN receiver with a Gateway Bus Receiver On Command (08 02) before receiver communications will resume.

LIN to RS-232 Gateway 8/28/02 Page 17 of 21 5 Connectors The gateway uses two connectors. One connector is for the RS-232 link and is DB9F. The second connector is a DB9M for the CAN bus (low speed, medium speed, and high speed), Class 2 bus, Keyword, LIN, power, and ground. The following pin outs are used: 5.1 RS-232 Connector (J3-DB9F) A straight pass cable should be used to connect the gateway to the host computer. DE-9s Pin # Use 2 TX to Host 3 RX from Host 8 CTS 6 DSR 5 GND 5.2 Bus and Power Connector (J4-DB9M) The SAINT boards Bus, Power, and Ground pins are compatible with the Demon. DE-9p Pin # Use 1 Ground 2 SW CAN H 3 LS CAN L 4 LS CAN H 5 HS CAN H 6 HS CAN L 7 CLASS2 8 LIN / KEYWORD 9 +12V

LIN to RS-232 Gateway 8/28/02 Page 18 of 21 5.3 Flash programming connector Note: the long-term goal is to Flash using the USB connector. Connector J2 is used with an external connector the intended application of this port is the flash programming of a product. The pin out of the connector J2 flash programming connector - is as follows: Pin # Mnemonic Use / description Line up the connector label with the board pin label. Osc1 Osc2 External (to SAINT) oscillator External (to SAINT) oscillator Vdd Already connected to +5V on SAINT board Vss Already grounded

LIN to RS-232 Gateway 8/28/02 Page 19 of 21 6 LEDs Four LEDs are used by the gateway. These LEDs are: LED # Purpose 4 NC (No Connection) 3 Trig (Toggled on specified message) 2 Pow (SAINT powered up) 1 Bus (Toggles when transmitting an RS232 message)

LIN to RS-232 Gateway 8/28/02 Page 20 of 21 7 Software Packages The following table lists the latest firmware releases for the SAINT board. Name Hardware Version Date Description LIN_V10.HEX 1.4 08/28/2002 Initial Release LIN_V11.HEX 1.4 10/10/02 Added uartil monitor mode Added Gateway bus Comm. On/Off LIN_V12.HEX 1.4 12/04/02 Added Trigger Control LIN_V13.HEX 1.4-1.5 08/15/03 Modified Lin Baudrate Command