PCAN-Dongle PS/2 and DIN

Similar documents
PCAN-ISA. CAN Interface for ISA. User Manual

PCAN-PC Card CAN Interface for the PC Card Slot. User Manual. Document version ( )

PCAN-USB CAN Interface for USB. User Manual. Document version ( )

PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod. User Manual. Document version ( )

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

PCAN-B10011S Bus Converter High-speed CAN to Truck Trailer CAN. User Manual. Document version ( )

2-Serial/1-Parallel Port PCI Adapter RC303 User Manual

CANnes PC CAN Interface Manual

1-Port R422/485 Serial PCIe Card

WHQL Certification Approval Introduction Specification Operation Environment... 5

Kvaser Mini PCI Express User s Guide

PCMCIA 1 Port RS EDITION OCTOBER 1999

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

PnP Driver Installation

Manual Serial PCI Cards

Software User Guide UG-461

DK40 Datasheet & Hardware manual Version 2

Mother Board Component

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

WiFiPerf User Guide 1.5

Hardware Manual RM CANview Ethernet

Products. CM-i586 Highlights. Página Web 1 de 5. file://c:\documents and Settings\Daniel\Os meus documentos\humanoid\material_o...

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Computer Setup (F10) Utility Guide HP Compaq dx2200 Microtower Business PC

Manual. CANcaseXL CANcaseXL log. Version 5.1 English

Multi-function Front Panel USB2.0/Firewire 400/eSATA

Installation Guide. Zip ATAPI Drive. Quick Start Information Installation Notes Technical Notes Troubleshooting Drive Specifications

SATA150 TX2PLUS, TX4 QUICK START GUIDE. Version 1.2

We reserve the right to make technical changes.

RS-422/485 Multiport Serial PCI Card. RS-422/485 Multiport Serial PCI Card Installation Guide

NOTICE. The information in this manual is subject to change without notice.

DS12885, DS12885Q, DS12885T. Real Time Clock FEATURES PIN ASSIGNMENT

Resource Checking. Windows 95/98/NT Resource Checking Manual for PCI/ISA DAQ card. [For Windows 95/98/NT]

LINDY ELECTRONICS LIMITED & LINDY-ELEKTRONIK GMBH - SECOND EDITION

USER S MANUAL USB TO IrDA ADAPTER

DVD/CD-ROM MOVIE AND GAMER KIT

Chapter 5 Cubix XP4 Blade Server

PCI-to-SATA RAID Adapter AEC-6890M. User s Manual Version:1.0

Keep it Simple Timing

WUA Mbps Wireless USB Network Adapter

SYSTEM 45. C R H Electronics Design

SATA/eSATA II PCI & PCI-E Card & CardBus

How To Connect A Port Replicator With An Ethernet To A Usb Port From A Usb Device

User Manual Software for DSL Digital Speed Switch

MSF/DCF PC CLOCK CARD INSTALLATION AND CONNECTION DETAILS

Serial ATA PCI Quick Installation Guide

CAN bus board. EB018

RIGtalk. Revision 5. Owner s Manual 2012.

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

IDE to SATA HDD Adapter Quick Installation Guide

AC500. Software Description. Scalable PLC for Individual Automation. Installation of the AC500 Control Builder PS501

Measuring Resistance Using Digital I/O

iscan USB User manual UNIFIED FIELD COMMUNICATION

21152 PCI-to-PCI Bridge

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

Orbit PCI Mk 2 Network Card. User Manual. Part No Issue 4

Recovery BIOS Update Instructions for Intel Desktop Boards

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

UPS Network Interface. Quick InstallationGuide

RS-232 Baud Rate Converter CE Model 232BRC Documentation Number 232BRC-3903 (pn5104-r003)

Intel Active Management Technology with System Defense Feature Quick Start Guide

Security & Chip Card ICs SLE 44R35S / Mifare

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

Serial/ Parallel Combo PCi Card user manual

SYSTEM 4C. C R H Electronics Design

Exeba -ATS. User Guide. Escan Technologies Corporation

Installing MPU-401 Compatible Cards in Windows 95

Ash Capture Control User Guide

Multi-Protocol decoder with Load regulation

Multi-Protocol decoder

The Bus (PCI and PCI-Express)

PT Mbps Powerline Adapter. User Guide

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

TotalShredder USB. User s Guide

IrDA-USB IrDA USB Adapter

HSP Update Tool V

85MIV2 / 85MIV2-L -- Components Locations

USB to RS-422/485 Serial Adapter (ID-SC0911-S1/SC0A11-S1) User s Manual

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

Keeper Care System Data Manager Version 1.0

Universal Serial Bus (USB) to DH-485 Interface Converter

CF to Serial Adapter Quick Installation Guide

Flexible Active Shutter Control Interface using the MC1323x

Serial/ Parallel Combo PCi Card user manual

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Dealer s Manual VHF FM MOBILE TRANSCEIVER

