background image

 

 

EasySYNC Ltd 

Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow, G41 1HH, United Kingdom 

Tel.: +44 (0) 141 418 0181    Fax: + 44 (0) 141 418 0110 

E-Mail (Support): 

[email protected]

   Web: http://easysync-ltd.com 

 

 

 

Neither the whole nor any part of the information contained in, or the product described in this manual, may be adapted or reproduced 
in  any  material  or  electronic  form  without  the  prior  written  consent  of  the  copyright  holder.  This  product  and  its  documentation  are 
supplied on an as-is basis and no warranty as to their suitability for any particular purpose is either made or implied. EasySYNC Ltd will 

not accept any claim for damages howsoever arising as a result of use or failure of this product. Your statutory rights are not affected. 
This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of  the product 
might  reasonably  be  expected  to  result  in  personal  injury.  This  document  provides  preliminary  information  that  may  be  subject  to 
change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this  document. 
EasySYNC Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow, G41 1HH, United Kingdom. Scotland Registered Number: 
SC224924 

 

 

Copyright © 2008-2010 EasySYNC Limited 

The USB2-F-7001 and USB2-F-7101 provide a simple method of adapting CANbus devices to USB.  
The USB2-F-7101adds optical isolation for the CAN interface. 

Flexible mounting options allow the USB2-F-7001 and USB2-F-7101 to be used in a variety of 

applications.  Indicator LEDs provide functional status. 

 

 

 

 

EasySYNC Ltd 

USB2-F-7x01 Full-Speed USB to 1-Port 

CANbus Adapter 

User Guide 

 

Document Reference No.: ES_000005  

Version 1.3 

Issue Date: 2010-05-12 

Summary of Contents for USB2-F-7001

Page 1: ...of it is not intended for use in any medical appliance device or system in which the failure of the product might reasonably be expected to result in personal injury This document provides preliminary information that may be subject to change without notice No freedom to use patents or other intellectual property rights is implied by the publication of this document EasySYNC Ltd Unit 1 2 Seaward P...

Page 2: ... OS X Linux Windows CE 11 2 3 Firmware Update 11 3 Connections 13 3 1 External Connectors 13 3 1 1 USB 13 3 1 2 CANbus 13 4 Application Programming Interfaces 14 4 1 ASCII commands 14 Help H h or 15 4 1 1 Set CAN Channel Timing simple S 16 4 1 2 Set CAN Channel Timing advanced s 17 4 1 3 Set Acceptance Mask m 18 4 1 4 Set Acceptance Filter M 19 4 1 5 Enable Time Stamp Z 20 4 1 6 Open CAN Channel O...

Page 3: ...nical Details 33 6 1 Module Mechanical Dimensions 33 6 2 UniClip Mechanical Dimensions 34 7 Physical Environment Details 35 7 1 Storage 35 7 2 Operating 35 8 Environmental Approvals Declarations 36 8 1 EMI Compatibility 36 8 2 Safety 36 8 3 Environmental 36 8 4 Reliability 36 8 4 1 Mean Time To Failure MTTF 36 8 5 Import Export Information 37 9 Troubleshooting 38 9 1 Hardware 38 9 2 Device Driver ...

Page 4: ...t be connected directly to a USB Host port or a self powered USB hub i e with an external power supply Bus powered USB hubs are not supported since they cannot provide the required current Figure 1 1 USB2 F 7x01 Flexible mounting allows the USB2 F 7x01 to be used in a variety of applications from a portable adapter to accompany a laptop to permanent installations in industrial and commercial locat...

Page 5: ...erated Active LED State Description Off Inactive The USB2 F 7x01 has not been enumerated by the host system On Active The USB2 F 7x01 has been enumerated and is ready Green RUN CAN Run LED State Description Blinking PREOPERATIONAL The device initialized Single flash STOPPED The device is in state STOPPED Channel is Closed On OPERATIONAL The device is in state OPERATIONAL Channel is Open Red ERR ER...

Page 6: ...on FTDI FT245R The FTDI FT245R provides a USB to FIFO interface to the CANbus Controller Operating system device drivers are required in order to work with the FT245R to provide the Direct or Virtual COM Port functionality CANbus Controller The Microchip PIC18F2680 runs firmware that converts the communication from the FT245R to CANbus protocol Optical Isolation USB2 F 7101 only The USB2 F 7101 pr...

Page 7: ...ta XP 2000 Linux Mac OS X FIFO 128 byte transmit buffer 384 byte receive buffer Powered by USB port No external power adapter required CANbus speed up to 1Mbps One DE 9P male connector LEDs indicate Initialization and CANbus status for monitoring port status easy diagnostics High temperature plastic enclosure Operating temperature of 40 C to 85 C USB cable of 0 9 meter included 1 5 Performance Fig...

Page 8: ...N rail mount allows the USB2 F 7x01 to be permanently mounted to a wall or attached to a DIN rail The rubber feet can be used when mobility or desktop use is desired NOTE The UniClip provides a permanent mounting style The USB2 F 7x01 case may be damaged if the UniClip is removed The following figures indicate the mounting styles Figure 2 1 USB2 F 7x01 with UniClip Brackets Figure 2 2 USB2 F 7x01 ...

Page 9: ... directly access the FT245R and used in conjunction with a CAN command Application Programming Interface API through the use of DLLs The API is defined in the USB2 F 7x01 API Guide The USB2 F 7x01 uses the USB Vendor ID of 0x0403 and Product ID of 0xFAC6 2 2 1 Microsoft Windows Installing Drivers 1 Login to your system as Administrator or a user with Administrator rights 2 The device drivers are W...

Page 10: ...list the available COM port You will see EasySYNC USB COM Port followed by a COMn assignment In the figure below the USB2 F 7x01 is assigned to COM3 Figure 2 5 COM Port Assignment Use this COM port number in order to access the USB2 F 7x01 with application software that uses a COM port If an application requires use of a different COM port number the assignment may be changed through the Advanced ...

Page 11: ...umbers Select one that is not in use and click OK on each dialog box to activate the selection A unique USB serial number is programmed into the USB2 F 7x01 Windows will use this USB serial number to remember the assigned COM port number across power cycles and if the USB2 F 7x01 is removed and inserted to any USB port on the same host computer This USB serial number is different from the CAN Firm...

Page 12: ...e Version 1 3 Clearance No ES 02 2008 2010 EasySYNC Ltd 12 The USB2 F 7x01 firmware can be updated for bug fixes and enhanced features In order to update the firmware obtain the updated firmware from the EasySYNC web site and follow the instructions contained in the readme file of the download ...

Page 13: ...ctional D USB data signal positive polarity 4 Ground GND USB signal ground Shield Case Ground Drain typically connected to the host PC case Table 3 1 USB B Receptacle Pin Out 3 1 2 CANbus The CANbus port conforms to the CiA DS102 2 pin out through a 9 contact D Sub Pin connector Pin assignments are noted below Pin Number Pin Type Description 1 n a Not Connected 2 Bidirectional CAN_L CANbus low sid...

Page 14: ...responses are Echo typed characters locally the USB2 F 7x01 does not echo characters Append line feeds to incoming line ends With the use of the FTDI FT245 USB FIFO interface serial port bit rate settings are not typically necessary however some terminal programs may yield unpredictable results with slow rates Set the COM port to the highest available bit rate The USB2 F 7x01 will maintain the mos...

Page 15: ...ble commands Return Codes List of Supported Commands O Open CAN Channel C Close CAN Channel t Transmit Standard Frame T Transmit Extended Frame F Read Status Flag V USB2 F 7001 Version N Serial Number of USB2 F 7001 Z TimeStamp Option On Off S Set CAN Bit Rate s Set BRGCON Registers m Set Acceptance Mask M Set Acceptance Filter B Enter Bootload Mode L Set Listen Mode E Clear Buffers and Echo Char ...

Page 16: ...nnel transmission rate NOTE The CAN channel will revert to its prior state after execution For example if the channel is Open when this command is executed the channel will update the setting and return to the Open state Definition Srate_selector CR Parameters rate_selector 0 10Kbps 1 20Kbps 2 50Kbps 3 100Kbps 4 125Kbps 5 250Kbps 6 500Kbps 7 800Kbps 8 1Mbps Remarks Example S5 CR Set CAN transmissi...

Page 17: ...return to the Open state Definition Saabbcc CR Parameters aa contents of PIC 18F2680 BRGCON1 register in hexadecimal bb contents of PIC 18F2680 BRGCON2 register in hexadecimal cc contents of PIC 18F2680 BRGCON3 register in hexadecimal Remarks The USB2 F 7x01 utilizes a 24MHz clock for the PIC 18F2680 Use this value when referring to the PIC datasheet if a custom transmission rate different from th...

Page 18: ...execution For example if the channel is Open when this command is executed the channel will update the setting and return to the Open state Definition miii CR for standard 11 bit CAN messages miiiiiiii CR for extended 29 bit CAN messages Parameters iii standard 11 bit CAN mask 0x000 through 0x7FF iiiiiiii extended 29 bit CAN mask 0x00000000 through 0x1FFFFFFF A value of 0 in a bit location indicat...

Page 19: ... will revert to its prior state after execution For example if the channel is Open when this command is executed the channel will update the setting and return to the Open state Definition Miii CR for standard 11 bit CAN messages Miiiiiiii CR for extended 29 bit CAN messages Parameters iii standard 11 bit CAN ID 0x000 through 0x7FF iiiiiiii extended 29 bit CAN ID 0x00000000 through 0x1FFFFFFF Defa...

Page 20: ... 16 bit counter that increments once every millisecond and rolls over at 60 000mS 1 minute Valid hex values are 0x0000 through 0xEA5F NOTE The CAN channel will revert to its prior state after execution For example if the channel is Open when this command is executed the channel will update the setting and return to the Open state Definition Zn CR Parameters n 0 disable time stamp feature 1 enable ...

Page 21: ...el must be initiated with selected speed S or s prior to use of Open Definition O CR Parameters None Remarks Example O CR Open CAN channel in normal communication mode Once the CAN channel is open it is necessary to execute the Echo Synchronize E or e command to flush the data buffers Once the CAN channel is synchronized received data is automatically sent from the CAN network to the controlling a...

Page 22: ...s useful for monitoring the CAN channel without interaction from the CAN bus CAN channel must be initiated with selected speed S or s prior to use of Listen When in Listen mode the channel must first be Closed C and then opened with Open O prior to attempting to transmit frames NOTE A minimum of three nodes are required on the CANbus network for Listen mode to function Definition L CR Parameters N...

Page 23: ... Version 1 3 Clearance No ES 02 2008 2010 EasySYNC Ltd 23 4 1 8 Close CAN Channel C Summary Closes the CAN channel This command provides backward compatibility with some existing CANbus adapters Definition C CR Parameters None Remarks Example C CR Close CAN channel Return Codes CR OK BELL ERROR ...

Page 24: ...008 2010 EasySYNC Ltd 24 4 1 9 Echo Synchronize E Summary Clear transmit data buffers Data buffers should be cleared immediately after opening the CAN channel to prevent erroneous as a result of sending old data in the buffer Definition E CR Parameters None Remarks Example E CR Clear data buffers Return Codes E CR OK BELL ERROR ...

Page 25: ...Open O prior to transmitting any messages Definition tiiildd dd CR Parameters iii 3 digit identifier in hex 000 through 7FF l Length number of bytes of data message dd Data bytes in hex 00 through FF The number of bytes must match message length Remarks Example t34580123456789ABCDEF Transmit a 11 bit ID frame with ID 0x345 Data 0x01 0x23 0x45 0x67 0x89 0xAB 0xCD 0xEF Example t4560 Transmit an 11 b...

Page 26: ...smitting any messages Definition Tiiiiiiiildd dd CR Parameters iiiiiiii 8 digit identifier in hex 00000000 through 1FFFFFFF l Length number of bytes of data message dd Data bytes in hex 00 through FF The number of bytes must match message length Remarks Example T1234567880123456789ABCDEF Transmit a 29 bit ID frame with ID 0x12345678 Data 0x01 0x23 0x45 0x67 0x89 0xAB 0xCD 0xEF Example T123456780 T...

Page 27: ... CR Get CANbus status Return Codes xx CR OK xx CANbus status A bit set to 1 indicates a true condition bit 0 Flag bit 1 or Flag bit 2 is set bit 1 Receive Warning 127 Receive Error Counter 95 bit 2 Transmit Warning Transmit Error Counter 95 bit 3 Receive Bus Passive Receive Error Counter 127 Will cause RED LED to Single Flash bit 4 Transmit Bus Passive Transmit Error Counter 127 Will cause RED LED...

Page 28: ...EasySYNC Ltd 28 4 1 13 Get Hardware and Firmware Versions V Summary Get hardware and firmware version numbers of USB2 F 7x01 Each value consists of a two digit binary coded decimal BCD number Definition V CR Parameters None Remarks Example V CR Get serial number Return Codes Vxxyy CR OK xx hardware version yy firmware version BELL ERROR ...

Page 29: ...1 3 Clearance No ES 02 2008 2010 EasySYNC Ltd 29 4 1 14 Get Serial Number N Summary Get serial number of USB2 F 7x01 Definition N CR Parameters None Remarks Example N CR Get serial number Return Codes Nxxxx CR OK xxxx serial number of the USB2 F 7x01 It is possible to have alphanumeric values BELL ERROR ...

Page 30: ...010 EasySYNC Ltd 30 4 1 15 Reset Microcontroller R Summary Resets PIC18F2680 MCU Configurations are preserved in EEPROM This command is useful if the USB2 F 7x01 becomes unresponsive LEDs will be in the state mentioned in Section 1 2 Definition R CR Parameters None Remarks Example R CR Reset PIC18F2680 Return Codes CR OK BELL ERROR ...

Page 31: ... 2008 2010 EasySYNC Ltd 31 4 1 16 Prepare Bootloader B Summary Resets PIC18F2680 MCU into Bootloader mode Only use this command immediately prior to loading new firmware onto the USB2 F 7x01 Definition B CR Parameters None Remarks Example B CR Prepare to load new firmware Return Codes Entering Bootloader Mode Boot BELL ERROR ...

