ADVANCED VEHICLE TECHNOLOGIES, Inc. AV. AVT-718 PPD Support. Introduction. Hardware. Firmware. Connecting to the Network. Inc.

Similar documents
AVT-718 SDM-AOS Support

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

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

AVT-84x Auto Block Transmit (ABX)

AVT-718. Multiple Interface. RS-232 or RS-422 Unit

K-Line Initialization Information

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

LDV Communications Specification

HDV100A3 Command Response Protocol

ADVANCED VEHICLE TECHNOLOGIES, Inc. AV. AVT-423 rev. C and D Product Data Sheet

ProxPro with Key pad APPLICATION NOTE. June 17, 2009 Document Number AN0009_A Barranca Parkway Irvine, CA 92618

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

MIDI CPU Firmware V User Manual

QUICK START GUIDE MODEL DXA/DXI 100/200 DIGITAL ACCELEROMETER & INCLINOMETER JEWELL INSTRUMENTS, LLC. 850 Perimeter Road Manchester, NH 03103

MCP 1200 Evaluation Board Guidance

Product Specification for SAB-S-MODBUS

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

BRANDING AND STYLE GUIDELINES

DCProx User s Guide V2.1

Brand Standards. V1 For Internal Use. Newcastle Systems Brand Standards 1

Visual Identity Guidelines. Abbreviated for Constituent Leagues

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

Tranont Mission Statement. Tranont Vision Statement. Change the world s economy, one household at a time.

BMS CAN Manual. V2.0, September 3, 2018 Visit to download the latest revision of this manual Copyright 2018 Roboteq, Inc

Interfacing the Extended Capabilities Port. Table of Contents

Serial Communications Guide

Evaluation Boards for the DLP-USB245M USB Adapter

OLED Engineering Kits User Manual

CANopen. Technical Guide for Delta ASDA-A2

AT45DB021E. 2-Mbit DataFlash (with Extra 64-Kbits), 1.65V Minimum SPI Serial Flash Memory PRELIMINARY DATASHEET. Features

AT45DB041E. 4-Mbit DataFlash (with Extra 128-Kbits), 1.65V Minimum SPI Serial Flash Memory. Features

Winford Engineering ETH32 Protocol Reference

AT45DB321E. Features. 32-Mbit DataFlash (with Extra 1-Mbits), 2.3V Minimum SPI Serial Flash Memory

Growing Our Own Through Collaboration

LED sign s Control Commands V1.23 (use for LED sign firmware V4.8 up)

November 25, Mr. Paul Kaspar, PE City Engineer City of Bryan Post Office Box 1000 Bryan, Texas 77802

recruitment Logo Typography Colourways Mechanism Usage Pip Recruitment Brand Toolkit

MOTENC-Lite 4-Axis PCI Motion & I/O Control Board. Reference Manual Rev 1.1, June 20, Copyright 2005 VITAL Systems Inc

64-megabit 2.7V Dual-interface DataFlash

PRELIMINARY DATASHEET

CMPE223/CMSE222 Digital Logic Design. Positional representation

8-OUTPUT MIDI-CONTROLLED RELAY ARRAY

180 Series Keypad. Handbook. Revision 2.1

Systems Analysis INterface Tool 2(SAINT2) Programming Reference

PracticeAdmin Identity Guide. Last Updated 4/27/2015 Created by Vanessa Street

AT25PE40. 4-Mbit DataFlash-L Page Erase Serial Flash Memory ADVANCE DATASHEET. Features

MP1251/MP1252 SMBus Voltage Source

H0420 Programmable MP3 Audio Player for Exhibitions and Kiosk Applications. Firmware Update: Version 1.2 Build 3508

Brand Guidelines October, 2014

AT45DQ321. Features. 32-Mbit DataFlash (with Extra 1-Mbits), 2.3V Minimum SPI Serial Flash Memory with Dual-I/O and Quad-I/O Support

2-megabit 2.7-volt Minimum DataFlash AT45DB021D

How to Register for Summer Camp. A Tutorial

PM66 Writer PM66 Easy Write Voice Coding System

AN-881 APPLICATION NOTE

BRAND STANDARD GUIDELINES 2014

BRAND GUIDELINES UPDATED NOVEMBER 2018

Table of Contents MOTOROLA SEQUENTIAL MOTOROLA BACKWARD APPENDIX C. PIN CONNECTIONS SERIAL DATA OUT CONNECTOR...

How to Register for Summer Camp. A Tutorial

TABLE OF CONTENTS. 3 Intro. 4 Foursquare Logo. 6 Foursquare Icon. 9 Colors. 10 Copy & Tone Of Voice. 11 Typography. 13 Crown Usage.

Connection Guide (RS-232C)

Technical Report. EV10_Running_Modes_ doc. EV10 - Running Modes

address lines and a parallel interface, the Atmel DataFlash uses an Atmel RapidS serial interface to sequentially access its data. The simple sequenti

HDLC-PCIE. Synchronous Serial Card. Rev. Dec 22, Datasheet. Website:

Special Memory (SM) Bits

HDLC-ETH. Serial Ethernet Converter. Rev. Dec 20, Datasheet. Website:

512 Channel Serial to DMX Transmitter PRO

Single 2.5V - 3.6V or 2.7V - 3.6V supply RapidS serial interface: 66MHz maximum clock frequency. SPI compatible modes 0 and 3

USB-1208LS Specifications

STAR BEMC TDC VME Interface & Programming Reference Preliminary 5/21/01

LT900SERIES. 1xN Multi-Channel Switch Operation Manual

K-line Communication Description

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

SS-76 MF GPRS Buffer

C1182 Video Compression Module User Manual. Release Note: 1 st Release : Aug 01, 2012

BRAND BOOK. Copyright 2016 WashU Student Union Student Union Brand Guidebook 1

Operation: ALERT2 Field Decoder

Dual PT100 RTD to CAN-Bus Converter. v1.0 August 2018

RDM DIRECTOR. User manual. rev. 1.2

Wisconsin Retirement Testing Preparation

1 General Driver Board Description

Character LCD Interface for ez80acclaim! MCUs

HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE

Read section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX

DIGITAL COMPASS SOLUTION

MOTENC Axis PCI Motion & I/O Control Board. Reference Manual Rev 1A, April Copyright 2004 VITAL Systems Inc

ETH044-4 SSR (230VAC) and 4 Digital IO

GW-GSM-02. User's Guide. IQRF GSM Gateway. Preliminary. Firmware v MICRORISC s.r.o. UG_GW-GSM-02_ Page 1

Owner s Manual for the DQP-1300 DRV11 Option Module for NuVAX and NuPDPq. DQP-1300-OM Revision A

Motor Objects. Methods

Modbus Remote Communication Protocol for REM 54_. Technical Description

HSK-320Z User s Manual

Gryphon Hardware Information: LIN card

ECE 2300 Digital Logic & Computer Organization

ZMID Communication Board (ZMID-COMBOARD) User Guide: Serial Communication and Commands. Contents. List of Figures. List of Tables

Mifare Configurable Sector Reader User s Manual

LCD Display. Other I/O. LCD display Flash ROM SPI EPROM Keyboard (PS/2) UART connectors DAC ADC. 2-line, 16 character LCD display

The ABC s of Web Site Evaluation

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

PCMCIA Flash Memory Card

Visit MathNation.com or search "Math Nation" in your phone or tablet's app store to watch the videos that go along with this workbook!

Transcription:

