S1-A-7001 EasySync, S1-A-7001 Datasheet

no-image

S1-A-7001

Manufacturer Part Number
S1-A-7001
Description
RS-232 Interface IC 1 port RS232 Can Adapter
Manufacturer
EasySync
Datasheet

Specifications of S1-A-7001

Rohs
yes
EasySync Ltd
S1-A-7001 RS232 to 1-Port CANbus
Adapter
User Guide
Document Reference No.: ES_000008
Version 1.2
Issue Date: 2010-02-23
The S1-A-7001 provides a simple method of adapting CANbus devices to RS232.
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):
support@easysync.co.uk
Web:
http://www.easysync.co.uk
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 © 2009-10 EasySync Limited

Related parts for S1-A-7001

S1-A-7001 Summary of contents

Page 1

... S1-A-7001 RS232 to 1-Port CANbus Document Reference No.: ES_000008 The S1-A-7001 provides a simple method of adapting CANbus devices to RS232. Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow, G41 1HH, United Kingdom Tel.: +44 (0) 141 418 0181 E-Mail (Support): 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 ...

Page 2

... Transmit Standard CAN Frame – 11-bit ID (t) ..............................................22 4.1.14 Transmit Extended CAN Frame – 29-bit ID (T) .............................................23 4.1.15 Get Status Flags (F) ..................................................................................24 4.1.16 Get Hardware and Firmware Versions (V) ....................................................25 4.1.17 Get Serial Number (N) ..............................................................................26 Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 2 ...

Page 3

... Environmental ............................................................................................. 32 8.4 Reliability .................................................................................................... 32 8.4.1 MTTF ......................................................................................................32 8.5 Import / Export Information ....................................................................... 33 9 Troubleshooting ........................................................................... 34 9.1 Hardware .................................................................................................... 34 Technical Support ................................................................................................. 35 10 Contact Information ..................................................................... 36 Appendix A – References ................................................................... 37 Appendix B - List of Figures and Tables ............................................. 38 Appendix C - Revision History ............................................................ 39 Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 3 ...

Page 4

... The S1-A-7001 requires an external power supply with an input voltage range of +6VDC to +15VDC. Figure 1.1 –S1-A-7001 Its small size allows the S1-A-7001 to be used in a variety of applications, from a portable adapter to accompany a laptop to permanent installations in industrial and commercial locations. The enclosure incorporates a DE-9S connector that allows connection to an RS232 device in DTE configuration by using a straight-through cable ...

Page 5

... LED Description The S1-A-7001 uses three LEDs to indicate a valid link as well as CANbus status. The table below uses the following LED definitions LED constantly lit OFF = LED is constantly not lit Blinking = 2.5Hz, alternating ON and OFF Single Flash = Short flash ON (200msec), followed by long off phase (1000msec) ...

Page 6

... This connector provides the interface for connection a RS232 device. Most PC RS232 ports or other RS232 adapters are configured for DTE. The S1-A-7001 pin connection allows use of a straight-through DE-9P to DE-9S cable. The S1-A-7001 can also be connected directly to a mating RS232 port with the integral thumb-screws. ...

Page 7

... CANbus Interface 10Kbps to 1Mbps Table 1.2 – Performance Figures 1.5 Ordering Information Part Number Description S1-A-7001 CAN-Plus RS232 to 1-Port CANbus Adapter Table 1.3 – Ordering Information Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 7 ...

Page 8

... Figure 2.1 – Canbus Network 2.3 Firmware Update The S1-A-7001 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. Document Reference No.: ES_000008 ...

Page 9

... Connections 3.1 External Connectors 3.1.1 RS232 The S1-A-7001 is configured to allow use of a straight-through 9-pin RS232. It can also be directly connected to a host computer port. RS232 signal names are defined in Table 3.1. Pin Number Pin Type 2 Input 3 Output 5 Ground 7 Input 8 Output Table 3.1 – RS232 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 ...

Page 10

... Append line feeds to incoming carriage returns (0x0D). - The S1-A-7001 defaults to 57.6Kbps RS232 communications different RS232 bit rate is chosen, that rate will be the new default on subsequent power cycles. The CAN messages are received at all times by default and are sent on the RS232 port immediately. The firmware version 2 ...

Page 11

... M - Set Acceptance Filter B - Enter Bootload Mode L - Set Listen Mode E - Clear Buffers and Echo Char R - Reset S1-A-7001 U – Set UART Baud Rate Help on S1-A-7001 Commands <CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No ...

Page 12

... Configure RS232 interface with a chosen baud rate. This rate is independent of the CANbus baud rate. The RS232 baud rate is stored and retained across power cycles. Upon power-up or reset (R) of the S1-A-7001, the RED LED will flash a given number of times. NOTE: Ensure the attached RS232 device can be configured for the new baud rate prior to using this command ...

Page 13

... Srate_selector<CR> Parameters rate_selector = 0 = 10Kbps 1 = 20Kbps 2 = 50Kbps 3 = 100Kbps 4 = 125Kbps 5 = 250Kbps 6 = 500Kbps 7 = 800Kbps 8 = 1Mbps (default) Remarks Example: S5<CR> Set CAN transmission rate to 250Kbps Return Codes <CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 13 ...

Page 14

