Page 1
PCAN-Dongle QuickStart Instructions Using PEAK CANview for Windows Software Preliminary Version Edition: November 2000 A product of a PHYTEC Technology Holding company...
Page 2
PEAK/PHYTEC give no gua- rantee nor accepts any liability whatsoever for consequential damages resulting from the use of this manual or its associated product. PEAK/PHYTEC reserve the right to alter the information contained herein without prior notification and accepts no responsibility for any damages that might result.
2.2 Building and Connecting to a CAN Network.......6 2.3 Installing and Using the PCANView for Windows Software Program..................9 Examples ....................17 3.1 Receive Example Using the PCAN-Dongle and a PHYTEC phyCORE-591 ................17 3.2 Send Example Using the PCAN-Dongle and a PHYTEC phyCORE-591 ................19...
• DB25 (male) plug enabling easy connection to parallel port of a host-PC • DB9 (male) plug for easy connection to a CAN network • Baudrate configurations up to 1 MBits • Supports all Interrupt and Port address configurations of parallel interfaces PHYTEC America 2000 L-US0011...
Use of the PEAK PCAN-Dongle requires: • an IBM-compatible PC (desktop or laptop) with an available par- allel port and Windows95/98/NT/2000/Me to operate the included PCANView for Windows software • CAN cable with 120 Ohm termination resistor PHYTEC America 2000 L-US001_1...
2) Description of, and installation hints for, the PCANView for Windows software 3) An example showing connectivity of a PC to a CAN network using the PCAN-Dongle and a PHYTEC phyCORE-591 Rapid Development Kit For more information and example updates, please refer to the following sources: http://www.phytec.com...
Page 8
PCAN-Dongle QuickStart Instructions PHYTEC America 2000 L-US001_1...
• How to prepare a twisted wire pair as a CAN network • How to connect the PCAN-Dongle to a host-PC or laptop • How to integrate the PCAN-Dongle and a PHYTEC phyCORE- 591 Single Board Computer in a Rapid Development Kit into a two-node CAN network •...
The CAN signals are located on pins 2 (CAN-L) and 7 (CAN-H) of the DB9 plug on the PCAN-Dongle. The physical connection to the DB-9 plug is depicted in Figure 2 below. An overview of CAN si- gnals provided is in Table 3. PHYTEC America 2000 L-US001_1...
• Two 120 Ohm resistors (to terminate the network) • Sufficient length of twisted pair wire to connect your nodes toge- ther (any dual wire will work, but CAN networks are best suited to a twisted pair) PHYTEC America 2000 L-US0011...
DB9 sockets one end of the twisted pair wire • Use the (female) DB9 socket at the other end of the twisted pair to connect the wire to the male DB9 plug on the PHYTEC phyCORE Development Board LD on which a phyCORE-591 PHYTEC Sin- gle Board Computer is mounted.
Getting Started The following PHYTEC Single Board Computers can serve as the se- cond node in the two-node CAN network: • phyCORE-591 module • phyCORE-XAC3 module • CANmodul-592 • microMODUL-8051/CAN • miniMODUL-167/CAN • miniMODUL-515/CAN • nanoMODUL-164/CAN For a description of how to mount these Single Board Computer mo- dules and configure CAN signal transmission on applicable PHYTEC Development Boards, please refer to the respective hardware manuals.
Page 14
• Double click on the application. This will start an installation pro- gram as seen below. • On the next screen, accept the license agreement as seen below. • On the next screen, you will begin the installation. PHYTEC America 2000 L-US001_1...
Page 15
After your compter restarts, click on the Start button on the Windows main screen, and go to Programs|PCAN Dongle. Click on the pro- gram PCANView Dongle. This will start the PCANView Dongle program. This first screen you will see is below. PHYTEC America 2000 L-US0011...
Page 16
From this screen, you will also choose your I/O address and Interrupt. This information can be found in Section 2. From the I/O address pull down, choose the I/O address that matches your LPT port. This can be seen in the picture below. PHYTEC America 2000 L-US001_1...
Page 17
You will also choose the correct Interrupt (IRQ) address for your LPT port from this screen. This can be seen in the picture below. • Highlight the correct Interrupt address. When done with all of your choices, click on OK. PHYTEC America 2000 L-US0011...
Page 18
0 to 7FFh for 11 bit identifiers (CAN speci- fication 1.0) and from 0 to 1FFFFFFFh for 29 bit identi- fiers (CAN specification 2.0b) • Length: Data length code of the message (ranges from 0 to 8) PHYTEC America 2000 L-US001_1...
Page 19
• Trigger: Reason for the last sending of the message. • Manual: Manual sending by the user pressing the space bar. • Time: Period of time has passed for periodical sending • RTR: Remote frame has been received PHYTEC America 2000 L-US0011...
Page 20
• Transmit | Edit...: Edit the currently selected message. • Transmit | Clear all: Delete the whole send list. • Program | Reset: Reset the message counters and reset the connected CAN hardware. Deletes the re- ceive list. PHYTEC America 2000 L-US001_1...
• Physical CAN connectivity (two DB-9 female connectors, two 120Ohm resistors, twisted pair wire) • Pre-made Intel hex file (located on the PHYTEC Spectrum CD) • Host PC running Windows 95 or higher For all hardware settings, consult the phyCORE-591 and Develop- ment board hardware manuals.
Page 22
CAN message was sent from the phyCORE-591 RDK in the CAN bus was received by the PCAN-Dongle. This verifies that the CAN network was properly constructed and that transmitted si- gnals can be viewed with the PCANView program. PHYTEC America 2000 L-US001_1...
Examples 3.2 Send Example Using the PCAN-Dongle and a PHYTEC phyCORE-591 To use the Send function, the following functions are available: • ID: This is the CAN identifier (hexadecimal format) of the message to be created. • Length: At this place the Data Length Code can be specified. If the message is a Data Frame, the number of data bytes is defined here (0 to 8).
Page 24
To begin sending messages, click on the Transmit tab at the top of the main screen, and click on new. The following screen will open up. For this example, you can use the following settings for the send ex- ample. PHYTEC America 2000 L-US001_1...
Page 25
LED D1 on the Development Board on. To turn it off, click on the Transmit tab, use the same settings, but change the Data from 01 to 00. Click on OK, and press the space bar. The LED will go off. PHYTEC America 2000 L-US0011...
Page 26
PCAN-Dongle QuickStart Instructions PHYTEC America 2000 L-US001_1...
Page 27
How would you improve this manual? Did you find any mistakes in this manual? page Submitted by: Customer number: Name: Company: Address: Return to: PHYTEC America LLC 255 Ericksen Ave. NE Bainbridge Island, WA 98110 Fax : 1-206-870-9135 PHYTEC America 2000 L-US001_1...
Page 28
Published by PHYTEC America 2000 Ordering No. L-US001_1 Printed in the U.S.
Need help?
Do you have a question about the PCAN-Dongle PK-001 and is the answer not in the manual?
Questions and answers