ADVANCED VEHICLE TECHNOLOGIES, Inc. AV Inc. AVT-718 PPD Support 2 June 2004 This document describes the PPD mode of operation for the AVT-418/718 unit. PPD mode was first released in AVT-418/718 firmware version 5.4. Introduction PPD mode was developed to support a specific customer requirement. The only module that we are aware of that uses it is the NABCO seat occupancy sensor. Hardware PPD mode uses the K-line physical layer - the same K-line that the AVT-418/718 uses for Key Word Protocol 2000 [KWP] mode. No hardware changes or modifications to the AVT-718 board are required to use PPD mode. Firmware The PPD mode of operation for the AVT-418/718 was developed using NABCO specification SE1-98007 dated 12 May 1998. PPD mode support can be added to an existing AVT-718 unit by updating the firmware. The AVT-418/718 is a FLASH based device and supports field upgrades of the unit firmware. The code file for the desired firmware version can be obtained from the factory. We can also provide two host PC applications to reprogram the AVT-718 FLASH with the desired firmware. One application is a pure DOS program. The other is a 32-bit application for use under MS-Win95/98/NT. Connecting to the Network The S/O line of the sensor should be connected to the AVT-418/718 K-line (pin #7 of the Network connector). The ground (earth) for the AVT-418/718 and the sensor should be common. It is desirable, but not necessary, to have V-Batt common as well. When PPD mode is entered the AVT-418/718 is immediately connected to the network and begins receiving. Note: Most numbers in this document are hex. 1509 Manor View Road, Davidsonville, MD 21035 USA +1-410-798-4038 (voice) +1-410-798-4308 (fax) http://www.avt-hq.com support@avt-hq.com

PPD Mode The following is a summary of operations for PPD mode. Reference NABCO specification SE1-98007 dated 12 May 1998. The NABCO seat occupancy sensor sends out a status message every 1.2 seconds. The sensor transmits only. The AVT-418/718 receives only. It cannot transmit a message. K-line physical layer. Idles at V-Batt. The K-line is pulled to ground to assert. During a message, the K-line toggles state for each message bit. Each edge is a bit boundary. The signaling is pulse width modulation. A pulse (high or low) of duration 24 +/1 3 milliseconds indicates a 0. A pulse (high or low) of duration 56 +/1 3 milliseconds indicates a 1. The status message is 15-bits long. The 15-bit message is decoded by the AVT-418/718 in MSB to LSB order and stored in two bytes (a word). The first bit out of the sensor is the MSB and is stored in bit #14 of the message. The last bit out of the sensor is the LSB and is stored in bit #0 of the message. Message bit #15 is always zero. Example: The status message 100000000000000 is error in sensor and is reported to the host as the two byte message: $40 00. The AVT-418/718 checks all bit boundaries for time duration compliance (+/- 3 milliseconds). All bits are also checked for toggled state as compared to the previous bit. Any non-compliance is flagged as an error and the message collected to that point is immediately forwarded to the host. All timing parameters used by the AVT-418/718 for checking the status message can be altered by the host computer at any time. PPD Mode Commands A summary of commands are listed at the end of this document. Operation PPD mode is entered by issuing the mode switch command: $E1 $88. The expected response is: $91 $1E. Page 2

Message from the Network The AVT-418/718 is always listening to the network. All network messages are received and passed to the host. The construction of a received message packet sent by the AVT-418/718 to the host is as follows. Time stamp disabled 03 yy rr ss where: 03 = upper nibble 0 indicates from the network lower nibble 3 indicates 3 bytes follow yy = count of bits remaining to be read, usual value 00 rr ss = message Time stamp enabled 07 gg hh jj kk yy rr ss where: 07 = upper nibble 0 indicates from the network lower nibble 7 indicates 7 bytes follow gg hh jj kk = microsecond time stamp of message first edge yy = count of bits remaining to be read, usual value 00 rr ss = message Received message examples: Time stamp disabled. 03 00 20 03 03 = from the network, three bytes follow 00 = no errors, all bits received 20 03 = message bytes This message indicates seat occupied. Time stamp enabled. 07 00 0E 38 B6 00 40 00 07 = from the network, seven bytes follow 00 0E 38 B6 = time stamp in microseconds 00 = no errors, all bits received 40 00 = message bytes This message indicates sensor error. Operational Errors During PPD operations the AVT-418/718 notifies the host of any detected operational errors by issuing an error message containing one byte of bit mapped error codes. Page 3

The error message has the form: 22 56 xx 22 = upper nibble 2 indicates an error message lower nibble 2 indicates two bytes follow. 56 = indicates that this is a PPD error message. xx = bit map of error conditions. xx Timing Parameters bit 7: short to ground detected bit 6: always 0 bit 5: buffer time out bit 4: ppd_1_max < pulse bit 3: ppd_0_max < pulse < ppd_1_min bit 2: pulse < ppd_0_min bit 1: new K-line level not as expected bit 0: at start of message, K-line is high (should be low) The AVT-418/718 checks each bit for timing compliance. If any non-compliance is detected, the error is flagged and the message received up to that point is forwarded to the host. All timing parameters used by the AVT-418/718 can be changed by the user/host. The commands to change these parameters are described here. Operational Timing Parameters Buffer time out. If this time expires without a new edge, the message is considered to have failed. The host is notified. Default is 120,000 microseconds. Command is 5x 46. Logical 0 minimum time: PPD_0_min. Default is 21,000 microseconds. Command is 5x 47. Logical 0 maximum time: PPD_0_max. Default is 27,000 microseconds. Command is 5x 48. Logical 1 minimum time: PPD_1_min. Default is 53,000 microseconds. Command is 5x 49. Logical 1 maximum time: PPD_1_max. Default is 59,000 microseconds. Command is 5x 4A. Page 4

Questions?? Contact the factory by e-mail, phone, or fax. Contact information provided on the bottom of page 1. AVT-418/718 PPD Mode - Commands High nibble, bits b7 - b4: Command type. 0: 1: 2: Reset. 21 01: Reset HBCC. 21 02: Reset SCC. 21 03: Reset DLC. 21 04: Reset FIFO #1. 21 05: Reset FIFO #2. 21 06: Reset CAN. 3: 4: 5: Operational commands. 51 08: Request message time stamp status. 52 08 00: No time stamp. {Default} 52 08 01: Include time stamp. Four bytes. 1.0 microsecond resolution. 51 46: Message time out query. 55 46 rr ss tt vv: Message time out in microseconds. {Default = $00 01 D4 C0 = 120 000 usec} 51 47: PPD_0_min time query. 55 47 rr ss tt vv: PPD_0_min value in microseconds. {Default = $00 00 52 08 = 21 000 usec} Page 5

51 48: PPD_0_max time query. 55 48 rr ss tt vv: PPD_1_max value in microseconds. {Default = $00 00 69 78 = 27 000 usec} 51 49: PPD_1_min time query. 55 49 rr ss tt vv: PPD_1_min value in microseconds. {Default = $00 00 CF 08 = 53 000 usec} 51 4A: PPD_1_max time query. 55 4A rr ss tt vv: PPD_1_max value in microseconds. {Default = $00 00 E6 78 = 59 000 usec} 6: 7: 8: 9: Processor memory. 96 01 msb xx yy lsb zz: Processor write memory (byte), value = zz. 96 02 msb xx yy lsb zz: Processor read memory (byte), count = zz. 97 03 msb xx yy lsb rr ss: Processor write memory (word), value = rr ss. 96 04 msb xx yy lsb zz: Processor read memory (word), count = zz. A: B: Firmware version. B0: Request firmware version number. C: D: Operational mode. D0: Request operational mode report. Page 6

E: Mode switch. E1 22: Switch to UBP mode. [91 14] E1 33: Switch to VPW mode. [91 07] E1 44: Switch to LIN mode. [91 19] E1 66: Switch to KIE mode. [91 1A] E1 88: Switch to PPD mode. [91 1E] E1 96: Switch to FLASH programming mode. [91 2E] E1 99: Switch to CAN mode. [91 10] E1 CC:Switch to PWM mode. [91 06] E1 DD: Switch to KWP 2000 mode. [91 0F] F: Re-Start. F1 A5: Reset and restart. AVT-418/718 PPD Mode - Responses High nibble, bits b7 - b4: Response type. 0: Message received from the network. Refer to detailed description of message format, described earlier in this document. 1: 2: Error message. Refer to specific code described earlier in this document. 3: Command error. 31 xx: xx = Header byte of message in error. 4: 5: 6: Operations reports. 62 08 00: Message time stamps are disabled. 62 08 01: Message time stamps are enabled. 65 46 rr ss tt vv: Message time out in microseconds. 65 47 rr ss tt vv: PPD_0_min value in microseconds. 65 48 rr ss tt vv: PPD_0_max value in microseconds. Page 7

65 49 rr ss tt vv: PPD_1_min value in microseconds. 65 4A rr ss tt vv: PPD_1_max value in microseconds. 7: 8: 9: Board status information. See complete list in section: Board Status Information." A: B: C: D: E: Processor memory. Ex msb xx xx lsb yy... Processor memory status for address specified. F: Page 8