Installation and Startup
Rev. 7 August 2021 33 41110485
To query the serial mode status, use:
rs485.py/sys/devices/platform/msm_serial_hsl.0/rs_mode
which will return either RS232 or RS485.
By default, the RS-485 termination resistor is disabled. To enable or disable the RS-485
termination resistor, use the following Linux command:
rs485.py/sys/devices/platform/msm_serial_hsl.0/rs485_term <NEW
MODE>
Where <NEW MODE> is either:
· 0—RS-485 termination resistor is disabled (drives GPIO63 high; the termination
resistor is active low) (default)
· 1—RS-485 termination resistor is enabled (drives GPIO63 low)
For example, to enable the RS-485 termination resistor: rs485.py/sys/devices/
platform/msm_serial_hsl.0/rs485_term 1
To query the termination resistor status, use:
rs485.py/sys/devices/platform/msm_serial_hsl.0/rs485_term
which will return either DISABLED or ENABLED.
To make the rs485.py script executable, use the following command:
chmod a+x rs485.py
Default port settings
Serial:
• /dev/ttyHSL0
• 115200 8N1
• No flow control
AT commands:
• /dev/ttyAT
• 38400 8N1
• No flow control
USB0 serial:
• /dev/ttyUSB0
• 9600 8N1
• No flow control
Note: The FX30S does not support PPP.
Using the FX30S as an Embedded Platform for IoT
Applications
To configure or program the FX30S, you can use:
• AT Commands—see AT Commands Reference on page 69
• Linux Shell Commands—see Setup for Linux Shell Commands on page 36
• Legato Application Framework—Legato Application Framework on page 37