4469 en / c. Ready. Run Start. Stop LCL RMT. Reset USB MODULE. Communications module. User Guide

ROCKY SX SBC

CENTRONICS interface and Parallel Printer Port LPT

Intel Desktop Board D925XECV2 Specification Update

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

Troubleshooting and Diagnostics

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

PCXpocket 440. Professional Digital Audio Card. User s manual. DU IS=A

USART and Asynchronous Communication

APPLICATION PROGRAMMING INTERFACE

USB / Data-Acquisition Module NOW LEAD-FREE

PCI230+ & PCI260+ MULTI-FUNCTION ANALOG AND DIGITAL INPUT/OUTPUT BOARDS

Transcription:

PCAN-Dongle PS/2 and DIN Hardware Manual Version 1.2 Release April 2003

Names for products in this manual, that are registered trademarks, are not separately marked. Therefore the missing of the sign does not implicate, that the name is a free trade name. Furthermore the used names do not indicate patent rights or protection of designs. PEAK- System Technik GmbH doesn t take the legal responsibility nor any warranties or the liability for consequential damage, that arises from wrong use or wrong operation of the hardware. Further, PEAK-System Technik GmbH reserves the right to revise this publication and to make changes to the layout and design of the hardware at any time, without obligation to notify any person or entity of such revisions or changes. Thus the company PEAK-System Technik GmbH comes in no obligations. Copyright 1999-2003 PEAK-System Technik GmbH - All rights reserved. No part of this manual may be reproduced, processed, duplicated, transmitted or stored under any retrieval system in any form without the written consent of the company PEAK-System Technik GmbH. PEAK-System Technik GmbH Otto-Roehm-Straße 69 D-64293 Darmstadt Germany Phone: +49 (0)6151-8173-20 Fax: +49 (0)6151-8173-29 info@peak-system.com http://www.peak-system.com Page 2 of 10

Contents 1 Overview... 4 2 Application Notes... 4 3 Getting Started... 4 3.1 Connection of the CAN Net 4 Assignment of the SUB-D Plug... 5 PCAN-Dongle (IPEH-002015/19)... 5 PCAN-Dongle with Opto Coupler (IPEH 002020)... 6 4 CANVIEW for DOS... 7 4.1 Program Configuration 7 5 PCAN-View for Windows... 8 6 PCAN Light... 9 6.1 Overview of the API Functions 9 Page 3 of 10

1 Overview Baud rate setting up to 1 Mbit/s Equipped with a Philips CAN controller SJA1000T with 16 MHz of clock frequency Supports all interrupt and port address settings of the parallel interfaces Hardware reset of the SJA1000T by software instruction possible Built up in space saving port adapter case Transceiver 82C251 CAN connection via 9-pole SUB-D plug, pin assignment according to CiA recommendation DS102 Temperature range: 0-70 C 2 Application Notes The PCAN-Dongle enables the connection of a CAN bus to the parallel interface of an IBM compatible PC. It is suitable particularly for use with notebook computers since these seldom have a PC ISA plug-in slot. With the help of this adapter every PC can be linked to CAN. 3 Getting Started The hardware of the PCAN-Dongle doesn't need to be configured. You need merely the information about the interrupt and the port address reserved by the parallel interface. This can be found out with the MS-DOS tool MSD, that is enclosed in every MS DOS as of the version 6.0 (MSD.EXE in the DOS directory). Port Address Interrupt LPT1 0x378 IRQ7 LPT2 0 x278 IRQ5 LPT3 0 x3bc IRQ5/7 Table 1: List of the common interrupts and base addresses for parallel interfaces at the PC 3.1 Connection of the CAN Net The CAN net is connected by the 9-pole SUB-D plug. Pins 2 and 7 (CAN-L, CAN-H) are part of the minimal configuration. Page 4 of 10

Assignment of the SUB-D Plug The SUB-D plug corresponds to the CiA recommendation DS 102-1. Reserved pins aren t used. CAN_GND +5 V (optional) CAN_L CAN_GND not connected not connected Figure 1: Terminal assignment of 9-pole SUB-D plug A 5 Volt supply can optionally be put on pin 1 and/or 9 by means of soldering jumpers. Through this it is possible to provide e.g. a bus converter TJA1054 from the PCAN-Dongle. PCAN-Dongle (IPEH-002015/19) By setting the soldering jumper JP8 either pin 1, pin 9 or pins 1 and 9 can be put on 5 Volts. Please take into account that by this intervention the guarantee expires. A short-circuit between 5 V and CAN-GND can lead to the defect of the PC. PEAK- System Technik doesn't assume any liability for such damages. Figure 2: Setting the soldering jumpers for output of 5 Volts on pin 1 and/or pin 9 at the PCAN-Dongle Page 5 of 10

PCAN-Dongle with Opto Coupler (IPEH 002020) The PCAN-Dongle with opto coupler has only pin 1 for the output of 5 volt at its disposal. Please take into account, that the voltage is generated by a DC/DC converter, which can deliver only a very low electrical power. By this intervention the guarantee of the adapter expires. PEAK-System Technik doesn't assume any liability for damages. Figure 3: Setting the soldering jumper for output of 5 Volts on Pin 1 at the PCAN-Dongle with opto coupler Page 6 of 10

4 CANVIEW for DOS The program CANVIEW being enclosed in the package is a CAN bus monitor under DOS, supporting different SJA1000/82C200 based PC hardware extensions of the company PEAK- System Technik. It makes possible the sending and receiving of CAN messages. As base software it represents the Light version of the CANMON for DOS. Existing nets are quickly checked or built up with CANVIEW. Note: As of Pentium III > 400 MHz you should use only program releases > version 3.0 4.1 Program Configuration Start CANMON under DOS. Enter the port address of the parallel interface and the interrupt. Choose your desired baud rate. If your computer has an ECP interface at its disposal and the corresponding functionality is activated, you can select the DONGLE-CAN EPP mode. If you should have problems with that, choose the DONGLE-CAN mode. By pressing the F10 key the Dongle is configured and linked into the CAN net. If the error message "CAN controller 82C200 not found" is displayed, then check the interrupt and the used port address as well as the selected hardware type, please. An online help is obtainable with the F1 key at any time. PC-ISA-CAN Figure 4: Screen shot CANVIEW Page 7 of 10

5 PCAN-View for Windows Start the program PCAN_DNG.EXE from the floppy disk and follow the instructions. After the installation procedure and the needed restart of your computer the entry PCAN-Dongle can be found in the Programs menu. You can start the program PCAN-View there. Please enter the port address as well as the interrupt of the used parallel port (see Device Manager of Windows) at the first start. Choose the type of the parallel interface and confirm the input. If the mode of the parallel port is set to ECP in the BIOS, you can also sign on the PCAN-Dongle as PEAK Dongle-CAN for SJA EPP. Figure 5: Selection of the hardware resources Select the desired baud rate and confirm the input. Figure 6: Selection of CAN specific parameters If you need further help after the program start, use the online help (F1) enclosed with the program. Page 8 of 10

6 PCAN Light All files located in the PCAN-Light directory are designed only for developers. They serve exclusively for the connection of own programs to PEAK-System Technik hardware via the installed device driver software under Win9x/ME/NT/2000/XP. The device driver software, the interface DLL as well as all other files needed for the connection are property of the PEAK-System Technik GmbH and may be used only in connection with a hardware bought at the PEAK-System Technik GmbH or one of its partners. Should a CAN hardware of third party suppliers be compatible to a PEAK-System Technik hardware, you are not allowed to use or to pass on the PEAK-System Technik driver software. PEAK-System Technik assumes no liability and no support for the PCAN Light driver software and the necessary interface files. If third party suppliers develop software based on the PCAN Light driver software and problems appear at use of this software, please consult the software provider. To obtain development support, you must own a PCAN-Developer or PCAN-Evaluation version. You can find header files and examples in the directory PCAN Light, to create applications of one's own with the Light driver software. Please obtain the exact documentation of the interface (API) from the respective header files. 6.1 Overview of the API Functions DWORD CAN_Init(WORD BTR0BTR1, int CANMsgType, int CANHwType, DWORD IO_Port, WORD Interupt); Activates a hardware, carries out register tests of the SJA1000, allocates a send buffer and a hardware handle. Programs the configuration of the send/receive drivers. Parameters: - Baud rate register BTR0BTR1 - Message type CANMsgType = 0 11 bit ID operation CANMsgType = 1 11/29 bit ID operation - Hardware type HW_DONGLE_SJA PCAN-Dongle SJA1000 MUX mode HW_DONGLE_SJA_EPP PCAN-Dongle SJA1000 EPP mode - Port address e.g. 0x378 - Interrupt e.g. 0x07 Possible errors: NOVXD ILLHW REGTEST RESOURCE Page 9 of 10

DWORD CAN_Close(void); End everything and deallocate the hardware. Possible errors: NOVXD DWORD CAN_Status(void); Return the hardware s current status (e.g. BUS-OFF) Possible errors: NOVXD BUSOFF BUSHEAVY OVERRUN DWORD CAN_Write(TPCANMsg* pmsgbuff); Writes a message of the format: typedef struct { DWORD ID; // ID BYTE MSGTYPE; // Message type BYTE LEN; // Data length 0-8 BYTE DATA [8]; // Data bytes } TPCANMsg; Possible errors: NOVXD RESOURCE BUSOFF QXMTFULL DWORD CAN_Read(TPCANMsg* pmsgbuff); Returns the next message or the next error from the client s RCV queue. The message is written to 'msgbuff'. Possible errors: NOVXD QRCVEMPTY DWORD CAN_VersionInfo(LPSTR lpsztextbuff); Returns a string with information about version and copyrights (max. 255 characters). Possible errors: NOVXD Note: You can find more information in the file PCAN_DNG.HLP on floppy disk. Page 10 of 10