639 | | Most Newport products have a flexible [http://dev.gateworks.com/datasheets/sp335e.pdf MaxLinear SP335E] RS-232/RS-485/RS-422 transceiver which is software configurable. For these boards the Bootloader {{{hwconfig}}} environment variable can be used to configure the functionality of the serial ports at power-up. See [wiki:newport/#hwconfig Newport bootloader hwconfig] for more details. |
| 639 | Most Newport products have a flexible [http://dev.gateworks.com/datasheets/sp335e.pdf MaxLinear SP335E] RS-232/RS-485/RS-422 transceiver which is software configurable. For these boards the Bootloader {{{hwconfig}}} environment variable can be used to configure the functionality of the serial ports at power-up between dual RS232 without flow control (default), single RS232 with hardware flow control, and RS485 (full/half duplex and optional termination). See [wiki:newport/#hwconfig Newport bootloader hwconfig] for more details. |
| 640 | |
| 641 | If you wish to configure the SP335E transceiver yourself you can control it at runtime through the following GPIO's (which is what the Boot firmware will do for you via the {{{hwconfig}}} variable): |
| 642 | * GPIO21: UART_HALF - selects full (low) or half (high) duplex (RS485 mode only) |
| 643 | * GPIO22: UART_TERM - disables (low) or enables (high) on-chip termination (RS485 mode only) |
| 644 | * GPIO23: UART_RS485 - selects between RS232 (low) and RS245 (high) modes |
| 645 | |
| 646 | See [wiki:gpio gpio] for details on using GPIO from Linux userspace or use the U-Boot bootloader {{{gpio}}} command. |
| 647 | |