background image

Kvaser PCIcan Hardware Reference Manual 

 

10(21) 

                            

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

 

 

SW2- 

When set to ON, it connects...

 

 7 

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

 8 

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

 9 

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

10 

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

 
All switches are set to ON when the product is delivered. This means that all CAN buses and 
the terminator are connected to the common bus. 
 
 

5.5  External power supply (PCIcan

–SWC2 and –SWC1) 

 
The  PCIcan

–SWC2  and  –SWC1  have  a  type  of  CAN  bus  driver  that  under  certain 

circumstances can consume a lot of power. For this reason the bus drivers in these cards are 
not powered from the PC. You must supply power to the bus driver from an external source. 
 
The  power  shall  be  supplied  to  pin  9  on  the  D-SUB  connector  (s).  For  PCIcan-SWC2  you 
need to supply power to 

both

 connectors. 

 
The voltage is n12V DC (min 5.5V, max 26.5V.) Current consumption may go up to 
200 mA per bus under certain circumstances. 
 
 

5.6  CAN Bus Termination (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-board  termina

ting  resistor  is  120Ω,  which  is  the  standard  for 

CAN  buses,  and  should  work fine  for  most  cables.  Please  observe  that this  internal  resistor 
can  only  be  used  if  the  board  is  placed  at one  of  the  ends  of  the  CAN-bus.  The  terminating 
resistor is only available from the on-board 

common

 CAN-bus.  

 
The terminating resistors also serves as a load between the CAN bus wires; this is needed for 
the ISO 11898 compliant bus drivers to work properly. 
 
 

5.7  CAN Bus Termination (PCIcan-D, -S) 

 
The PCIcan-S and PCIcan-D do not have built-in termination as standard. There is room for 
mounting  terminating  resistors  (R1,  R3)  which  are  located  very  close  to  the  9-pin  DSUB 
connector(s). 
 
 

5.8  CAN Bus Termination (PCIcan-LS2, -LS1, -SWC2, -SWC1) 

 
No separate bus termination is needed for these boards.  
 
 

Summary of Contents for PCIcan

Page 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 ...

Page 2: ...Kvaser PCIcan Hardware Reference Manual 2 21 Kvaser AB Mölndal Sweden www kvaser com This page is intentionally left blank ...

Page 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...

Page 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 ...

Page 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 ...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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 ...

Page 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 ...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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 ...

Page 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...

Page 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...

Page 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 ...

Page 21: ...Kvaser PCIcan Hardware Reference Manual 21 21 Kvaser AB Mölndal Sweden www kvaser com ...

Reviews: