background image

Kvaser PCIcan Hardware Reference Manual 

 

9(21) 

                            

Kvaser AB, Mölndal, Sweden — www.kvaser.com 

 

 

On  PCIcan-SWC2  and 

–SWC1  the  CAN  bus  drivers  are  of  AU5790c  type

.  The  bus  driver 

requires an external power source.

 

 
The  CAN  bus  is  galvanically  isolated  from  the  card  by  means  of  fast  optocouplers.    These 
optocouplers introduce a small signal delay and decreases the maximum allowed bus length 
somewhat. 
 
For PCIcan-S, PCIcan-D, and PCIcan-Q, the optocouplers allow for a CAN bus speed up to 1 
Mbit/s. 
 
 

5.3  Selecting Driver Ground (PCIcan-Q only) 

 

Using switch pack SW1  you can connect the  grounds at the driver part to the ground of the 
PC. This is normally not necessary but it may sometimes be advantageous. 
 
Switch pack SW1 is the small switch pack located near the 25-pin DSUB connector. 
 

Table 1.

 Switch Pack 1. 

SW3 

Function

 

ON: PC ground and the ground of CAN driver #1 and #2 are 
connected. 
OFF: PC ground and the ground of CAN driver #1 and #2 are 

not

 

connected. 
Default is OFF. 

ON: PC ground and the ground of CAN driver #3 and #4 are 
connected. 
OFF: PC ground and the ground of CAN driver #3 and #4 are 

not

 

connected. 
Default is OFF. 

Not used. Default is OFF. 

 
Factory settings are: all switches OFF, meaning that the PC, and the CAN controller circuits, 
are galvanically isolated from the CAN bus. 
 

5.4  The Common CAN Bus (PCIcan-Q only) 

 

Using switch pack SW2, you can connect the four different CAN buses to one single bus on 
the  board.    This  common  CAN  bus  is  also  accessible  at  the  DSUB  connector.    This  allows 
communication between two or more of the circuits on the card without having to connect any 
cables. 
 
Switch pack SW2 is the large switch pack near the 25-pin DSUB connector. 
 

Table 2.

 Switch Pack 2. 

SW2- 

When set to ON, it connects...

 

 1 

On-board terminating resistance to common CAN-L. 

 2 

On-board terminating resistance to common CAN-H. 

 3 

CAN-L of SJA1000 #1 to common CAN-L. 

 4 

CAN-H of SJA1000 #1 to common CAN-H. 

 5 

CAN-L of SJA1000 #2 to common CAN-L. 

 6 

CAN-H of SJA1000 #2 to common CAN-H. 

Содержание PCIcan

Страница 1: ... 2010 We believe that the information contained herein was accurate in all respects at the time of printing Kvaser AB cannot however assume any responsibility for errors or omissions in this text Also note that the information in this document is subject to change without notice and should not be construed as a commitment by Kvaser AB ...

Страница 2: ...Kvaser PCIcan Hardware Reference Manual 2 21 Kvaser AB Mölndal Sweden www kvaser com This page is intentionally left blank ...

Страница 3: ...ernal power supply PCIcan SWC2 and SWC1 10 5 6 CAN Bus Termination PCIcan Q 10 5 7 CAN Bus Termination PCIcan D S 10 5 8 CAN Bus Termination PCIcan LS2 LS1 SWC2 SWC1 10 5 9 The D SUB connector s 11 5 10 Intended Audience 13 5 11 Additional Documentation 13 5 12 A note on the different PCIcan versions 14 5 13 The PCI bus controller 14 5 14 Address decoding 14 5 15 Interrupts 15 5 16 Registers in th...

Страница 4: ... recommended for new designs Instead we recommend our PCIcanx devices which are fully software compatible with the PCIcan devices The PCIcanx devices are described in another document please refer to our web site 2 2 General Description KVASER s PCIcan cards for CAN systems feature up to four CAN controllers The outputs from the CAN circuits are connected to a 25 pin DSUB PCIcan Q or one or two 9 ...

Страница 5: ...eference Manual 5 21 Kvaser AB Mölndal Sweden www kvaser com 2 3 PCIcan Features Up to four CAN circuits on one card Optical isolation between the card and the CAN buses DC DC power supply to galvanically isolated bus drivers ...

Страница 6: ...lock frequency 16 MHz CAN Bus Driver s Drivers PCIcan Q D S Philips 82C251 compliant with the ISO 11898 standard PCIcan LS2 LS1 Philips TJA1053 PCIcan SWC2 SWC1 Philips AU5790c Voltage feed The drivers are galvanically separated selectable by switches from the power supply on the PC by on board DC DC converters Grounding The ground of the CAN drivers is available at the DSUB connector On the PCIca...

Страница 7: ...IRQ A CAN 1 CAN 2 equal to CAN 1 CAN 3 equal to CAN 1 CAN 4 equal to CAN 1 120 Ohm Common on board CAN bus CAN Bus Connector D SUB Figure 1 Block diagram for PCIcan Q CAN Driver CAN Driver Optocoupler DC DC Converter CAN Controller SJA1000 CAN Controller SJA1000 PCI Bridge AMCC S5920 PCI Bridge AMCC S5920 PCI Bus Connector PCI Bus Connector IRQ A CAN 1 CAN 2 equal to CAN 1 only on PCIcan D CAN Bus...

Страница 8: ...below 2 connect any of the four CAN channels to a common CAN bus and possibly terminate the common bus see The Common CAN Bus PCIcan Q only below After you have configured the switches power down the computer insert the board into an empty PCI slot and power up the computer Figure 3 The switches on the PCIcan Q board 5 2 The CAN Bus On PCIcan Q D and S the CAN bus drivers are 82C251 type and compl...

Страница 9: ...C ground and the ground of CAN driver 1 and 2 are not connected Default is OFF 2 ON PC ground and the ground of CAN driver 3 and 4 are connected OFF PC ground and the ground of CAN driver 3 and 4 are not connected Default is OFF 3 Not used Default is OFF Factory settings are all switches OFF meaning that the PC and the CAN controller circuits are galvanically isolated from the CAN bus 5 4 The Comm...

Страница 10: ...ermination PCIcan Q A selectable CAN bus termination is built in on the PCIcan Q boards You activate it by setting switches 1 and 2 on switch pack 1 to ON The termination works only on the common CAN bus The four individual CAN busses are not affected by the built in termination To avoid signal reflections at the bus ends terminating resistors must be mounted at both ends of the CAN bus The on boa...

Страница 11: ...pin DSUB connector on the PCIcan Q Pin Function 1 2 Ground to CAN drivers 1 and 2 14 15 Ground to CAN drivers 3 and 4 4 CAN L for the common CAN bus 16 CAN H for the common CAN bus 5 CAN L for CAN 1 19 CAN H for CAN 1 7 CAN L for CAN 2 21 CAN H for CAN 2 9 CAN L for CAN 3 23 CAN H for CAN 3 11 CAN L for CAN 4 25 CAN H for CAN 4 ...

Страница 12: ... kvaser com Table 4 The 9 pin DSUB connector s on PCIcan S D LS2 and LS1 Pin Function 2 CAN L 7 CAN H 3 Signal ground Table 5 The 9 pin DSUB connector s on PCIcan SWC2 and SWC1 Pin Function 7 CAN H 3 Signal ground 9 Vcc for the SWC driver You need to supply 12V DC on this pin ...

Страница 13: ...ou would choose to use the supporting device drivers available for the PCIcan card Refer to the CANLIB Software Development Kit documentation for further information on these device drivers from a programmer s point of view 5 11 Additional Documentation This document includes all information you need to use the circuits on the card However the circuits themselves are not described here so informat...

Страница 14: ...ferent members of the PCIcan family are explicitly noted wherever they occur 5 13 The PCI bus controller All PCIcan boards use the same PCI controller which is an S5920 from AMCC The PCI controller is responsible for address decoding and interrupt steering The initialization of the PCI controller is outside the scope of this manual Typically it is carried out by the operating system and or the BIO...

Страница 15: ...ne PCI bus interrupt INTA It is asserted whenever one or more SJA1000 s have their interrupts active To reset an active interrupt read the interrupt status register in all present SJA1000s the interrupt of the corresponding SJA1000 will then automatically clear To check the status of the interrupt line test the INTERRUPT ASSERTED bit number 23 in the INTCSR register in the S5920 To enable or disab...

Страница 16: ...dor Id 0 Subsystem Device Id 0 5 18 Configuration of the SJA1000 Refer to the SJA1000 data sheet for all details on how to program the SJA1000 You need to know the following RX1 is connected to ground TX1 is not connected CLKO is not connected Setting the OCR register to 0xDA is a good idea This means normal output mode push pull and the correct polarity In the CDR register you should set CBP to 1...

Страница 17: ...examples for Windows 95 98 ME and Windows NT 2000 XP The software is distributed separately and is not further documented here Please refer to the documentation that is packaged with the software The software and its documentation are available from our web site http www kvaser com In addition online support is available from our web site http www kvaser com ...

Страница 18: ...ips SJA1000 Stand Alone CAN Controller Preliminary Specification 1997 Nov 04 Also available on the web Shanley T and Anderson D PCI system architecture fourth edition MindShare Inc ISBN 0 201 30974 2 Available from e g Annabooks www annabooks com http www kvaser com contains much information on CAN and has many links to other sites with CAN information You can also download new versions of the sof...

Страница 19: ... CE Marking Directive This line of products has been CE marked We will be pleased to inform you on which standards this equipment has been tested for compliance NOTE This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equi...

Страница 20: ...9 Document revision history Revision Date Changes 1 2006 02 Original revision 2 2006 11 10 Reviewed New layout new dsub connector pics 3 2008 12 01 Updated legal information Added paragraph stating that the PCIcan devices are no longer recommended for new designs use the PCIcanx instead ...

Страница 21: ...Kvaser PCIcan Hardware Reference Manual 21 21 Kvaser AB Mölndal Sweden www kvaser com ...

Отзывы: