Page 1
PCAN-PC/104 CAN Interface for PC/104 User Manual V2.2.3...
Page 2
IPEH-002057 opto-decoupled isolation for CAN connections The cover picture shows the product PCAN-PC/104 Dual Channel opto-decoupled. Other product models have an identical form factor but vary in equipment. CANopen® and CiA® are registered community trade marks of CAN in Automation e.V.
PCAN-PC/104 – User Manual Contents Introduction Properties at a Glance System Requirements Scope of Supply Installing and Configuring the Software and the Card Configuring the Card 2.1.1 Interrupt 2.1.2 I/O Address Range Installing the Software and the Card Modifying the Computer's BIOS Settings 2.3.1...
Page 4
PCAN-PC/104 – User Manual 4.2.2 Principle Description of the API 4.2.3 Notes about the License Technical Specifications PCAN-PC/104 Appendix A CE Certificate Appendix B Dimension Drawing Appendix C Quick Reference...
PCAN-PC/104 – User Manual Introduction The PCAN-PC/104 is a compact PC/104 CAN card which allows the networking of one or two CAN busses to a PC/104 system. Device drivers and programming interfaces exist for different operating systems, so programs can easily access a connected CAN bus.
Extended operating temperature range of -40 to +85 °C (-40 to +185 °F) Note: This manual describes the use of the PCAN-PC/104 card with Windows. You can find device drivers for Linux and the corresponding application information on the provided DVD in the directory branch Develop and on our website under www.peak-system.com/linux.
PCAN-PC/104 – User Manual Scope of Supply PCAN-PC/104 card Slot bracket with D-Sub connector(s) for the CAN bus connection Device drivers for Windows 8, 7, Vista, XP (32-bit) and Linux (32-bit) Device driver for Windows CE 6.x (x86 and ARMv4 processor support)
Installing and Configuring the Software and the Card This chapter covers the configuration, the software setup for the PCAN-PC/104 card under Windows, and the card installation in the computer. Configuring the Card Before installing the PCAN-PC/104 card into the computer you may need to configure it.
JP1 for CAN channel 1 and jumper field JP2 for CAN channel 2 (latter refers only to the Dual Channel model). The PCAN-PC/104 card supports the inter- rupts 3, 4, 5, 7, 10, 11, 12, and 15. The default setting at delivery for CAN channel 1 is interrupt 10, for CAN channel 2 interrupt 5.
Each CAN channel must be assigned to an unique I/O address range in the computer. An address space from 200h up to 39Fh and 3E0h to 3FFh (h = hexadecimal) is available. PCAN-PC/104 uses 32 addres- ses beginning from the configured base address. The configuration is done on jumper field JP3 for CAN channel 1 and jumper field JP4 for CAN channel 2 (latter refers only to the Dual Channel model).
Windows onto the hard disk together with the driver, you have the option to start the program later directly from DVD without prior installation. Do the following to install the PCAN-PC/104 card in the computer: Attention! Electrostatic discharge (ESD) can damage or destroy components on the PCAN-PC/104 card.
BIOS settings described in the following section. Modifying the Computer's BIOS Settings To ensure a flawless operation of the PCAN-PC/104 card it is neces- sary that you adjust settings in the BIOS setup of the computer: Indicate used interrupts...
2.3.1 Indicating Used Interrupts By indicating the interrupts that are set on the PCAN-PC/104 card, you avoid that the corresponding resources are automatically assigned to other devices and that this results in conflicts. In the BIOS setup itself you can often find the settings for the interrupts under a menu item containing the text “PnP”.
Page 15
PCAN-PC/104 – User Manual 11. Open the branch of Interrupt request (IRQ). If entries with interrupt numbers greater than 15 are listed, the APIC mode is active and you must deactivate it. Do the following to deactivate the APIC mode:...
PCAN-PC/104 – User Manual Connecting the CAN Bus D-Sub Connector A High-speed CAN bus (ISO 11898-2) is connected to the 9-pin D-Sub connector. The pin assignment corresponds to the specification CiA® 102. Figure 4: Pin assignment High-speed CAN (view onto connector of the slot bracket) With the pins 1 and 9 devices with low power consumption (e.g.
Page 17
PCAN-PC/104 – User Manual The pin assignment between the D-Sub port and the 10-pin connec- tor on the PCAN-PC/104 card is as follows: Figure 5: Numbering at the 10-pin connector Assignment Assignment D-Sub +5 V (optional) CAN_L CAN_H not connected...
PCAN-PC/104 card. Take precautions to avoid ESD when handling the card. Set the solder jumpers on the PCAN-PC/104 card according to the desired settings. During this procedure take especially care not to produce unwanted short circuits on the card.
Page 19
Attention! Risk of short circuit! If the option described in this section is activated, you may only connect or disconnect CAN cables or peripheral systems (e.g. an external bus converter) to or from the PCAN-PC/104 card while the computer is de- energized.
The PCAN-PC/104 card does not have an internal termination. Use the adapter on a terminated CAN bus. 3.3.2 Example of a Connection Figure 7: Simple CAN connection In this example, the PCAN-PC/104 card is connected with a control unit by a cable that is terminated at both ends.
PCAN-PC/104 – User Manual 3.3.3 Maximum Bus Length High-Speed-CAN networks may have bit rates of up to 1 Mbit/s. The maximum bus length is primarily depending on the bit rate. The following table shows the maximum CAN bus length at diffe-...
PCAN-PC/104 – User Manual Using the Software This chapter covers the provided software PCAN-View and the programming interface PCAN-Basic. PCAN-View for Windows PCAN-View for Windows is a simple CAN monitor for viewing, transmitting, and logging CAN messages. Figure 8: PCAN-View for Windows...
Page 23
PCAN-PC/104 – User Manual If you haven't installed PCAN-View together with the device driver, you can start the program directly from the supplied DVD. In the navigation program (Intro.exe) go to English > Tools, and under PCAN-View for Windows select the link Start.
Page 24
Figure 10: Selection of the hardware Select the connected hardware and the operating mode from the list Type of CAN hardware, in this case PEAK ISA- CAN SJA. Enter the I/O Address and the Interrupt, as they are set on Configuring the the PCAN-PC/104 card (see section 2.1...
PCAN-PC/104 – User Manual 4.1.1 Receive/Transmit Tab Figure 11: Receive/Transmit tab The Receive/Transmit tab is the main element of PCAN-View. It contains two lists, one for received messages and one for the transmit messages. Representation of CAN data is in hexadecimal format.
Page 26
PCAN-PC/104 – User Manual Figure 12: Dialog box New transmit message 10. Enter the ID and the data for the new CAN message. 11. The field Cycle Time indicates if the message shall be transmitted manually or periodically. If you want to transmit the message periodically, you must enter a value greater than 0.
PCAN-PC/104 – User Manual 4.1.2 Trace Tab Figure 13: Trace tab On the Trace tab the data tracer of PCAN-View is used for logging the communication on a CAN bus. During this process the CAN messages are cached in the working memory of the PC. Afterwards they can be saved to a file.
PCAN-PC/104 – User Manual 4.1.3 Status Bar Figure 14: Display of the status bar The status bar shows information about the current CAN connec- tion, about error counters (Overruns, QXmtFull), and shows error messages. You can find further information about the use of PCAN-View in the help which you can invoke in the program via the Help menu or with the F1 key.
On the provided DVD you can find files of the programming interface PCAN-Basic in the directory branch Develop. This API provides basic functions for linking own programs to CAN interfaces by PEAK-System and can be used for the following operating systems: Windows 8, 7, Vista, XP (32/64-bit) Windows CE 6.x (x86/ARMv4)
Use of up to 8 channels for each hardware unit (depending on the PEAK CAN interface used) Simple switching between channels of a PEAK CAN interface Driver-internal buffering of 32,768 messages per CAN channel Precision of time stamps on received messages up to 1 μs...
PCAN-PC/104 – User Manual 4.2.2 Principle Description of the API The PCAN-Basic API is the interface between the user application and device driver. In Windows operating systems this is a DLL (Dynamic Link Library). The sequence of accessing the CAN interface is divided into three phases: 1.
Notes about the License Device drivers, the interface DLL, and further files needed for linking are property of the PEAK-System Technik GmbH and may be used only in connection with a hardware component purchased from PEAK-System or one of its partners. If a CAN hardware component...
NXP SJA1000 Transceiver NXP PCA82C251 Galvanic isolation PCAN-PC/104: none PCAN-PC/104 opto: up to 500 V, separate for each CAN channel Supplying external PCAN-PC/104: D-Sub pin 1/9; 5 V, max. 100 mA devices PCAN-PC/104 opto: D-Sub pin 1/9; 5 V, max. 50 mA...
Page 34
Measures Size 96 x 91 x 24 mm (see also dimension drawing Appendix B on page 36) Weight PCAN-PC/104 Single Channel: 57 g PCAN-PC/104 Dual Channel: 63 g PCAN-PC/104 Single Channel opto: 59 g PCAN-PC/104 Dual Channel opto: 65 g...
320h – 33Fh Dual Channel model only Software/Hardware Installation under Windows Before installing the PCAN-PC/104 card in the PC/104 stack, please setup the corresponding software package from the supplied DVD (with administrator privileges). After switching on the computer enter the BIOS setup. In the PnP table mark the interrupts used by the PCAN-PC/104 card as reserved.
Need help?
Do you have a question about the PCAN-PC/104 and is the answer not in the manual?
Questions and answers