Summary of Contents for PCAN-USB FD

Page 1: ...CAN FD Interface for High Speed USB 2 0 User Manual PCAN USB FD Document version 1 2 1 2015 06 10 ...

Page 2: ...ystem Technik GmbH Duplication copying printing or other forms and the electronic distribution of this document is only allowed with explicit permission of PEAK System Technik GmbH PEAK System Technik GmbH reserves the right to change technical data without prior announcement The general business conditions and the regulations of the license agreement apply All rights are reserved PEAK System Tech...

Page 3: ...n 13 3 4 Cabling 15 3 4 1 Termination 15 3 4 2 Example of a Connection 15 3 4 3 Maximum Bus Length 15 4 Operation 17 4 1 Status LED 17 4 2 Unplugging the USB Connection 17 4 3 Distinguishing Several PCAN USB FD Adapters 17 5 Software and API 18 5 1 Monitor Software PCAN View 18 5 1 1 Receive Transmit Tab 21 5 1 2 Trace Tab 24 5 1 3 PCAN USB FD Tab 25 5 1 4 Bus load Tab 27 5 1 5 Error Generator Tab...

Page 4: ...D User Manual 4 5 2 2 Principle Description of the API 33 5 2 3 Notes about the License 34 6 Technical Specifications 35 Appendix A CE Certificate 37 Appendix B Dimension Drawings 38 Appendix C Quick Reference 39 ...

Page 5: ...ard compatible to the CAN 2 0 A B standard thus CAN FD nodes can be used in existing CAN networks However in this case the CAN FD extensions are not applicable Device drivers and programming interfaces exist for different opera ting systems so programs can easily access a connected CAN bus Tip At the end of this manual Appendix C you can find a Quick Reference with brief information about the inst...

Page 6: ...ames on the physical bus Induced error generation for incoming and outgoing CAN messages 5 Volt supply to the CAN connection can be connected through a solder jumper e g for external bus converter Voltage supply via USB Extended operating temperature range from 40 to 85 C 40 to 185 F Note This manual describes the use of PCAN USB FD adapter with Windows You can find device drivers for Linux and th...

Page 7: ...nect the PCAN USB FD adapter to the computer The use of an extension cable does not comply with the USB specification and can lead to malfunction of the adapter 1 3 Scope of Supply PCAN USB FD in plastic casing Device drivers for Windows 8 1 7 Vista and Linux 32 64 bit PCAN View monitor software for Windows 8 1 7 Vista 32 64 bit PCAN Basic programming interface consisting of an interface DLL examp...

Page 8: ...st time Do the following to install the driver 1 Insert the supplied DVD into the appropriate drive of the computer Usually a navigation program appears a few moments later If not start the file Intro exe from the root directory of the DVD 2 In the main menu select Drivers and then click on Install now 3 Confirm the message of the User Account Control regarding the Installer Database of PEAK Drive...

Page 9: ...ication and can lead to malfunction of the adapter 1 Connect the PCAN USB FD adapter to a USB port of the computer or of a connected USB hub The computer can remain powered on Windows notifies that new hardware has been detected The drivers are found and installed by Windows After the initialization process is finished successfully the LED on the PCAN USB FD adapter is green Furthermore you can fi...

Page 10: ... of the PCAN USB FD adapter With the pin 1 devices with low power consumption e g bus converters can be directly supplied via the CAN connector At delivery these pin are not assigned You can find a detailed description about the activation in the following section 3 2 Tip You can connect a CAN bus with a different transmission standard via a bus converter PEAK System offers different bus converter...

Page 11: ...rrent output is limited to 50 mA Proceed as follows to activate the 5 Volt supply Attention Electrostatic discharge ESD can damage or destroy components on the PCAN USB FD board Take precautions to avoid ESD when handling the card 1 In order to access the board open the casing of the PCAN USB FD adapter by cautiously pushing in the latches on both sides e g with a flat tip screwdriver 2 Remove the...

Page 12: ...ng hole Push the bottom part of the casing onto the top part the latches click in 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 external bus converters to or from the PCAN USB FD adapter while it is de energized the adapter is not connected to the computer Consider that some computers sti...

Page 13: ...ceed as follows to activate the termination Attention Electrostatic discharge ESD can damage or destroy components on the PCAN USB FD board Take precautions to avoid ESD when handling the card 1 Open the casing of the PCAN USB FD adapter by cautiously pushing in the latches on both sides e g with a flat tip screwdriver 2 Remove the board 3 Set the both solder bridges on the board of the PCAN USB F...

Page 14: ... JP2 For reassembly place the board overhead onto the top part of the casing Ensure that the cable is lying with the strain relief in the cut out of the casing and that the LED is placed in the corresponding hole Push the bottom part of the casing onto the top part the latches click in ...

Page 15: ...rnal termination see section 3 3 on page 13 If a CAN bus is not terminated cor rectly activate the internal termination 3 4 2 Example of a Connection Figure 4 Simple CAN connection In this example the PCAN USB FD adapter is connected with a control unit by a cable that is terminated at both ends 3 4 3 Maximum Bus Length High Speed CAN networks may have bit rates of up to 1 Mbit s The maximum bus l...

Page 16: ...idealized system and can differ from reality The dependency of the bus length of the transmission rate is based on the arbitration phase of CAN communication For CAN FD the transmission rate of arbitration is determined by the nominal bit rate Through this can only take a maximum value of 1 Mbit s apply for CAN FD the same maximum bus lengths as for CAN despite the higher data transfer ...

Page 17: ... data Orange quick blinking Identification of an adapter when multiple adapters are plugged see chapter 5 1 3 PCAN USB FD Tab 4 2 Unplugging the USB Connection On Windows the icon for removing hardware safely is not used with the PCAN USB FD adapter You can unplug the adapter from the computer without any preparation 4 3 Distinguishing Several PCAN USB FD Adapters You can operate several PCAN USB ...

Page 18: ...are PCAN View and the programming interface PCAN Basic 5 1 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 FD adapter Figure 5 PCAN View for Windows ...

Page 19: ...ameters 2 From the list Available PCAN hardware select the desired interface to be used 3 Chooses the Clock Frequency The selectable bit rates in the following are based on this setting 4 Select from the drop down list Nominal Bit rate the transmission rate that is used for the Arbitration phase Choose from the drop down list Data Bit rate an additional data bit rate for the CAN FD bus The bit rat...

Page 20: ...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 6 Activate the Listen only mode if you do not actively participate in the CAN traffic and just want to observe This also avoids an unintended disruption of an unknown CAN environment e g due to different bit rates 7 Finally confirm the settings in the dialog box with OK The mai...

Page 21: ...CAN View It contains two lists one for received messages and one for the transmit messages The representation of the data is done primarily in hexadecimal format Do the following to transmit a CAN FD message with PCAN View 1 Select the menu command Transmit New Message alternatively or Ins The dialog box New Transmit Message is shown ...

Page 22: ... For a manual only transmission enter 0 4 To define a CAN FD message activate the checkbox CAN FD Allows you to set a maximum length of 64 bytes of data Note The values of the DLC Data Length Code represent a list of defined data field sizes up to 64 bytes In the range of 9 to 15 the value of the DLC no longer matches the data field length The Length indicates the resulting data field length 5 Act...

Page 23: ...y with the menu command Transmit Send alternatively Space bar The manual transmission for messages being transmitted periodically is carried out additionally Tip Using the menu command File Save the current transmit messages can be saved to a list and loaded for reuse later on ...

Page 24: ...CAN bus During this process the messages are cached in the working memory of the PC Afterwards they can be saved to a file The tracer can be configured to run in linear or in ring buffer mode In linear buffer mode the logging is stopped as soon as the buffer is filled completely In ring buffer mode the oldest messages are overwritten by incoming ones ...

Page 25: ...pter Thus it can be uniquely identified while operating several PCAN USB FD adapters on a computer at the same time To identify a PCAN USB FD adapter you first go to the dialog box for selecting the hardware of PCAN View Figure 6 on page 19 In the list Available PCAN hardware and PCAN nets you can per form a right click on every USB adapter and execute the command identify Thereby the LED of the c...

Page 26: ...uded in the standard ISO 11898 1 The revised CAN FD standard is not compatible with the original protocol PEAK System takes this into account by supporting both protocol versions with their CAN FD interfaces If required the user can switch to the CAN FD protocol used in the environment with the Enable Disable button Non ISO and ISO ...

Page 27: ... of transmission capacity The more messages are transmitted on the bus the higher is the bus load The current bus load on the connected bus is shown in the bar display Bus Load in percent The course of the bus load over time is displayed in the progress bar Bus Load History In Statistics statis tical information are displayed This data shows the minimum and maximum bus load and the bus load s arit...

Page 28: ... bus can be disturbed for testing purposes by 6 consecutive dominant bits This is a violation of the CAN protocol on the CAN bus which must be recognized as an error by the connected CAN nodes You can destroy CAN frames with the error generator by one of two methods once after activation repeatedly at specific intervals related to a CAN ID ...

Page 29: ...es area refers to a CAN ID whose frames are to be destroyed in specific intervals Do the following to destroy multiple CAN frames 1 Enter the CAN ID of the frame to be destroyed 2 Enter the Bit Position where in the CAN frame the error is to be generated The count includes the stuff bits 3 The Number of Frames to ignore field specifies the number of CAN frames with the given ID that are ignored be...

Page 30: ...s bar The status bar shows information about the current CAN connection 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 menu Help or the F1 key ...

Page 31: ...by PEAK System and can be used for the following operating systems Windows 8 1 7 Vista 32 64 bit Windows CE 6 x x86 ARMv4 Linux 32 64 bit The API is designed for cross platform use Therefore software projects can easily ported between platforms with low efforts For all common programming languages examples are available Beginning with version 4 PCAN Basic supports the new CAN FD standard CAN with ...

Page 32: ...for each hardware unit depending on the PEAK CAN interface used Simple switching between the channels of a PEAK CAN interface Driver internal buffer for 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 CAN FD applications Access to specific hardware paramete...

Page 33: ...on 3 Completion Initialization A channel must be initialized before using it This is done by the simple call of the function CAN_Initialize for CAN and CAN_InitializeFD for CAN FD Depending on the type of the CAN hardware up to 16 CAN channels can be opened at the same time After a successful initialization the CAN channel is ready for communication with the CAN hardware and the CAN bus No further...

Page 34: ...n the CAN channel is marked as Free and is available to other applications 5 2 3 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 of third party suppliers should be compat...

Page 35: ... 2 0 Transmission standards CAN FD ISO 11898 2 High speed CAN CAN bit rates 40 kbit s 1 Mbit s CAN FD bit rates 40 kbit s 12 Mbit s Controller FPGA implementation Time stamp resolution 1 μs Transceiver NXP TJA1044GT Galvanic isolation up to 500 V Supplying external devices D Sub pin 1 5 V max 50 mA Not assigned at delivery Termination Switchable disabled at delivery Power supply Supply voltage 5 V...

Page 36: ...Temperature for storage and transport 40 100 C 40 212 F Relative humidity 15 90 not condensing EMC EN 55024 2011 09 EN 55022 2011 12 EC directive 2004 108 EG Ingress protection IEC 60529 IP20 Measures Size w o cable 75 x 43 x 22 mm Cable length about 0 75 m Weight with cable 68 g ...

Page 37: ...PCAN USB FD User Manual 37 Appendix A CE Certificate ...

Page 38: ...PCAN USB FD User Manual 38 Appendix B Dimension Drawings Figure 15 View PCAN USB FD The figures don t show the actual size of the product ...

Page 39: ...tting Started under Windows Run the CAN monitor PCAN View from the Windows Start menu as a sample application for accessing the PCAN USB FD adapter For initialization of the PCAN USB FD adapter select the desired CAN interface and the CAN bit rate Status Meaning Green on There s a connection to a driver of the operating system Green slow blinking A software application is connected to the adapter ...

Reviews: