Serial Port Configuration - ICP DAS USA LinPAC AM335 Series User Manual

Hide thumbs Also See for LinPAC AM335 Series:
Table of Contents

Advertisement

2.7.6. Serial Port configuration

Use the 'stty' command to query or configure the COM port. For example, to modify the baud
rate 9600 to 115200 bps via
/dev/ttyS1
port:
# stty -F /dev/ttyS1 ispeed 115200 ospeed 115200
Use the 'getsendreceive' command to query or configure the COM port. (Refer to Figure 2.7.6-1)
For example, the I-7060 module is connected with COM2 port of the LP-9x2x, and sending the
command '$01M' to query the module name which baud rate is 115200 bps connect with
/dev/ttyS0 port, it will get a response: '!017060'.
Figure 2.7.6-1. Use the 'getsendreceive' command to query or configure the COM port
AM335X-PAC Series User Manual
version 2.0.4
Page: 55
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved.
E-mail: service@icpdas.com

Advertisement

Table of Contents
loading

Table of Contents