TX900 D3串行端口配置

TX900 D3 serial port configuration

The default shipping configuration of the D3 serial port is a transparent serial port. If a customer needs to modify it for AT command interaction, they can send an AT command under the webserver to modify the role of the D3 serial port.

1. Log in to the debug page of the webserver

TX900 D3 serial port configuration 1
TX900 D3 serial port configuration-Debug

2. 进入 “AT^配置?” 命令在 “在命令下” 系统内部配置参数查询栏。

TX900 D3 serial port configuration 2
TX900 D3 serial port configuration-AT-config

笔记

  1. The first parameter is used to control the mode of D3 serial port: 0 is transparent mode; 1 is the configuration mode
  2. The second parameter is used to set the PA gain, which is used to compensate for the display requirements
  3. The third parameter is used to set whether to lock the frequency band: 0 is the unlocked frequency band; 1 is the locked frequency band

3. 输入 “AT^配置=1,0,0” 命令在 “在命令下” 柱子, and if successful, 一个 “好” prompt will be returned

TX900 D3 serial port configuration 3
TX900 D3 serial port configuration-at command

笔记:

  1. Users need to refer to parameter 2 and parameter 3 read out in step two above to set them. The above example assumes that parameter 2 and parameter 3 are both 0, the same applies below
  2. For equipment with PA, it is recommended to configure parameter 2 for PA gain and parameter 3 for frequency locking

4. 进入 “AT^配置?” 命令在 “在命令下” 柱子, check to confirm whether the configuration is successful

TX900 D3 serial port configuration 4
TX900 D3 serial port configuration-setting

PS:

  1. After modification, it needs to be powered off and powered on again to take effect
  2. If you need to modify D3 to a transparent serial port again, just replace the AT command above withAT^配置=0,0,0

D3 serial port using for AT command port

1. 连

Connect the device’s D3 serial port (串口3) to a PC (例如, through an external USB serial port module).

2. Power on the device

After the device is powered on, the power indicator lights up and the device starts working

3.Wait for device initialization

关于 10 seconds after the device is powered on, the status indicator light (蓝光) will light up (where the ground side will always light up and the sky side will flash), indicating that the device has successfully initialized.

4.Serial port configuration

Using a serial port tool(例如: Serial Port Utility) on the pc, set the baud rate to 115200bps, the data bit to 8, the stop bit to 1, no check bit, no flow control, 文本模式, and open the serial port, as shown in the following figure:

TX900 D3 serial port configuration 5
TX900 D3 serial port configuration-software

5.Enter AT commands

Enter the corresponding AT command and wait for the device to return “好”, indicating that the command was successfully sent.

如下图所示, enter the commandAT^DUBR?and send it, you can get the baud rate of the D1 serial port

The device returns “好”, indicating that the modification was successful. If “错误” is returned, it indicates that the command input is incorrect or the parameter is illegal.

TX900 D3 serial port configuration 6
TX900 D3 serial port configuration-at-dubr

PS:

The AT command need the carriage return(<CR><低频>) as the end flag. Some serial debug tool will not automatically add the ending carriage return, which requires the user to supplement it himself, like below:

TX900 D3 serial port configuration 7
TX900 D3 serial port configuration-text setting

问一个问题

← 返回

感谢您的回复。 ✨