Page 32: ...wered hubs are not supported Table 5 1 USB Electrical Details 5 2 CANbus Parameter Description Minimum Typical Maximum Units Conditions Vtrans Transmitter output voltage swing 0 5 4 5 V See Microchip MCP2551 datasheet for complete details Vrec Receiver input voltage range 0 3 5 3 V See Microchip MCP2551 datasheet for complete details ESD HBM 6 KV See Microchip MCP2551 datasheet for complete detail...

Page 33: ... ES_000005 USB2 F 7x01 Full Speed USB to 1 Port CANbus Adapter User Guide Version 1 3 Clearance No ES 02 2008 2010 EasySYNC Ltd 33 6 Mechanical Details 6 1 Module Mechanical Dimensions Figure 6 1 USB2 F 7x01 Case Dimensions ...

Page 34: ... No ES_000005 USB2 F 7x01 Full Speed USB to 1 Port CANbus Adapter User Guide Version 1 3 Clearance No ES 02 2008 2010 EasySYNC Ltd 34 6 2 UniClip Mechanical Dimensions Figure 6 2 USB2 F 7x01 Case Dimensions with UniClip ...

Page 35: ...5 7 Physical Environment Details 7 1 Storage Parameter Description Minimum Typical Maximum Units Conditions T Storage Temperature Range TBD TBD o C Table 7 1 Storage Temperature 7 2 Operating Parameter Description Minimum Typical Maximum Units Conditions T Operating Temperature Range 40 85 o C 5 to 95 RH non condensing Table 7 2 Operating Temperature ...

Page 36: ...radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna In...

Page 37: ...ance No ES 02 2008 2010 EasySYNC Ltd 37 8 5 Import Export Information Import Export Information for USB2 F 7001 and USB2 F 7101 Country of Origin China Harmonized Code 8471 80 1000 Product Description USB to CANbus Computer Adapter Single Port USA ECCN EAR99 No License Required Table 8 1 Import Export Information ...

Page 38: ...ps are installed in the system check with all manufacturers of these devices for the latest device drivers See the FTDI installation guides for additional details http ftdichip com Documents InstallGuides htm Common Windows Device Driver Troubles DEVICE TIMES OUT The default settings of the device driver assume typical data transfers of hundred to thousands or more bytes at a given time Some appli...

Page 39: ...rest EasySYNC office United Kingdom support easysync co uk United States support easysync ltd com Application Notes and support documentation For further CAN support documentation refer to the following EasySYNC CAN programmers guide application and technical notes PG_USB2 F 7x01_API_Guide pdf AN_102_CAN_Plus_Custom_CAN_Data_Rates pdf AN_103_CAN_Plus_Message_Filtering pdf TN_101_EasySync_CAN_Plus_...

Page 40: ...l Sales sales easysync ltd com E Mail Support support easysync ltd com E Mail General Inquiries admin easysync ltd com Web Site URL http easysync ltd com Web Shop URL http easysync ltd com Branch Office Hillsboro Oregon USA EasySYNC Limited USA 7235 NW Evergreen Parkway Suite 600 Hillsboro OR 97123 5803 USA Tel 1 503 547 0909 Fax 1 503 547 0990 E Mail Sales sales easysync ltd com E Mail Support su...

Page 41: ...Version 1 3 Clearance No ES 02 2008 2010 EasySYNC Ltd 41 Appendix A References Bosch CAN Specification Version 2 0 http www semiconductors bosch de pdf can2spec pdf CAN in Automation CiA www can cia org Future Technology Devices International Ltd FTDI www ftdichip com Microchip www microchip com ...

Page 42: ...gnment 10 Figure 2 7 Access COM Port Properties 10 Figure 2 8 Settings Tab 11 Figure 2 9 Advanced Options 11 Figure 6 1 USB2 F 7x01 Case Dimensions 33 Figure 6 2 USB2 F 7x01 Case Dimensions with UniClip 34 List of Tables Table 1 1 LED Description 5 Table 1 2 Performance Figures 7 Table 1 3 Ordering Information 7 Table 3 1 USB B Receptacle Pin Out 13 Table 3 2 DE 9P DS102 2 CANbus Pin Out 13 Table ...

Page 43: ...mand return value May 2009 Version 1 1 Changed Acceptance Code to Acceptance Filter throughout the document October 2009 Corrected Acceptance Mask and Acceptance Filter definitions Added notices that USB Bus Powered Hubs are not supported Version 1 2 Added references to USB2 F 7101 and USB2 F 7x01 to cover both adapters Feb 2010 Changed colours to black silver Version 1 3 Updated web references to...

Reviews: