Home
Handbuch: CAN Interface PC104 passiv
Contents
1. CAN PC Interface CPC 104M User Manual Sonnenhang 3 E M S D 85304 llmm nster A Tel 49 8441 490260 THOMAS WUNSCHE Fax 49 8441 81860 CPC 104M User Manual Documentation for CAN Interface CPC 104M Document version 1 4 Documentation date September 18th 2008 No part of this document or the software described herein may be reproduced in any form without prior written agreement from EMS Dr Thomas W nsche For technical assistance please contact EMS Dr Thomas Wunsche Sonnenhang 3 D 85304 Ilmmunster Tel 49 8441 490260 Fax 49 8441 81860 Email support ems wuensche com Our products are continuously improved Due to this fact specifications may be changed at any time and without announcement WARNING CPC 104M hardware and software may not be used in applications where damage to life health or private property may result from failures in or caused by these components ii EMS Dr Thomas W nsche User Manual CPC 104M CPC 104M User Manual Contents THIS PAGE INTENTIONALLY LEFT BLANK 1 Overview 1 1 11 AttribUuteS 02 5 Beha A Gl a ee ada 1 1 2 General Description 1 1 3 Ordering Information 3 2 Programming Interface 5 3 Electrical Characteristics 11 3 1 Absolute Limiting Values 11 3 2 Nominal Values 11 4 Operating Instructions 13 4 1 Pin Configuration of CA
2. oe demo esal oncon Hala 1 3 J7 iaa pea ya pa wnr eds oon Elis 2 4 J8 tae 1 TE l joe 3 stl nhesonion 151 l tapete ih e i Ocio AM aa poso 11200 Al 1 4 T 1 tEAM a I H I DRAN IH l da al a i apeti LL deco 4 I 4 up 1 ub 1 OCEDICh al H ODEDOCH ALA Figure 2 Selection of the memory base address Jumper bank J11 determines the used interrupt channel The settings can be seen in figure 3 the configuration for interrupt channel 5 is shown It is not allowed to set more than one jumper on this bank Jumper Allocation 1 E rome Figure 3 Interrupt settings EMS Dr Thomas W nsche 15 16 EMS Dr Thomas W nsche User Manual CPC 104M CPC 104M 4 3 Installation CPC 104M may be installed in the board stack of a PC 104 system only To avoid damage please pay attention to the following hints WARNING Computer devices and components are sensitive against static discharge For this reason keep CPC 104M in the antistatic cover until installing Just before removing CPC 104M from the protection cover touch the metal case of your computer Avoid damage by achieving equal potential between all devices on the CAN before plugging the connection To the CAN adapter cable of CPC 104M only CAN networks with a connector and electrical characteristics complying with CIA DS 102 may be attached PC interface and CAN bus are not galvanic decoupled in the standard version of CPC 104M Use in systems with diverging ground poten
3. galvanic decoupling Please refer to the Ordering Information section for more details Configurations not listed may be available on request EMS Dr Thomas W nsche 1 EMS Dr Thomas W nsche Sy9sunA SEWOUL JQ SINA SYOSUNA sewoyL JQ SWA Order Number Description Channel CAN Potential 2 3 1 2 3 4 10 10 200 20 CPC 104M SJA1000S H 10 10 201 20 CPC 104M SJA1000S 7 i 4 P E GTI 10 10 210 20 CPC 104M SJA1000D Xx H H 10 10 211 20 CPC 104M SJA1000D x i 1 2 1 2 i z GTI 10 10 212 20 CPC 104M SJA1000D x i q 2 y i GTIS 10 10 230 20 CPC 104M SJA1000Q X X H H H H 10 10 231 20 CPC 104M SJA1000Q Xx x 1 4 14 14 14 GTI 10 10 232 20 CPC 104M SJA1000Q x x 4 2 3 4 GTIS H Host potential 1 2 3 4 Potential of CAN channel 1 2 3 4 1 2 1 4 Channel 1 and 2 1 to 4 share potential uoewoyzuj BuLapiO MNV1d L441 ATIVNOILNALNI S9Vd SIHL enue asn Wv0l Od9 Wv0l Dd9 lenuen asn User Manual CPC 104M CPC 104M User Manual 2 Programming Interface The configuration registers are described in CPC 104M is mapped into the PC memory the following table space at a base address in the area from C0000h to DEOOOh occupies a range of 1536 Address Access Description Bytes and allows 8 bit accesses to its Offset registers The availability of the CAN contr
4. N Connector 13 4 2 Configuration o 14 4 3 InstallatiOM 17 EMS Dr Thomas W nsche iii iv EMS Dr Thomas W nsche User Manual 1 Overview 1 1 Attributes CPC 104M e CAN interface for industrial applications e CiA DS 102 and ISO 11898 compatible physical layer e Equipped with one to four NXP SJA1000 CAN controllers e Galvanic decoupling between PC and CAN bus optional e Easy programming based on direct mapping of CAN controller registers into PC memory area e Automatic address range detection by memory managers 1 2 General Description CPC 104M is a CAN interface module for PC 104 based systems Designed for industrial series applications CPC 104M has a robust and cost efficient construction CPC 104M supports up to 4 NXP SJA1000 CAN controllers CPC 104M maps the CAN controllers into the PC address space and thus allows access to CAN messages with low latency Existing software for the supported CAN controllers can easily be adapted With CPC 104M the CAN communication may be handled either in interrupt controlled or in polled mode the interrupt channels 3 7 9 12 14 and 15 are available CPC 104M can optionally be delivered with galvanic decoupling to the CAN bus In this CPC 104M User Manual case power for the DC DC converter is derived from the 5V PC 104 line CPC 104M is available in different configurations regarding CAN channel count and
5. a CPC 104M SJA1000Q GTIS at 1 MBit and nominal terminated bus lines This voltage is measured against the ground potential of the CAN transceiver EMS Dr Thomas W nsche 11 12 EMS Dr Thomas W nsche User Manual CPC 104M 4 Operating Instructions 4 1 Pin Configuration of CAN Connector The CAN interface connector D Sub 9 male of the adapter cable complies to CiA Standard DS 102 The pin usage is detailed in the following table Pin 1 Reserved by CiA Pin 2 CAN L CAN_L bus line dominant gt low Pin 3 GND Ground Pin 4 Reserved by CiA Pin 5 Reserved by CiA Pin 6 Optional ground inter GND nally connected to Pin 3 Pin 7 CAN_H bus line SANJ dominant high Pin 8 Reserved by CiA Pin 9 _ Reserved by CiA User Manual 4 2 Configuration The configuration of the address space and the used interrupt channel is achieved by jumpers on CPC 104M Their positions on the board is shown in figure 1 36 J5 J10 J5 Figure 1 Jumper locations J7 EMS Dr Thomas W nsche 13 EMS Dr Thomas W nsche CPC 104M CPC 104M User Manual The base address is set with jumper bank J2 The following table shows the CAN Connector The possible selections are listed in figure 2 allocation Bise cubra dI Bas address J2 ieee i yaa 1 acme AA 000000 ae Channel Connector p 4
6. f CAN 2 is inactive controller 1 Interrupt of CAN 2 is active 1 0 CAN controller unmapped into memory address range 2 1 CAN controller mapped into memory 1 Interrupt of CAN 3 is active address range 0 Interrupt of CAN 3 is inactive 0 Interrupt of CAN 4 is inactive Tr 3 Write accesses to the control register initiate actions within CPC 104M The following table t ip interupr or CAN 3 cis shows the transmitted data and the resulting 4 7 Reserved action Control Register Value Function Interrupt Enable Register Write 0 Hardware reset of CAN controller A Bit Value Description write of O generates a reset pulse of 7 adequate length 10 Disable CAN 1 interrupt 2 Unmap CAN controllers from memory 1 0 11 Enable CAN 1 interrupt address range 00 01 Command ignored 3 Map CAN controllers into memory a address range write twice to take 19 Disable CAN 2 interrupt effect 3 2 11 Enable CAN 2 interrupt Initialization of the CAN controller and CAN 00 01 Command ignored communication are done by accesses to the EMS Dr Thomas W nsche 7 8 EMS Dr Thomas W nsche User Manual CPC 104M CPC 104M User Manual Interrupt Enable Register Write THIS PAGE INTENTIONALLY LEFT BLANK Bit Value Description 10 Disable CAN 3 inter
7. oller registers in the memory area makes the CAN 0 Read Read Constant 55h for communication direct and provides a low Write card detection latency time The memory occupied by Write Control register CPC 104M is divided into two subranges The first subrange contains the configuration 1 Read a AAh for card registers of the card and starts at the base plection address The second subrange allows access 2 Read Encoding of occupied to the CAN controllers and has 100h Bytes memory range in units offset to the base address of 512 Byte 3 Read Constant CBh for card po Description detection 4 Read Identification of CAN 0x000 Internal register controller constant 08h 0x100 CAN controller 1 for SJA1000 0x200 CAN controller 2 9 Rosy piss iioel sia 7 Read Int t bl ist 0x300 CAN controller 3 i A A gn Write 9x400 CeNconrelle4 8 Read Interrupt register 9 Read CPLD Version EMS Dr Thomas W nsche 5 6 EMS Dr Thomas W nsche User Manual CPC 104M CPC 104M User Manual CAN controller registers The register description may be taken from the data sheet The status register contains the actual state of CPC 104M The bits have the following Ore DAP Sue eee Mole meaning Interrupt Register Status Register Bit Value Description Bit Indication 7 0 Interrupt of CAN 1 is inactive 0 0 Hardware reset inactive at CAN 1 Interrupt of CAN 1 is active controller 1 Hardware reset active at CAN 4 0 Interrupt o
8. rupt 5 4 11 Enable CAN 3 interrupt 00 01 Command ignored 10 Disable CAN 4 interrupt 7 6 11 Enable CAN 4 interrupt 00 01 Command ignored Interrupt Enable Register Read Bit Value Description l 00 Interrupt of CAN 1 is disabled ee 01 Interrupt of CAN 1 is enabled 00 Interrupt of CAN 2 is disabled oe 01 Interrupt of CAN 2 is enabled 00 Interrupt of CAN 3 is disabled me 01 Interrupt of CAN 3 is enabled 00 Interrupt of CAN 4 is disabled ea 01 Interrupt of CAN 4 is enabled Due to the board design the clock divider register CDR has to be initialized with 0x07 for BasicCAN or 0x87 for PeliCAN mode on all CAN controllers EMS Dr Thomas W nsche 9 10 EMS Dr Thomas W nsche User Manual CPC 104M CPC 104M User Manual 3 Electrical Characteristics THIS PAGE INTENTIONALLY LEFT BLANK 3 1 Absolute Limiting Values Any also temporary stress in excess of the limiting values may cause permanent damage on CPC 104M Parameter Min Max Unit Storage temperature 40 85 C Operating temperature 40 85 C Voltage on the bus 30 30 V connections Current across ground 1 A connection 3 2 Nominal Values Parameter Min Typ Max Unit Power supply on 4 75 5 5 25 V Pin B29 of the PC 104 connector Current 250 mA consumption on Pin B29 of the PC 104 connector Voltage on bus 30 30 V pins Clock frequency 16 MHz Measured with 80 bus load generated by
9. tial of PC and CAN bus is not permitted in this case Besides the instructions mentioned in this manual carefully observe the instructions in your computers users manual If you are not sure about the installation please contact EMS Dr Thomas W nsche User Manual Execute the following steps for installation Disconnect your computer from the power line Open the case of your computer and locate the correct position on the PC 104 stack Plug CPC 104M carefully onto the PC 104 stack until it is completely sea ted Fix CPC 104M with the proper mounting material Attach the adapter cable connector to an appropriate position in the computers case and close the case EMS Dr Thomas W nsche 17 18 EMS Dr Thomas W nsche
Download Pdf Manuals
Related Search
Related Contents
Belkin FastFit Lutron MA-LFQHW-WH Instructions / Assembly ACTi ALPR Server 1 anexo 1 comercial y técnico del contrato de claro empresas y red LG 50LB5900 Energy Guide : Free Download, Borrow, and Streaming : Internet Archive Targus Notepad Folio Zanussi ZDM 891 Instruction Booklet Document SM Pro Audio PR8E Bedienungsanleitung Deutsch CVCC直流可変電源 - PRODUCT SEARCH サービス終了のお知らせ Copyright © All rights reserved.
Failed to retrieve file