... PIC 18F4680 BRGCON2 register (in hexadecimal contents of PIC 18F4680 BRGCON3 register (in hexadecimal) Remarks The S1-A-7001 utilizes a 24MHz clock for the PIC 18F4680. Use this value when referring to the PIC datasheet if a custom transmission rate different from those provided with the “S” command above is required. ...

Page 15

... Set Acceptance Mask to check bits 10, 9 and 8 against the filter. Bits 7 thorugh 0 are ignored as “don’t care”. Use the Acceptance Mask in conjunction with the Acceptance Filter, defined next. Return Codes <CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 15 ...

Page 16

... Acceptance Mask example above, frames of the range 0x100 through 0x1FF will be passed and all other CAN IDs blocked. Return Codes <CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 16 ...

Page 17

... Remarks Default is OFF (disable time stamp) Only use when required to change functionality. Example: Z1<CR> Enable time stamp. Return Codes <CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 17 ...

Page 18

... Once the CAN channel is synchronized, received data is automatically sent from the CAN network to the controlling application. Return Codes <CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 18 ...

Page 19

... Open CAN channel in Listen Only mode Received data is automatically sent from the CAN network to the controlling application. Return Codes <CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 Listen Only mode is 19 ...

Page 20

... 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> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 20 ...

Page 21

... 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> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 21 ...

Page 22

... Data = 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF Example: t4560 Transmit an 11-bit ID frame with ID = 0x456 Data = zero bytes (no data) Return Codes z<CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 22 ...

Page 23

... Data = 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF Example: T123456780 Transmit an 11-bit ID frame with ID = 0x12345678 Data = zero bytes (no data) Return Codes Z<CR> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 23 ...

Page 24

... Will cause RED LED to Single Flash bit 5 = Transmit Bus-OFF: Transmit Error Counter > 255 Will cause RED LED to remain ON bit 6 = Receive Buffer 1 Overflow bit 7 = Receive Buffer 0 Overflow <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 24 ...

Page 25

... Get Hardware and Firmware Versions (V) Summary Get hardware and firmware version numbers of S1-A-7001. 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> hardware version yy = firmware version <BELL> = ERROR Document Reference No ...

Page 26

... Get serial number of S1-A-7001. Definition N<CR> Parameters None Remarks Example N<CR> Get serial number Return Codes Nxxxx<CR> xxxx = serial number of the S1-A-7001 possible to have alphanumeric values. <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 26 ...

Page 27

... Reset Microcontroller (R) Summary Resets PIC18F4680 MCU. Configurations are preserved in EEPROM. This command is useful if the S1-A-7001 becomes unresponsive. The RED LED will flash to indicate the RS232 baud ate, followed by entering the state mentioned in The RS232 baud rate set by the U command is not changed. ...

Page 28

... S1-A-7001. Definition B<CR> Parameters None Remarks Example B<CR> Prepare to load new firmware Return Codes Entering Bootloader Mode… Boot:> <BELL> = ERROR Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 28 ...

Page 29

... Table 5.2 – CANbus Electrical Details 5.3 RS232 Parameter Description Transmitter output V trans voltage swing Receiver input voltage V rec range ESD HBM Table 5.3 – RS232 Electrical Details Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide Minimum Typical Maximum 6 40* 100** Minimum Typical Maximum 0.5 4.5 -0.3 5.3 ± ...

Page 30

... Mechanical Details 6.1 Module Mechanical Dimensions Figure 6.1 – S1-A-7001 Case Dimensions Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 30 ...

Page 31

... Storage Temperature T Range Table 7.1 – Storage Temperature 7.2 Operating Parameter Description Operating Temperature T Range Table 7.2 – Operating Temperature Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide Minimum Typical Maximum Units TBD TBD Minimum Typical Maximum Units –40 +85 ©2009-10 EasySync Ltd. ...

Page 32

... EMI Compatibility FCC and CE The S1-A-7001 has been tested to be compliant with both FCC Part 15 Subpart B and European EMC Directive. NOTE: This is a Class B product domestic environment, this product may cause radio interference, in which case the user may be required to take adequate measures. ...

Page 33

... China Harmonized Code 8471.80.1000 Product Description RS232 to CANbus Computer Adapter, Single Port USA ECCN EAR99 – No License Required Table 8.1 – Import / Export Information Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 33 ...

Page 34

... Polarity: The CANbus network consists of a CAN_H and CAN_L signal. Care must be taken to follow the polarity. Always connect CAN_H to CAN_H, and CAN_L to CAN_L. Ensure the CANbus network is only connected to the S1-A-7001 after connection to a RS232 port. See Section 1.2 for default LED power-up patterns. The CANbus network can remain connected through system reboots ...

Page 35

... Technical Support Technical support may be obtained from your nearest EasySync office: United Kingdom: support@easysync.co.uk United States: support@easysync-ltd.com Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 35 ...

Page 36

... Fax: +1 (503) 547 0990 E-Mail (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 Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 36 ...

Page 37

... 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 Microchip www.microchip.com Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 37 ...

Page 38

... Table 5.1 – Power Supply Electrical Details ................................................................................................29 Table 5.2 – CANbus Electrical Details ..........................................................................................................29 Table 5.3 – RS232 Electrical Details .............................................................................................................29 Table 7.1 – Storage Temperature ..................................................................................................................31 Table 7.2 – Operating Temperature ..............................................................................................................31 Table 8.1 – Import / Export Information ........................................................................................................33 Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No.: ES #03 38 ...

Page 39

... Version 1.1 Changed “Acceptance Code” to “Acceptance Filter” throughout the document. Corrected Acceptance Mask and Acceptance Filter definitions. Version 1.2 Changed to silver/black enclosure Document Reference No.: ES_000008 S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide ©2009-10 EasySync Ltd. Version 1.2 Clearance No March 2009 ...

Related keywords