Академический Документы
Профессиональный Документы
Культура Документы
te
PCAN-PCI Express FD
Pa
al
CAN FD Interface for PCI Express
rm
Ni
iv
Un
User Manual
M
A&
s
xa
Te
Y
NL
O
e
Us
e
Driv
to
Au
AL
TI
EN
ID
NF
CO
Relevant products
Product name Model Part number
l
te
PCAN-PCI Express FD Single Channel One CAN channel IPEH-004026
Pa
PCAN-PCI Express FD Dual Channel Two CAN channels IPEH-004027
PCAN-PCI Express FD Four Channel Four CAN channels IEPH-004040
al
rm
The cover picture shows the product PCAN-PCI Express FD Four Channel. Other
product models have an identical form factor but vary in equipment.
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
CANopen® and CiA® are registered community trade marks of CAN in Automation
e.v.
O
e
All other product names mentioned in this manual may be the trademarks or
Us
registered trademarks of their respective companies. They are not explicitly marked
by “™” and “®”.
e
riv
Duplication (copying, printing, or other forms) and the electronic distribution of this
to
prior announcement. The general business conditions and the regulations of the
license agreement apply. All rights are reserved.
AL
TI
64293 Darmstadt
ID
Germany
NF
www.peak-system.com
info@peak-system.com
2
PCAN-PCI Express FD – User Manual
Contents
l
te
Pa
1 Introduction 5
1.1 Properties at a Glance 5
al
rm
1.2 System Requirements 7
Ni
1.3 Scope of Supply 7
iv
Un
2 Installing the Software and the Card 8
M
3 Connecting a CAN Bus 10
A&
3.1 Connection over D-Sub connector 10
s
3.2 Slot Bracket with D-Sub Connectors 11
3.3 Voltage Supply of External Devices xa 12
Te
3.4 Activating the Daisy Chain 14
Y
NL
3.6.1 Termination 20
Us
4 or Higher 32
4.2.1 Features of PCAN-Basic 33
4.2.2 Principle Description of the API 34
4.2.3 Notes about the License 35
3
PCAN-PCI Express FD – User Manual
5 Technical Specifications 36
Appendix A CE Certificate 38
l
te
Pa
Appendix B Dimension Drawing 39
al
rm
Appendix C Quick Reference 40
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
riv
D
to
Au
AL
TI
EN
ID
NF
CO
4
PCAN-PCI Express FD – User Manual
1 Introduction
l
te
Pa
The plug-in card PCAN-PCI Express FD allows the connection of a
PC with PCI Express slots to CAN FD and CAN networks. There is
al
galvanic isolation of up to 500 Volts between the computer and CAN
rm
sides. The card is available as a single, dual, or four-channel
Ni
version.
iv
Un
The new CAN FD standard (CAN with Flexible Data rate) is primarily
characterized by higher bandwidth for data transfer. The maximum
M
of 64 data bytes per CAN FD frame (instead of 8 so far) can be
A&
transmitted with bit rates up to 12 Mbit/s. CAN FD is downward-
s
compatible to the CAN 2.0 A/B standard, thus CAN FD nodes can be
xa
used in existing CAN networks. However, in this case the CAN FD
Te
extensions are not applicable.
Y
NL
connection are included in the scope of supply and support the new
e
Us
CAN FD.
e
5
PCAN-PCI Express FD – User Manual
l
te
up to 12 Mbit/s
Pa
CAN FD bit rates from 25 kbit/s up to 1 Mbit/s
al
CAN bus connection via D-Sub, 9-pin (according to CiA® 303-1)
rm
Ni
FPGA implementation of the CAN FD controller
iv
NXP TJA1044GT CAN transceiver
Un
Galvanic isolation on the CAN connection up to 500 V,
M
separately for each CAN channel
A&
CAN termination can be activated through a solder jumper,
s
separately for each CAN channel
xa
Te
PCI Express data transfer via bus master DMA
Y
messages
riv
card with Windows. You find device drivers for Linux and the
ID
www.peak-system.com/linux.
6
PCAN-PCI Express FD – User Manual
l
te
Pa
Windows 10, 8.1, 7 (32/64-bit) or Linux (32/64-bit)
al
rm
Ni
1.3 Scope of Supply
iv
Un
Plug-in card PCAN-PCI Express FD
M
Slot bracket with D-Sub connectors for the CAN bus
A&
(only four-channel version)
s
Device drivers for Windows 10, 8.1, 7 and Linux (32/64-bit)
CAN monitor PCAN-View for Windows xa
Te
automotive sector
Us
7
PCAN-PCI Express FD – User Manual
l
te
Pa
This chapter covers the software setup for the PCAN-PCI Express FD
al
rm
card in Windows and the installation of the card in the computer.
Ni
Install the driver before you install the card.
iv
Un
Do the following to install the driver:
M
1. Start Intro.exe from the supplied DVD.
A&
The navigation program starts.
s
2. xa
In the main menu, select Drivers and click on Install now.
Te
3. Confirm the message of the User Account Control related to
Y
4. Insert the PCI Express card into a vacant PCI Express slot.
NF
CO
8
PCAN-PCI Express FD – User Manual
l
te
Do the following to check the operational readiness:
Pa
1. Open the Windows Start menu.
al
rm
2. Type peakcpl and press Enter .
Ni
The information window for PEAK hardware appears. The plug-in
iv
card must be displayed in the table on the CAN Hardware tab.
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
Driv
to
Au
AL
TI
EN
ID
NF
CO
9
PCAN-PCI Express FD – User Manual
l
te
Pa
3.1 Connection over D-Sub connector
al
rm
The High-speed CAN bus (ISO 11898-2) is connected to the 9-pin
Ni
D-Sub connector. The pin assignment for CAN corresponds to the
iv
specification CiA® 303-1.
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
D riv
10
PCAN-PCI Express FD – User Manual
l
te
6
Pa
Tip: Connect a CAN bus with a different transmission standard
al
via a bus converter. PEAK-System offers different bus converter
rm
modules like the PCAN-TJA1054 for a Low-speed CAN bus
Ni
according to ISO 11898-3.
iv
Un
M
3.2 Slot Bracket with D-Sub Connectors
A&
s
xa
Te
Y
NL
O
e
Us
e
riv
four-channel card, use the supplied slot bracket. After you have
AL
connected the cables from the slot bracket with the 10-pin sockets
of CAN port 3 and 4, you can connect the CAN busses with the D-
TI
Sub sockets.
EN
ID
NF
CO
11
PCAN-PCI Express FD – User Manual
l
te
can be directly supplied via the CAN connector. With a solder bridge
Pa
per CAN channel on the PCAN-PCI Express FD board, a 5-Volt
al
supply can optionally be routed to pin 1 of the D-Sub connector.
rm
The current output is limited to 50 mA.
Ni
Do the following to activate the voltage supply:
iv
Un
Risk of short circuit! Solder with great care to avoid unwanted
M
short circuits on the card.
A&
Attention! Electrostatic discharge (ESD) can damage or destroy
s
xa
components on the card. Take precautions to avoid ESD.
Te
Set the solder bridges corresponding to the desired settings.
Y
NL
channel card (IPEH-004040). The solder fields for the single and dual
e
and can therefore also be taken from this figure. The table below
e
12
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
D riv
to
5-Volt supply
ID
(standard) (Pin 1)
CAN1 JP1
CO
CAN2 JP4
CAN3 JP7
CAN4 JP10
13
PCAN-PCI Express FD – User Manual
l
te
activated via solder jumpers on the board to connect a CAN FD
Pa
optimized connection to an existing CAN bus. This makes
al
interference-free operation possible at higher CAN FD bit rates,
rm
because stubs and Y distributions are largely avoided.
Ni
When the daisy chain is activated, the pin assignment changes as
iv
follows:
Un
M
A&
s
xa
Te
Y
NL
14
PCAN-PCI Express FD – User Manual
l
te
short circuits on the card.
Pa
al
Attention! Electrostatic discharge (ESD) can damage or destroy
rm
components on the card. Take precautions to avoid ESD.
Ni
Set the solder bridges corresponding to the desired settings.
iv
Un
Figure 6 on page 16 shows the solder field positions on the top of
M
the four-channel card (IPEH-004040). The table below contains the
A&
possible settings.
s
xa
Figure 7 on page 17 shows the solder field positions on the bottom
of the four-channel card (IPEH-004040). The table below contains
Te
the possible settings.
Y
NL
O
e
Us
e
Driv
to
Au
AL
TI
EN
ID
NF
CO
15
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
D riv
Daisy chain
D-Sub connector Solder field Without
TI
Active
(standard)
EN
CAN1 JP18
ID
NF
CAN2 JP20
CO
16
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
D riv
Daisy chain
D-Sub connector Solder fields Without
TI
Active
(standard)
EN
CAN1 JP17
ID
CAN2 JP19
NF
17
PCAN-PCI Express FD – User Manual
l
te
PCAN-PCI Express FD board, to terminate one end of the CAN bus
Pa
with 120 Ohms. At delivery the termination is not activated. A High-
al
speed CAN bus (ISO 11898-2) must be terminated on both ends with
rm
120 Ohms. Otherwise disturbances may arise.
Ni
Do the following to activate the internal termination:
iv
Un
Risk of short circuit! Solder with great care to avoid unwanted
M
short circuits on the card.
A&
Attention! Electrostatic discharge (ESD) can damage or destroy
s
xa
components on the card. Take precautions to avoid ESD.
Te
Set the solder bridges corresponding to the desired settings.
Y
NL
four-channel card (IPEH-004040). The solder fields for the single and
e
positions and can therefore also be taken from Figure 8. The table
e
below contains the possible settings. The table below contains the
riv
possible settings.
D
to
Au
AL
TI
EN
ID
NF
CO
18
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
riv
D
to
Internal termination
D-Sub connector Solder fields
ID
Without
Active
(standard)
NF
19
PCAN-PCI Express FD – User Manual
3.6 Cabling
l
te
3.6.1 Termination
Pa
The High-speed CAN bus (ISO 11898-2) must be terminated with
al
120 ohms at both ends. The termination prevents interfering signal
rm
reflections and ensures the proper operation of the transceivers of
Ni
the connected CAN nodes (CAN interfaces, control devices).
iv
Un
The PCAN-PCI Express FD card has an optional internal termination
with 120 ohms. For more information, see chapter 3.4.
M
A&
s
3.6.2 Example of a Connection
xa
Te
Y
NL
O
e
Us
card and a control unit. The connection cable is terminated with 120
D
to
20
PCAN-PCI Express FD – User Manual
l
te
maximum bus length primarily depends on the bit rate.
Pa
The following table shows different maximum possible CAN bus
al
length with different bit rates:
rm
Ni
Bit rate Bus length
iv
1 Mbit/s 40 m
Un
500 kbit/s 110 m
250 kbit/s 240 m
M
A&
125 kbit/s 500 m
50 kbit/s 1.3 km
s
25 kbit/s 2.5 km
xa
Te
The listed values have been calculated on the basis of an idealized
Y
Note: For CAN FD, the same maximum bus lengths apply as for
e
called nominal bit rate. The nominal bite rate at CAN FD can be
riv
up to 1 Mbit/s.
D
to
Au
AL
TI
EN
ID
NF
CO
21
PCAN-PCI Express FD – User Manual
l
te
Pa
This chapter covers the provided software PCAN-View and the
programming interface PCAN-Basic.
al
rm
Ni
iv
4.1 Monitor Software PCAN-View
Un
PCAN-View is a simple Windows software to view, transmit and log
M
CAN and CAN FD messages.
A&
Note: This chapter describes the use of PCAN-View with a
s
CAN FD card. xa
Te
Y
NL
O
e
Us
e
Driv
to
Au
AL
TI
EN
ID
NF
CO
22
PCAN-PCI Express FD – User Manual
l
te
The Connect dialog box appears.
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
setting.
Au
Data Bit rate for the CAN FD bus. The bit rate selected here
NF
23
PCAN-PCI Express FD – User Manual
Tip: Create custom bit rates by using the arrow button ().
7. Under Filter settings, you can limit the range of CAN IDs to
l
te
be received, either for standard frames (11-bit IDs) or for
Pa
extended frames (29-bit IDs).
al
8. Activate the Listen-only mode if you do not actively
rm
participate in the CAN traffic and just want to observe. This
Ni
also avoids an unintended disruption of an unknown CAN
iv
environment (e.g. due to different bit rates).
Un
9. Confirm the settings in the dialog box with OK. The main
M
window of PCAN-View appears (see Figure 12).
A&
s
xa
Te
Y
NL
O
e
Us
e
riv
D
to
Au
AL
TI
EN
ID
NF
CO
24
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Figure 12: Receive/Transmit Tab
Y
NL
contains two lists, one for received messages and one for the
e
(alternatively or Ins ).
Au
25
PCAN-PCI Express FD – User Manual
l
te
3. Enter the ID, the data Length, and the CAN message Data.
Pa
With a length of more than 8 bytes, click on and enter the
data bytes into the editor.
al
rm
Note: With the program version 4 of PCAN-View, the DLC field
Ni
was renamed to Length. Latter reflects the actual data length.
iv
Un
4. Enter a value into the Cycle Time field to choose manually
M
or periodically message transmission. Enter a value greater
A&
than 0 to transmit periodically. Enter the value 0 to transmit
only manually.
s
5. xa
Enable the Bit Rate Switch checkbox, that the data of a CAN
Te
FD message is transmitted with the selected Data Bit Rate.
Y
Receive/Transmit tab.
e
Us
Tip: Under the menu command File > Save, you can save the
AL
26
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Figure 14: Trace Tab
Y
NL
On the Trace tab, the data tracer (data logger) of PCAN-View is used
O
The Tracer runs either in linear or in ring buffer mode. The linear
D
buffer mode stops the Tracer as soon as the buffer is full. The ring
to
27
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Figure 15: PCAN-PCI tab
Y
NL
CAN FD ISO-mode
e
If required, the user can switch to the CAN FD protocol used in the
AL
28
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Figure 16: Bus load tab
Y
NL
On the Bus Load tab, the current bus load, time course, and
O
29
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Figure 17: Error Generator tab
Y
NL
Via the Error Generator tab, the communication on the CAN bus can
O
This is a violation of the CAN protocol on the CAN bus which must
Us
You can destroy CAN frames with the error generator by one of two
D
methods:
to
Au
The Destroy Single Frame area refers to the next CAN frame that is
EN
1. Enter the Bit Position where in the CAN frame the error is to
be generated. The count includes the stuff bits.
30
PCAN-PCI Express FD – User Manual
l
te
destroyed at the selected bit position.
Pa
The Destroy Multiple Frames area refers to a CAN ID whose frames
al
are to be destroyed in specific intervals.
rm
Ni
Do the following to destroy multiple CAN frames:
iv
1. Enter the CAN ID of the frame to be destroyed.
Un
2. Enter the Bit Position where in the CAN frame the error is to
M
be generated. The count includes the stuff bits.
A&
3. The Number of Frames to ignore field specifies the number
s
of CAN frames with the given ID that are ignored before a
frame is destroyed. xa
Te
generator.
e
riv
error messages.
CO
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.
31
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
riv
provides basic functions for linking own programs to CAN and CAN
TI
operating systems:
ID
32
PCAN-PCI Express FD – User Manual
l
te
Pa
Beginning with version 4, PCAN-Basic supports the new CAN FD
al
standard (CAN with Flexible Data Rate) which is primarily
rm
characterized by higher bandwidth for data transfer.
Ni
iv
4.2.1 Features of PCAN-Basic
Un
API for developing applications with CAN and CAN FD
M
connection
A&
Access to the CAN channels of a PCAN-Gateway via the new
s
PCAN-LAN device type
xa
Te
Supports the operating systems Windows 10, 8.1, 7 (32/64-bit),
Windows CE 6.x, and Linux (32/64-bit)
Y
NL
mode
Notification of the application through Windows events when a
message is received
33
PCAN-PCI Express FD – User Manual
l
te
Output language depends on operating system
Pa
Debugging information can be defined individually
al
rm
Thread-safe API
Ni
Tip: An overview of the API functions is located in the header
iv
Un
files. You can find detailed information about the PCAN-Basic
API on the provided DVD in the text and help files (file name
M
extensions .txt and .chm).
A&
s
4.2.2 xa
Principle Description of the API
Te
The PCAN-Basic API is the interface between the user application
Y
phases:
e
1. Initialization
riv
D
2. Interaction
to
3. Completion
Au
AL
Initialization
TI
34
PCAN-PCI Express FD – User Manual
Interaction
For receiving and transmitting messages, the functions CAN_Read and
l
te
CAN_Write as well as CAN_ReadFD and CAN_WriteFD are available.
Pa
Additional settings can be made, e.g. setting up message filters for
specific CAN IDs or the listen-only mode for the CAN controller.
al
rm
When receiving CAN messages, events are used for an automatic
Ni
notification of an application (client). This offers the following
iv
advantages:
Un
The application no longer needs to check for received messages
M
periodically (no polling).
A&
The response time at reception is reduced.
s
Completion xa
Te
To end the communication, the function CAN_Uninitialize is called in
Y
order to release the reserved resources for the CAN channel, among
NL
Device drivers, the interface DLL, and further files needed for linking
D
software of PEAK-System.
ID
and problems occur during the use of this software, consult the
CO
software provider.
35
PCAN-PCI Express FD – User Manual
5 Technical Specifications
l
te
Connectors
Pa
Computer PCI Express x1 (1 lane);
electromechanical specification 2.x
al
CAN D-Sub (m), 9 pins
rm
Pin assignment according to specification CiA® 303-1
Ni
iv
CAN
Un
Protocols CAN FD ISO 11898-1:2015, CAN FD non-ISO, CAN 2.0 A/B
Physical transmission ISO 11898-2 (High-speed CAN)
M
A&
CAN bit rates 25 kbit/s - 1 Mbit/s
CAN FD bit rates 25 kbit/s – 12 Mbit/s
s
Controller FPGA implementation
Transceiver NXP TJA1044GT xa
Te
Galvanic isolation up to 500 V, separate for each CAN channel
Y
(only IPEH-004040)
Us
Power supply
D
Environment
EN
Measures
Size PCB: 121 x 114 mm (H x W)
See also dimension drawing in Appendix B on page 39
l
te
Weight Single Channel: 55 g
Pa
Dual Channel: 66 g
Four Channel: 73 g
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
Driv
to
Au
AL
TI
EN
ID
NF
CO
37
PCAN-PCI Express FD – User Manual
Appendix A CE Certificate
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
Driv
to
Au
AL
TI
EN
ID
NF
CO
38
PCAN-PCI Express FD – User Manual
l
te
Pa
al
rm
Ni
iv
Un
M
A&
s
xa
Te
Y
NL
O
e
Us
e
Driv
to
Au
The figure does not show the actual size of the product.
TI
EN
ID
NF
CO
39
PCAN-PCI Express FD – User Manual
l
te
Pa
Software/Hardware Installation under Windows
Install the driver from the supplied DVD, before you insert the plug-
al
rm
in card. Turn off the computer and insert the PCAN-PCI Express FD
into an available PCI Express slot.
Ni
iv
The new hardware is detected at the next Windows start and the
Un
driver is initialized. Check the operational readiness. Open the
Windows Start menu. Type peakcpl and press Enter .
M
A&
An information window for PEAK Hardware opens. The plug-in card
must be displayed in the table on the CAN Hardware tab.
s
Getting Started under Windows xa
Te
Run the CAN monitor PCAN-View from the Windows Start menu as
Y
PCI Express card select the desired CAN channel and CAN bit rate.
O
e
40