EasySync S1-A-7001 User Manual

Manual is about: RS232 to 1-Port CANbus

Summary of S1-A-7001

  • Page 1

    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...

  • Page 2

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 2 1 introduction ................................................................................... 4 1.1 functional description ..............................

  • Page 3

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 3 4.1.18 reset microcontroller (r) ...........................................................................27 4.1.19 prepare bootloader (b)..................

  • Page 4

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 4 1 introduction 1.1 functional description the s1-a-7001 is a rs232 to canbus adapter which operates at up to 1mbps on both rs232 and canbus interfaces. Eac...

  • Page 5

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 5 1.2 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. On...

  • Page 6

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 6 block diagram rs232 level shifter canbus controller pic18f2680 de-9s rs232 connector canbus transceiver mcp2551 de-9p canbus connector figure 1.2 – s1-a-70...

  • Page 7

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 7 1.4 performance figures parameter performance rs232 interface 2.4kbps, 9.6kbps, 19.2kbps, 38.4kbps, 57.6kbps (default), 115.2kbps, 230.4kbps, 460.8kbps and...

  • Page 8

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 8 2 installation 2.1 example applications and configurations 2.2 hardware installation there are no switches or jumpers to configure on the s1-a-7001. 2.2.1 ...

  • Page 9

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 9 3 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 conne...

  • Page 10

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 10 4 application programming interfaces 4.1 ascii commands the following ascii commands provide a means of utilizing an interactive terminal program, or comm...

  • Page 11

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 11 4.1.1 help (h, h or ?) summary lists available commands. Definition h, h or ? Parameters none remarks example: ? List available commands. Return codes lis...

  • Page 12

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 12 4.1.3 set uart baud rate (u) summary configure rs232 interface with a chosen baud rate. This rate is independent of the canbus baud rate. The rs232 baud r...

  • Page 13

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 13 4.1.4 set can channel timing – simple (s) summary configure can interface with a pre-configured channel transmission rate. Note: the can channel will reve...

  • Page 14

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 14 4.1.5 set can channel timing – advanced (s) summary configure can interface with a custom channel transmission rate. Note: the can channel will revert to ...

  • Page 15

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 15 4.1.6 set acceptance mask (m) summary the acceptance mask, in conjunction with the acceptance filter (m), defines which received messages (i.E. Of a speci...

  • Page 16

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 16 4.1.7 set acceptance filter (m) summary the acceptance filter, in conjunction with the acceptance mask (m), defines which received messages (i.E. Of a spe...

  • Page 17

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 17 4.1.8 enable time stamp (z) summary sets or clears time stamp on received frames. This value is persistent in eeprom across reset or restart. Four (4) byt...

  • Page 18

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 18 4.1.9 open can channel (o) summary opens can channel for read/write operations. Can channel must be initiated with selected speed (s or s) prior to use of...

  • Page 19

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 19 4.1.10 open can channel for listen only (l) summary opens the can channel in listen only mode. This is essentially the same as open, although attempts to ...

  • Page 20

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 20 4.1.11 close can channel (c) summary closes the can channel. This command provides backward compatibility with some existing canbus adapters. Definition c...

  • Page 21

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 21 4.1.12 echo / synchronize (e) summary clear transmit data buffers. Data buffers should be cleared immediately after opening the can channel to prevent err...

  • Page 22

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 22 4.1.13 transmit standard can frame – 11-bit id (t) summary transmits a standard can frame with an 11-bit id. The can channel must be open (o) prior to tra...

  • Page 23

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 23 4.1.14 transmit extended can frame – 29-bit id (t) summary transmits an extended can frame with a 29-bit id. The can channel must be open (o) prior to tra...

  • Page 24

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 24 4.1.15 get status flags (f) summary get canbus and controller status. A two-byte bcd number is returned to correspond to the 8- bits of the comstat regist...

  • Page 25

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 25 4.1.16 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 c...

  • Page 26

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 26 4.1.17 get serial number (n) summary get serial number of s1-a-7001. Definition n parameters none remarks example n get serial number return codes nxxxx =...

  • Page 27

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 27 4.1.18 reset microcontroller (r) summary resets pic18f4680 mcu. Configurations are preserved in eeprom. This command is useful if the s1-a-7001 becomes un...

  • Page 28

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 28 4.1.19 prepare bootloader (b) summary resets pic18f4680 mcu into bootloader mode. Only use this command immediately prior to loading new firmware onto the...

  • Page 29

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 29 5 electrical details 5.1 power requirements parameter description minimum typical maximum units conditions vcc input power voltage 6.0 15 v i cc supply cu...

  • Page 30

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 30 6 mechanical details 6.1 module mechanical dimensions figure 6.1 – s1-a-7001 case dimensions.

  • Page 31

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 31 7 physical environment details 7.1 storage parameter description minimum typical maximum units conditions t storage temperature range tbd tbd o c table 7....

  • Page 32

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 32 8 environmental approvals & declarations 8.1 emi compatibility fcc and ce the s1-a-7001 has been tested to be compliant with both fcc part 15 subpart b an...

  • Page 33

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 33 8.5 import / export information import / export information country of origin china harmonized code 8471.80.1000 product description rs232 to canbus compu...

  • Page 34

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 34 9 troubleshooting 9.1 hardware if the yellow led is not lit when plugged into canbus connector, check the following: - all cables are properly inserted an...

  • Page 35

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 35 technical support technical support may be obtained from your nearest easysync office: united kingdom: support@easysync.Co.Uk united states: support@easys...

  • Page 36

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 36 10 contact information head office – glasgow, uk easysync limited unit 1, 2 seaward place, centurion business park glasgow, g41 1hh united kingdom tel: +4...

  • Page 37

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 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...

  • Page 38

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 38 appendix b - list of figures and tables list of figures figure 1.1 –s1-a-7001 ...............................................................................

  • Page 39

    Document reference no.: es_000008 s1-a-7001 rs232 to 1-port canbus adapter user guide version 1.2 clearance no.: es #03 ©2009-10 easysync ltd. 39 appendix c - revision history version draft initial draft 20 th march 2009 version draft 2nd draft 11 th may 2009 version draft 3 rd draft 18 th may 2009 ...

  • Page 40: Mouser Electronics

    Mouser electronics authorized distributor click to view pricing, inventory, delivery & lifecycle information: easysync : s1-a-7001.