PCAN-PC/104 CAN Interface for PC/104 User Manual Document version 2.6.0 (2019-03-06)
Page 2
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. PCAN® is a registered trademark of PEAK-System Technik GmbH. 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 Configuration and Installation Configuring the Card 2.1.1 Interrupt 2.1.2 I/O Address Range Installing the Software Installing the Hardware Modifying the Computer's BIOS Settings 2.4.1 Indicating Used Interrupts 2.4.2 Deactivating the APIC Mode Connecting the CAN Bus...
Page 4
PCAN-PC/104 – User Manual Linking Own Programs with PCAN-Basic 4.2.1 Features of PCAN-Basic 4.2.2 Principle Description of the API 4.2.3 Notes about the License Technical Specifications Appendix A CE Certificate Appendix B Dimension Drawing Appendix C Quick Reference...
PCAN-PC/104 – User Manual Introduction The PCAN-PC/104 card enables the connection of one or two CAN networks to a PC/104 system. Multiple PCAN-PC/104 cards can easily be operated using interrupt sharing. The card is available as a single or dual-channel version. The opto- decoupled versions also guarantee galvanic isolation of up to 500 Volts between the PC and the CAN sides.
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. System Requirements PC/104 stack with ISA bus (according to the PC/104 specification) Operating system Windows 10, 8.1, 7 (32-bit),...
PCAN-PC/104 – User Manual Scope of Supply PCAN-PC/104 card Slot bracket with D-Sub connectors for the CAN bus Device drivers for Windows 10, 8.1, 7 (32-bit) and Linux (32/64-bit) Device driver for Windows CE 6.x (x86 and ARMv4 processor support) CAN monitor PCAN-View for Windows CAN monitor PCAN-View for DOS Programming interface PCAN-Basic for developing applications...
PCAN-PC/104 – User Manual Configuration and Installation 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.
PCAN-PC/104 – User Manual 2.1.1 Interrupt An interrupt (IRQ) must be assigned to each CAN channel. This is done with a single jumper on jumper field JP1 for CAN channel 1 and jumper field JP2 for CAN channel 2 (latter refers only to the Dual Channel model).
PCAN-PC/104 – User Manual 2.1.2 I/O Address Range 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.
"Installer database of PEAK Drivers". The driver setup starts. Follow the program instructions until the Costum Setup is displayed. Figure 3: Driver selection in the PEAK-Drivers Setup Deselect the CAN device drivers and select CAN device drivers Non-Plug-and-Play (see Figure 3).
PCAN-PC/104 – User Manual Node: The CAN device drivers Non-Plug-and-Play is only available under 32-bit Windows. PCAN-PC104 does not work under 64-bit Windows. Follow the further instructions. Installing the Hardware Do the following to install card into the PC/104 stack: Attention! Electrostatic discharge (ESD) can damage or destroy components on the card.
Page 14
PCAN-PC/104 – User Manual Figure 4: Connectors for the flat cables to the CAN connectors, J3 for CAN channel one (lower position), J4 for CAN channel 2 (upper position, Dual Channel model only)
PCAN-PC/104 – User Manual 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 Deactivate the APIC mode Note: Due to a diversity of existing BIOS setup versions for computers we cannot give detailed instructions here.
PCAN-PC/104 – User Manual 2.4.2 Deactivating the APIC Mode Note: Do not mix up APIC with ACPI. The APIC mode is a certain type of interrupt management in a computer. If the APIC mode is active in your computer, you must deactivate it so that the PCAN-PC/104 card can work properly with interrupts.
PCAN-PC/104 – User Manual Connecting the CAN Bus Connection over 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® 303-1. Figure 5: Pin assignment High-speed CAN (view onto connector of the slot bracket) Low power devices (e.g.
Page 18
+5 V (optional) not connected not connected Tip: You can connect a CAN bus with a different transmission standard via a bus converter. PEAK-System offers different bus converter modules (e.g. PCAN-TJA1054 for a Low-speed CAN bus according to ISO 11898-3).
PCAN-PC/104 – User Manual 3.1.1 Slot Bracket with D-Sub Connectors Figure 8: Dual channel slot bracket Figure 7: Single channel slot bracket To connect a CAN bus to the PCAN-PC/104 card, use the supplied slot brackets. After you have connected the cables from the slot bracket with the 10-pin sockets, you can connect the CAN busses with the D-Sub sockets.
PCAN-PC/104 – User Manual Voltage Supply of External Devices External devices with low power consumption (e.g. bus converters) can be directly supplied via the CAN connector (independently for each connector on the Dual Channel versions). With a solder bridge per CAN channel on the PCAN-PC/104 board, a 5-Volt supply can optionally be routed to pin 1 and/or pin 9 of the D-Sub connector.
Page 21
PCAN-PC/104 – User Manual Figure 9: Position of the solder jumper fields for the 5-Volt supply (JP5 lower position, JP6 upper position) 5-Volt supply D-Sub connector Solder field Without Pin 1 Pin 9 Pin 1 and (Standard) pin 9 CAN 1 CAN 2 Risk of short circuit! The 5-Volt supply is not protected separately.
PCAN-PC/104 – User Manual Cabling 3.3.1 Termination A High-speed CAN bus (ISO 11898-2) must be terminated with 120 ohms at both ends. The termination prevents interfering signal reflections and ensures the proper operation of the transceivers of the connected CAN nodes (CAN interfaces, control devices). The PCAN-PC/104 card does not have an internal termination.
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- rent bit rates: Bit rate Bus length...
PCAN-PC/104 – User Manual Software and API This chapter covers the provided software PCAN-View and the programming interface PCAN-Basic. Monitor Software PCAN-View PCAN-View is simple Windows software for viewing, transmitting, and logging CAN and CAN FD messages. Note: This chapter describes the use of PCAN-View with a CAN adapter.
Page 25
(exemplary) Select an interface from the list and continue with step 7. If no entry is in the list, press the button Add. The dialog box Add CAN hardware appears. Figure 13: Selection of the hardware Select PEAK ISA-CAN SJA.
Page 26
PCAN-PC/104 – User Manual Enter the port address and the interrupt (see section 2). Confirm your input with OK. From the drop-down list, select the Bit rate that is used by all nodes on the CAN bus. Tip: You can create custom bit rates by using the button (). Under Filter settings you can limit the range of CAN IDs to be received, either for standard frames (11-bit IDs) or for extended frames (29-bit IDs).
PCAN-PC/104 – User Manual 4.1.1 Receive/Transmit Tab Figure 14: 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. The CAN data format is hexadecimal by default. Do the following to transmit a CAN message with PCAN-View: Select the menu command Transmit >...
Page 28
PCAN-PC/104 – User Manual Enter the ID, the data Length, and the CAN message Data. Note: With the program version 4 of PCAN-View, the DLC field was renamed to Length. Latter reflects the actual data length. Enter a value into the Cycle Time field to choose manually or periodically message transmission.
PCAN-PC/104 – User Manual 4.1.2 Trace Tab Figure 16: Trace tab On the Trace tab, the data tracer (data logger) of PCAN-View is used for logging the communication on a CAN bus. During this process the 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 PCAN-PC/104 Tab Figure 17: PCAN-PCI tab (examplary) The PCAN-PC/104-Plus tab contains some detailed information about the hardware and driver. 4.1.4 Status Bar Figure 18: Display of the status bar The status bar shows information about the current CAN connection, about error counters (Overruns, QXmtFull) and shows error messages.
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- and CAN FD interfaces by PEAK-System and can be used for the following operating systems: Windows 10, 8.1, 7 (32/64-bit) Windows CE 6.x (x86/ARMv4)
Use of up to 16 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 (depending on the PEAK CAN interface used) Supports PEAK-System‘s trace formats version 1.1 and 2.0 (for...
PCAN-PC/104 – User Manual Output language depends on operating system Debugging information can be defined individually Tip: An overview of the API functions is located in the header files. You can find detailed information about the PCAN-Basic API on the provided DVD in the text and help files (file name extensions .txt and .chm).
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...
PCAN-PC/104 – User Manual Technical Specifications Connectors PC/104 ISA bus with 8 MHz clock rate, 16 bit bus width D-Sub (m), 9 pins Pin assignment according to specification CiA® 303-1 Specification ISO 11898-2, High-speed CAN 2.0A (standard format) and 2.0B (extended format) Bit rates 5 kbit/s - 1 Mbit/s Controller...
Page 36
PCAN-PC/104 – User Manual Environment Operating temperature -40 - +85 °C (-40 - +185 °F) Temperature for storage -40 - +125 °C (-40 - +257 °F) and transport Relative humidity 15 - 90 %, not condensing Conformity Directive 2014/30/EU DIN EN 55024:2016-05 DIN EN 55032:2016-02 RoHS 2 Directive 2011/65/EU...
PCAN-PC/104 – User Manual Appendix C Quick Reference Default setting at delivery CAN channel I/O address range Comment 300h – 31Fh 320h – 33Fh Dual Channel model only Software/Hardware Installation under Windows Install the driver from the supplied DVD. Turn off the computer. Insert the PCAN-PC/104 card in the PC/104 stack.
This manual is also suitable for:
Pcan-pc/104 single channel, pcan-pc/104 dual channel, pcan-pc/104 single channel opto-decoupled, pcan-pc/104 dualchannel opto-d
Need help?
Do you have a question about the PCAN-PC/104 Series and is the answer not in the manual?
Questions and answers