Gryphon Hardware Information: LIN card

Similar documents
Gryphon Hardware Information: Dual SJA1000 Fault Tolerant CAN card

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

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

AVT-718 SDM-AOS Support

Configuration Pins Ports Clocks Ram Logical cores Master ~1.5K 1 Slave ~2.1K 1

AN-881 APPLICATION NOTE

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

1.1 Errors and Event list

DirectNET Host. Communications Programs. In This Chapter...

Logosol Joystick Node LS-731

Renesas LIN Overview. White paper REU05B Introduction

The MMDVM Specification ( )

LIN2CAN API (L2CAPI) MANUAL ENGLISH

HAI Network Communication Protocol Description

file:///c:/users/hpguo/dropbox/website/teaching/fall 2017/CS4470/H...

DEFAULT IP ADDRESS

MODBUS PLUS TO SIEMENS G110/G120/MM440 APPLICATION

1. Introduction. Be sure to read the release notes in section 10 before operating the Unit.

TOP Server 5 DNP Advanced Operations. Control Relay Output Block Commands

Serial Communications Guide

ISPV3 Programmer s Guide. This guide addresses the features, setup and operation of the CRD89C51xxx microcontrollers with ISPV3 firmware.

ISDA/ISDA4 Protocol Driver Manual. Table of Contents

This document is available at BIOS Communication version 1.4 or later. Application Notes. For STEPPII-55/56 & STEPPII-55/56-LT

SIOX Four I/O Mini Module

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

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

GIGAVAC Contactors I 2 C Communication

Communication 7. What's in this Chapter? This chapter contains the following sections:

LIN2CAN & Configuration Tool

Getting Started with your D3000M Series Module

HCS12 BDM Getting Started V4.3

USB-910H API DLL and Include File Reference Manual

PACSystems* RX3i IC695CMM002 and IC695CMM004

Mitsubishi FX Net Driver PTC Inc. All Rights Reserved.

2574R Firmware Changes v /4/2001

PACSystems* RX3i IC695CMM002 and IC695CMM004

IMPORTANT PRODUCT INFORMATION

Design of Serial Interface for Neuron Base Smart Sensors

SMART RELAY SRW 01 V4.0X

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

PICkit Serial DLL (PICkitS.dll) Function Prototypes

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used

1. TIMS-0201 STEPPER CONTROLLER MODULE HARDWARE GENERAL SOFTWARE DESCRIPTION TIMS-0201 LABVIEW INSTRUMENT DRIVERS...

TOSHIBA CMOS Digital Integrated Circuit Silicon Monolithic TMPN3120FE5MG

RL78 Serial interfaces

PICkit Serial DLL (PICkitS.dll) Function Prototypes

NI-XNET Python API Documentation

EPIC board ensures reliability in the toughest environment

The watchdog is connected to the internal USB header and reset switch header on the majority of motherboards.

1. Implemented CM11 protocol

The RS-485 user manual for B800 series communication

TOSHIBA CMOS Digital Integrated Circuit Silicon Monolithic TMPN3120FE3MG

Mitsubishi FX3 Driver Configuration Manual

Motors Automation Energy Transmission & Distribution Coatings. Profibus DP SRW 01. User s Manual

P-Bus Gateway Firmware

Tape Channel Analyzer Windows Driver Spec.

Reliable Computing I

MS Protocol Converter. User Manual. Firmware version 2.0 ISI. Instrumental Solutions, Inc.

MVI46-MCM SLC Platform Modbus Interface Module USER MANUAL. February 5, 2004

PROFI-8455 PROFIBUS Remote I/O Unit

ECE 435 Network Engineering Lecture 9

The I-7530A RS-232/485/422 to CAN Converter

A Guide to Understanding GEM - SECS - HSMS

OPERATING INSTRUCTIONS MCD

Generic Serial Bootloader System Andrew Smallridge

RX Family APPLICATION NOTE. I 2 C Bus Interface (RIIC) Module Using Firmware Integration Technology. Introduction. Target Device.

RX Family APPLICATION NOTE. Simple I 2 C Module Using Firmware Integration Technology. Introduction. Target Device.

PIC-I/O Multifunction I/O Controller

WF-700B User Manual. RS232 Interface for Coin Validators

EtherSeries Modbus Gateway EMB-2 User s Guide

Hitless Failover and Hitless Upgrade User Guide

The I-7530A-MR Modbus RTU to CAN Converter

Operator Manual for Profibus

Network Working Group Request for Comments: 2236 Updates: 1112 November 1997 Category: Standards Track

SANDMAN Power Management User Manual

Winford Engineering ETH32 Protocol Reference

Module Introduction. PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events.

Mask Set Errata for Mask 5L35K

This document is available at BATTERY USAGE APPLICATION NOTES. For STEPPII-55/56 & STEPPII-55/56-LT

LDV Communications Specification

1 General Driver Board Description

CHAPTER 5 DECODER BOARD SOFTWARE

Lixia Zhang M. I. T. Laboratory for Computer Science December 1985

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

MVI46-BDW. User Manual. SLC Platform. BARDAC Drive Web Interface

Configure IP SLA Tracking for IPv4 Static Routes on an SG550XG Switch

Networking Technologies and Applications

Pinout. 58 PIN EDGE CONNECTOR MALE at the card. 58 PIN EDGE CONNECTOR FEMALE at the computer. Pin Name Description. A1 D1 Data 1.

MAX32630 ERRATA SHEET

TCN-MVB-ACP ACP protocol description

AC SMARTMOTION CONTROLLERs

User Datagram Protocol

AN Multifunction Serial Interface of FM MCU. Contents. 1 Introduction

Configuration of Synchronous Protocols

AFRecorder 4800R Serial Port Programming Interface Description For Software Version 9.5 (Last Revision )

Course Introduction. Purpose. Objectives. Content. Learning Time

Operate the Hydrolab SDI-12 / Modbus / RS232 TTY Communications Module (HL Series Sonde)

PACSystems* RX3i IC695CMM002-EG and IC695CMM002CA-EG IC695CMM004-EG, IC695CMM004CA-EG, and IC695CMM004LT-EG

Transmission/ reception tables

TLE987xQX BE. BootROM User Manual. Rev. 1.3,

Transcription:

Gryphon Hardware Information: LIN card External D-9 connector pinout Pin # Channel Assignment 01 1 VIN+ 02 1 No Connect 03 1 LIN BUS 04 1 VIN- / GND 05 1 No Connect 06 1 No Connect 07 1 No Connect 08 1 No Connect 09 1 No Connect BUS termination requirements To be included. Event definitions The following values may be transmitted as FT_EVENT type GCProtocol frames. The event value will be in the event field of such a frame. Note: Please see the include file dev_lin.h for numeric values of the following symbols. Event name Event meaning GLINRESET The processor on the LIN card has been reset GLINBADID An invalid ID has been received GLINSYNC Received synch field is not 0x55 GLINWAKEUP A wakeup signal was received GLINSLEEP A sleep command was received or bus activity has timed out GLINWAKEUPFAILED The master failed to respond to the wakeup sequence GLINNEWBITRATE The bit rate has changed Please also see generic events for non card-specific events. Card-specific IOCTL definitions These values are used with the CMD_CARD_IOCTL command. Please see the include files dev_lin.h and dev_ubp.h for numeric values of IOCTLS and data field bit assignments. IOCTL name Function Data field length/purpose GLINGETBITRATE Get current bitrate 4 data bytes GLINSETBITRATE Set new bitrate 4 data bytes

GLINGETBRKSPACE Get current dominant (low) break time in bits GLINSETBRKSPACE Set new dominant (low) break time in bits GLINGETBRKMARK Get current recessive (high) break time in bits GLINSETBRKMARK Set new recessive (high) break time in bits GLINGETIDDELAY Get current delay, in bits, between synch field and ID GLINSETIDDELAY Set new delay, in bits, between synch field and ID GLINGETRESPDELAY Get current delay, in bits, between ID and Data GLINSETRESPDELAY Set new delay, in bits, between ID and Data GLINGETINTERBYTE Get current Data interbyte delay in bits GLINSETINTERBYTE Set new Data interbyte delay in bits GLINGETWAKEUPDELAY delay GLINSETWAKEUPDELAY Set new wakeup delay GLINGETWAKEUPTIMEOUT timeout GLINSETWAKEUPTIMEOUT Set new wakeup delay GLINGETWUTIMOUT3BR timeout after 3 breaks GLINSETWUTIMOUT3BR Set new wakeup timeout after 3 breaks GLINSENDWAKEUP Send wakeup signal no data bytes 0 Master or Slave depending on usage GLINGETMODE GLINSETMODE Get current mode of operation Set new mode of operation 1 Currently Slave 2 Currently Master 3 Slave; may not be Master 4 Master; must be master

GLINGETSLEW GLINSETSLEW GLINADDSCHED GLINGETSCHED GLINGETSCHEDSIZE GLINDELSCHED GLINACTSCHED GLINDEACTSCHED GLINGETACTSCHED Get the LIN bus slew rate Set the LIN bus slew rate Add a LIN schedule Get a LIN schedule Get the size of a LIN schedule Delete a LIN schedule Activate a LIN schedule Deactivate the currently active LIN schedule Get the active LIN schedule 0 Slow slew rate 1 Normal slew rate 2 High slew rate The number of bytes to follow Repeated for each message in the schedule: 4 bytes: delay time in tenths of milliseconds 1 byte: Number of IDs to follow 1 byte: Low 4 bits: number of data bytes to follow; bit 6 set if sporadic; bit 7 set if event driven 1 or more bytes: ID(s) 0 to 8 bytes: data bytes The size of the schedule Remainder returned data for the schedule (see GLINADDSCHED) The size of the schedule suitable for use in GLINGETSCHED 1 to be deleted if the name is empty (the first byte of the name is a NULL), all of the schedules are deleted 1 to be activated 0 data bytes 1 The name of the currently active schedule (returned)

GLINGETNUMSCHEDS GLINGETSCHEDNAMES GLINSETFLAGS Get the number of LIN schedules Get a list of the LIN schedules Set the flag bit(s) for one or more ID's 2 data bytes Variable number of data bytes (equals 32 times the number of schedules) Byte 0 Starting frame ID (0 through 63) (If zero, all flags will be cleared first. If non-zero, existing flags will be left intact.) Byte 1 The number of frame IDs for which to set the flags Bytes 2 thru n Flag bits as defined below GRESETHC08 Reset Card (HC080) 0 data bytes GTESTHC08COP Test the COP (Computer Operating Properly) module 0 data bytes notes: GRESETHC08 causes the driver to perform a hard reset of the HC08 on the LIN card. This causes all of the information about which slaves are being emulated as well as the slave data itself to be lost. A GLINRESET event is reported while the card's firmware is restarting. If the main loop of the card's firmware takes more than 16.83 milliseconds between any two passes, the HC08's watchdog expires and resets the processor. A GLINRESET event is reported while the card's firmware is restarting. GTESTHC08COP prevents the watchdog timer from being reset in the firmware's main loop. If everything is working properly, a GLINRESET event will be reported within 16.38 milliseconds when the watchdog timer expires. There are up to 4 flag bits per Frame ID that may be used by the driver. Currently only two bits are defined. Bit 7 - Checksum flag. Set for Enhanced Checksum: Reset for Classic Checksum. Bit 6 - Event flag. Set if this is an event frame. If so, the unconditional frame's ID code is present in the low order six bits. To allow the Gryphon to emulate slaves that share the same event frame, this bit may also be set in the unconditional frame's entry, allowing a string of unconditional frames to be defined for one event frame. Card-specific functionality The LIN card computes the checksum when the slave task sends the Data portion of a message to the network. Normally, no checksum should follow the Data field of a Gryphon FT_DATA packet sent to the card. If an Extra Data byte is present in addition to two or more Data bytes, the Extra Data byte is used as the checksum when the slave task transmits its data. The explicit checksum byte is always present as the last byte of the Data portion of the message

when the slave task transmits it. If the explicit checksum is correct, no indication is present on any receiving Gryphon node. However, if the explicit checksum is incorrect, all receiving Gryphon LIN nodes show the invalid checksum in the Extra Data portion of the message. Any ID checkbits present in the header are discarded by the firmware before it generates them from the lower 6 bits of the header (ID). Thus, it is impossible to send an invalid ID code from the Gryphon. When receiving messages from the network, the checksums are verified. If the checksum is valid, the data minus the checksum is present in the FT_DATA packet in the Data field. If the checksum is invalid, it (the invalid checksum) is placed in the FT_DATA packet in the Extra Data field. By sending just the ID (header) in an FT_DATA packet to the Gryphon, the Gryphon's mode is set to Master, if allowed, and the ID is sent on the LIN bus. If both the ID and data are sent to the card, the data is stored in the card, indexed by the ID. The firmware will, in the future, automatically send the stored data in response to receiving the corresponding ID. If the Remote bit in the mode element of the data header is not set, the Gryphon's mode is set to Master, if allowed, and the ID is sent on the LIN bus which causes the data to be sent as well. (The ID is transmitted on the LIN bus followed by the data which was just stored in the card.) If the Remote bit in the mode element of the data header is set, no further action is taken. (Neither the ID nor the data is transmitted on the LIN bus.) To clear the data in the card for a given ID, send a data message message to the card with the desired ID, no Data bytes and one byte of Extra Data. The Extra Data byte must have its least signficant bit set. The rest of the bits in the byte should be reset to allow for future use. This message is trapped by the LIN driver which sends a special flag to the card to cause the data to be deleted for that ID. To clear the data in the card for all of the IDs, send a data message message to the card with any ID, no Data bytes and one byte of Extra Data. The Extra Data byte must have its next to least signficant bit set (set to 2). The rest of the bits in the byte should be reset to allow for future use. This message is trapped by the LIN driver which sends a special flag to the card to cause the data to be deleted for all of the IDs. The Transmit/Receive flag in the Gryphon Data Header indicates whether the Gryphon transmitted or received the header. The Local/Remote flag in the Gryphon Data Header indicates whether the Gryphon transmitted or received the data portion of the message.