W5500S2E serial to Ethernet module
W5500S2E user manual
32
6.5.3
Serial settings command
COM1 (Serial parameters)
Command format
Parameters
Usage
AT+COM1?
Nil
Read
AT+COM1=<par1>,
<par2>, <par3>,
<par4>, <par5>
<par1>: Baud rate, refer to “C1_BAUD” command
<par2>: Data bit, refer to “C1_DATAB” command
<par3>: Parity bit, refer to “C1_PARITY” command
<par4>: Stop bit, refer to “C1_STOPB” command
<par5>: Serial flow control, refer to “C1_SER_C”command
Set
Response
Description
[COM1] Value is:<value1><value2><value3><value4><value5>\r\nOK\r\n
<value1>
:
Baud rate value
<value2>
:
Data bit value
<value3>
:
Parity bit value
<value4>
:
Stop bit value
<value5>
:
Serial flow control value
Example
Command: AT+COM1=9,1,0,1,0\r\n
Response: [COM1] Value is:9,1,0,1,0\r\nOK\r\n
This command is use for set all five parameter of the serial port using single command.
Individual parameter can be also use the corresponding command for read or set.
C1_BAUD (Baud Rate)
Command format
Parameters
Usage
AT+C1_BAUD?
Nil
Read
AT+C1_BAUD=<parameter>
0: 1,200
1: 2,400
2: 4,800
3: 9,600
4: 14,400
5: 19,200
6: 38,400
7: 56,000
8: 57,600
9: 115,200
10: 128,000
11: 234,000
12: 256,000
13: 468,400
14: 921,600
(default)
15: 115,200
Set
Response
[C1_BAUD] Value is:<value>\r\nOK\r\n
Example
Command: AT+C1_BAUD=9\r\n
Response: [C1_BAUD] Value is:9\r\nOK\r\n