20 | | ||= Family =||= Board =||= Device =||= Function =|| |
21 | | || Avila || GW2347 || ttyS0 || console: 3.3V TTL JTAG J2 / RS232 J5 || |
22 | | || || || ttyS1 || UART: RS232 J3 || |
23 | | || || GW2348 || ttyS0 || console: 3.3V TTL JTAG J7 / RS232 J13 || |
24 | | || || || ttyS1 || UART: RS232 J6 || |
25 | | || || GW2355 || ttyS0 || console: 3.3V TTL JTAG J3 / RS232 J5 || |
26 | | || || || ttyS1 || GPS || |
27 | | || || GW2357 || ttyS0 || console: 3.3V TTL JTAG J2 / RS232 J6 || |
28 | | || || || ttyS1 || UART: RS232 J36 || |
29 | | || Cambria || GW2350 || ttyS0 || console: 3.3V TTL JTAG J1/J10 || |
30 | | || || || ttyS1 || GPS || |
31 | | || || || ttyS2 || RS485 J6 || |
32 | | || || GW2358 || ttyS0 || console: 3.3V TTL JTAG J10 / RS232 J17 || |
33 | | || || || ttyS1 || GPS || |
34 | | || || || ttyS2 || RS485 J3 || |
35 | | || Rincon || GW2361 || ttyS0 || console: 3.3V TTL JTAG J2 || |
36 | | || || || ttyS1 || RS232 J7 || |
37 | | || || || ttyS2 || RS485 J6 || |
38 | | || Laguna || GW2380/2/3 || ttyS0 || console: 3.3V TTL JTAG J2 / 3.3V TTL J4 || |
39 | | || || || ttyS1 || GPS || |
40 | | || || || ttyS2 || UART: 3.3V TTL J8 || |
41 | | || || GW2387 || ttyS0 || console: 3.3V TTL JTAG J3/J7 / RS232 J13 || |
42 | | || || || ttyS1 || RS232 J13 / 3.3V TTL J7 || |
43 | | || || || ttyS2 || GPS || |
44 | | || || GW2388 || ttyS0 || console: 3.3V TTL JTAG J8 / RS232 J21 || |
45 | | || || || ttyS1 || RS232 J21 || |
46 | | || || || ttyS2 || GPS || |
47 | | || || GW2391 || ttyS0 || console: 3.3V TTL JTAG J1 / RS232 J15 || |
48 | | || || || ttyS1 || RS232 J15 || |
49 | | || || || ttyS2 || GPS || |
50 | | || Ventana || GW51xx || ttymxc0 || GPS || |
51 | | || || || ttymxc1 || console: 3.3V TTL JTAG J10/J11 || |
52 | | || || || ttymxc4 || TTL J11 || |
53 | | || || GW52xx || ttymxc0 || RS485/CAN/TTL J12 / RS232 J10 || |
54 | | || || || ttymxc1 || console: 3.3V TTL JTAG J14 / RS232 J10 || |
55 | | || || || ttymxc4 || GPS || |
56 | | || || GW53xx || ttymxc0 || RS485/CAN/TTL J11 / RS232 J12 || |
57 | | || || || ttymxc1 || console: 3.3V TTL JTAG J14 / RS232 J12 || |
58 | | || || || ttymxc4 || GPS || |
59 | | || || GW54xx || ttymxc0 || RS485 J13 || |
60 | | || || || ttymxc1 || console: 3.3V TTL JTAG J17 / RS232 J15 || |
61 | | || || || ttymxc4 || GPS || |
62 | | || || GW551x || ttymxc1 || console: exp 3.3V TTL J3 || |
63 | | || || || ttymxc2 || exp 3.3V TTL J3 || |
64 | | || || GW552x || ttymxc1 || console: 3.3V TTL JTAG J7 || |
65 | | || || || ttymxc2 || exp 3.3V TTL J5 || |
66 | | || || || ttymxc4 || exp 3.3V TTL J5 || |
67 | | || || GW553x || ttymxc1 || console: 3.3V TTL JTAG J11 || |
68 | | || || || ttymxc2 || exp 3.3V TTL JTAG J10 || |
69 | | || || || ttymxc3 || GPS || |
70 | | || || || ttymxc4 || exp 3.3V TTL JTAG J10 || |
71 | | || || GW16111 || ttymxc1 || console: 3.3V TTL JTAG J8 / RS232 J16 / RS485 J20 || |
72 | | || || || ttymxc2 || RS232 J16 || |
| 20 | ||= Family =||= Board =||= HW Dev =|| SW Dev =||= Function =|| |
| 21 | || Avila || GW2347 || UART0 || ttyS0 || console: 3.3V TTL JTAG J2 / RS232 J5 || |
| 22 | || || || UART1 || ttyS1 || UART: RS232 J3 || |
| 23 | || || GW2348 || UART0 || ttyS0 || console: 3.3V TTL JTAG J7 / RS232 J13 || |
| 24 | || || || UART1 || ttyS1 || UART: RS232 J6 || |
| 25 | || || GW2355 || UART0 || ttyS0 || console: 3.3V TTL JTAG J3 / RS232 J5 || |
| 26 | || || || UART1 || ttyS1 || GPS || |
| 27 | || || GW2357 || UART0 || ttyS0 || console: 3.3V TTL JTAG J2 / RS232 J6 || |
| 28 | || || || UART1 || ttyS1 || UART: RS232 J36 || |
| 29 | || Cambria || GW2350 || UART0 || ttyS0 || console: 3.3V TTL JTAG J1/J10 || |
| 30 | || || || UART1 || ttyS1 || GPS || |
| 31 | || || || UART2 || ttyS2 || RS485 J6 || |
| 32 | || || GW2358 || UART0 || ttyS0 || console: 3.3V TTL JTAG J10 / RS232 J17 || |
| 33 | || || || UART1 || ttyS1 || GPS || |
| 34 | || || || UART2 || ttyS2 || RS485 J3 || |
| 35 | || Rincon || GW2361 || UART0 || ttyS0 || console: 3.3V TTL JTAG J2 || |
| 36 | || || || UART1 || ttyS1 || RS232 J7 || |
| 37 | || || || UART2 || ttyS2 || RS485 J6 || |
| 38 | || Laguna || GW2380/2/3 || UART0 || ttyS0 || console: 3.3V TTL JTAG J2 / 3.3V TTL J4 || |
| 39 | || || || UART1 || ttyS1 || GPS || |
| 40 | || || || UART2 || ttyS2 || UART: 3.3V TTL J8 || |
| 41 | || || GW2387 || UART0 || ttyS0 || console: 3.3V TTL JTAG J3/J7 / RS232 J13 || |
| 42 | || || || UART1 || ttyS1 || RS232 J13 / 3.3V TTL J7 || |
| 43 | || || || UART2 || ttyS2 || GPS || |
| 44 | || || GW2388 || UART0 || ttyS0 || console: 3.3V TTL JTAG J8 / RS232 J21 || |
| 45 | || || || UART1 || ttyS1 || RS232 J21 || |
| 46 | || || || UART2 || ttyS2 || GPS || |
| 47 | || || GW2391 || UART0 || ttyS0 || console: 3.3V TTL JTAG J1 / RS232 J15 || |
| 48 | || || || UART1 || ttyS1 || RS232 J15 || |
| 49 | || || || UART2 || ttyS2 || GPS || |
| 50 | || Ventana || GW51xx || UART1 || ttymxc0 || GPS || |
| 51 | || || || UART2 || ttymxc1 || console: 3.3V TTL JTAG J10/J11 || |
| 52 | || || || UART5 || ttymxc4 || TTL J11 || |
| 53 | || || GW52xx || UART1 || ttymxc0 || RS485/CAN/TTL J12 / RS232 J10 || |
| 54 | || || || UART2 || ttymxc1 || console: 3.3V TTL JTAG J14 / RS232 J10 || |
| 55 | || || || UART5 || ttymxc4 || GPS || |
| 56 | || || GW53xx || UART1 || ttymxc0 || RS485/CAN/TTL J11 / RS232 J12 || |
| 57 | || || || UART2 || ttymxc1 || console: 3.3V TTL JTAG J14 / RS232 J12 || |
| 58 | || || || UART5 || ttymxc4 || GPS || |
| 59 | || || GW54xx || UART1 || ttymxc0 || RS485 J13 / RS232 J15 || |
| 60 | || || || UART2 || ttymxc1 || console: 3.3V TTL JTAG J17 / RS232 J15 || |
| 61 | || || || UART5 || ttymxc4 || GPS || |
| 62 | || || GW551x || UART2 || ttymxc1 || console: exp 3.3V TTL J3 || |
| 63 | || || || UART3 || ttymxc2 || exp 3.3V TTL J3 || |
| 64 | || || GW552x || UART2 || ttymxc1 || console: 3.3V TTL JTAG J7 || |
| 65 | || || || UART3 || ttymxc2 || exp 3.3V TTL J5 || |
| 66 | || || || UART5 || ttymxc4 || exp 3.3V TTL J5 || |
| 67 | || || GW553x || UART2 || ttymxc1 || console: 3.3V TTL JTAG J11 || |
| 68 | || || || UART3 || ttymxc2 || exp 3.3V TTL JTAG J10 || |
| 69 | || || || UART4 || ttymxc3 || GPS || |
| 70 | || || || UART5 || ttymxc4 || exp 3.3V TTL JTAG J10 || |
| 71 | || || GW16111 || UART2 || ttymxc1 || console: 3.3V TTL JTAG J8 / RS232 J16 / RS485 J20 || |
| 72 | || || || UART3 || ttymxc2 || RS232 J16 || |
| 73 | |
235 | | ||= Family =||= Board =||= TXEN =||= Termination =||= Notes =|| |
236 | | || Cambria || GW235x || DTR || optional || use tcdrain() and TIOCMBIC/TIOCMBIS ioctl || |
237 | | || || |
238 | | || Rincon || GW2361 || RTS || off-board || use tcdrain() and TIOCMBIC/TIOCMBIS ioctl || |
239 | | || || |
240 | | || Laguna || GW2380+GW16067 || gpio3 || optional || use tcdrain() and userspace /sys/class/gpio/gpio3 || |
241 | | || || |
242 | | || Ventana || GW551x+GW16111 || gpio19 || optional || see [#ventana-rs485 below] || |
243 | | || Ventana || GW52xx '''(optional)''' || gpio193 || optional || TIOCSRS485 support || |
244 | | || Ventana || GW53xx '''(optional)''' || gpio193 || optional || TIOCSRS485 support || |
245 | | || Ventana || GW54xx '''(optional)''' || gpio193 || optional || TIOCSRS485 support || |
| 252 | ||= Family =||= Board =||= TXEN =||= Transceiver =||= Termination =||= Fail-Safe Bias =||= Notes =|| |
| 253 | || Cambria || GW235x '''(optional)''' || DTR || [http://dev.gateworks.com/datasheets/MAX3483-MAX3491.pdf MAX3485] || optional || optional || use tcdrain() and TIOCMBIC/TIOCMBIS ioctl || |
| 254 | || || |
| 255 | || Rincon || GW2361 '''(optional)''' || RTS || [http://dev.gateworks.com/datasheets/MAX3483-MAX3491.pdf MAX3485] || off-board || off-board || use tcdrain() and TIOCMBIC/TIOCMBIS ioctl || |
| 256 | || || |
| 257 | || Laguna || GW238x+GW16067 || gpio3 || [http://dev.gateworks.com/datasheets/MAX3483-MAX3491.pdf MAX3485] || optional || 4.75k pull up/down || use tcdrain() and userspace /sys/class/gpio/gpio3 || |
| 258 | || || |
| 259 | || Ventana || GW551x+GW16111 || gpio19 || [http://dev.gateworks.com/datasheets/MAX14840E-MAX14841E.pdf MAX14840] || optional || 4.75k pull up/down || see [#ventana-rs485 ventana RS485 below] || |
| 260 | || Ventana || GW52xx '''(optional)''' || gpio193 || [http://dev.gateworks.com/datasheets/MAX14840E-MAX14841E.pdf MAX14840] || optional || optional || TIOCSRS485 support || |
| 261 | || Ventana || GW53xx '''(optional)''' || gpio193 || [http://dev.gateworks.com/datasheets/MAX14840E-MAX14841E.pdf MAX14840] || optional || optional || TIOCSRS485 support || |
| 262 | || Ventana || GW54xx '''(optional)''' || gpio193 || [http://dev.gateworks.com/datasheets/MAX14840E-MAX14841E.pdf MAX14840] || optional || optional || TIOCSRS485 support || |
| 270 | |
| 271 | [=#rs485-termination] |
| 272 | === RS485 Termination === |
| 273 | As a general rule, termination resistors should be placed at both far ends of the RS485 network. Without termination resistors reflections of fast driver edges can cause data corruption. Termination resistors also reduce electrical noise sensitivity due to lower impedance. The value of each termination resistor should be equal to the cable characteristic impedance (typically 120 ohms for twisted pairs). |
| 274 | |
| 275 | Some boards with RS485 capability may have transceivers with specific fail-safe features within the transceiver however optional on-board termination resistors typically exist as well and it is the responsibility of the system designer to determine where termination needs to go and what values should be used. In general, gateworks boards with RS485 transceivers have an optional resistor for termination that can be loaded with a customer specified value. Contact sales@gateworks.com via e-mail for more information. |
| 276 | |
| 277 | References: |
| 278 | * [https://www.maximintegrated.com/en/app-notes/index.mvp/id/763 Maxium Tutorial 763 - Guidelines for Proper Wiring of an RS-485 Network] |
| 279 | * https://en.wikipedia.org/wiki/RS-485 |
| 280 | |
| 281 | |
| 282 | [=#rs485-failsafebias] |
| 283 | === RS485 Failsafe Bias Resistors === |
| 284 | When inputs are between -200mV and +200mV the receiver output is 'undefined'. There are four common fault conditions that result in this undefined receiver output that can cause erroneous data: |
| 285 | * All transmitters in a system are not driving |
| 286 | * The receiver is not connected to the cable |
| 287 | * The cable has an open |
| 288 | * The cable has a short |
| 289 | |
| 290 | Fail-safe biasing is used to keep the receiver's output in a defined state when one of these conditions occur. The biasing consists of a pull-up resistor on the noninverting line and a pull-down resistor on the inverting line. With proper biasing, the receiver will output a valid high when any one of the fault conditions occur. These fail-safe bias resistors should be placed at the receiver end of the transmission line. |
| 291 | |
| 292 | Some boards with RS485 capability may have on-board termination resistor options and it is the responsibility of the system designer to determine where termination needs to go and what values should be used. In general, gateworks boards with RS485 transceivers have an optional resistor for termination that can be loaded with a customer specified value. Contact sales@gateworks.com via e-mail for more information. |
| 293 | |
| 294 | on-board failsafe bias resistors 4.75Kohm pulls and an optional on-board 121ohm load termination resistor. |
| 295 | |
| 296 | References: |
| 297 | * [https://www.maximintegrated.com/en/app-notes/index.mvp/id/763 Maxium Tutorial 763 - Guidelines for Proper Wiring of an RS-485 Network] |
| 298 | * https://en.wikipedia.org/wiki/RS-485 |