Cấu hình cổng nối tiếp 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 Debug
TX900 D3 serial port configuration-Debug

2. Đi vào “AT^CẤU HÌNH?” lệnh trong “Tại lệnh” column to query internal configuration parameters of the system。

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

Ghi chú

  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. Nhập “TẠI^CẤU HÌNH=1,0,0” lệnh trong “Tại lệnh” column, and if successful, Một “ĐƯỢC RỒI” prompt will be returned

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

Ghi chú:

  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. Đi vào “AT^CẤU HÌNH?” lệnh trong “Tại lệnh” column, check to confirm whether the configuration is successful

TX900 D3 serial port configuration setting 2
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 with “TẠI^CẤU HÌNH=0,0,0

D3 serial port using for AT command port

1. Kết nối

Connect the device’s D3 serial port (Uart3) to a PC (Ví dụ, 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

Về 10 seconds after the device is powered on, the status indicator light (blue 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(Ví dụ: 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, chế độ văn bản, and open the serial port, as shown in the following figure:

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

5.Enter AT commands

Enter the corresponding AT command and wait for the device to return “ĐƯỢC RỒI”, indicating that the command was successfully sent.

Như thể hiện trong hình sau, enter the command “AT^DUBR?” and send it, you can get the baud rate of the D1 serial port

The device returns “ĐƯỢC RỒI”, indicating that the modification was successful. If “ERROR” is returned, it indicates that the command input is incorrect or the parameter is illegal.

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

PS:

The AT command need the carriage return(<CR><LF>) 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 text setting
TX900 D3 serial port configuration-text setting

Đặt một câu hỏi

← Quay lại

Tin nhắn của bạn đã được gửi

Để lại một câu trả lời

Địa chỉ email của bạn sẽ không được công bố. Các trường bắt buộc được đánh dấu *