![Diamond Systems STEVIE User Manual Download Page 49](http://html1.mh-extra.com/html/diamond-systems/stevie/stevie_user-manual_2494390049.webp)
Stevie User Manual Rev 1.03
Page 49
Launch the SAM microcontroller utility and set the mode as depicted in the screen below.
Figure 15-1: SAM Utility Serial Port Configuration
The
RS485_util
provides the option to enable or disable RS485/422 direction control on the UART ports.
NOTE
: The
RS485_util
must be run after the ports are opened. Running the utility before the ports are
open may result in the Terminal utility resetting the flag settings.
Before transmitting, set the mode for individual ports by replacing the -
n
parameter with the port number as
shown in the syntax below.
#sudo rs485_util ttyTHS<n> 1
During transmission the RX protocol will be disabled.
After the transmission is complete the RX protocol will be enabled as depicted in the syntax and screen
below.
#sudo rs485_util ttyTHS<n> 0
Figure 15-2: Enabled RX Protocol Screen
The table below lists the GPIO values and transceiver modes.
Sysfs GPIO
Number
RS232 RS422 RS485
443
1
1
0
444
0
1
1