Digilent Pmod ESP32 참조 매뉴얼 - 페이지 5
{카테고리_이름} Digilent Pmod ESP32에 대한 참조 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. Digilent Pmod ESP32 8 페이지.
AT Command (Slave) Mode
The Pmod ESP32 is delivered to users in slave mode. In slave mode, the top row of
pins are mapped to their UART functionality. It is important that switches SW1.1 and
SW1.2 are both in the "off" position when power is applied to the device. Once power
has been applied, the value of SW1.2 is arbitrary. However, SW1.1 must remain in the
"off" position during the duration of operation in slave mode.
In slave mode, commands of a specific format (referred to as AT commands hereafter)
are passed to the Pmod via the UART port on the top row of pins. The UART port on
the Pmod is initially set to function at 115200 baud with 8 data bits, 1 stop bit, and no
parity or hardware flow control. The settings of the UART port can be modified by using
specific AT commands later.
AT commands must always be followed by a carriage return and newline character, in
that order. For example, the AT command "AT" would be typed into the serial terminal
as "AT<CR><LF>", where CR stands for carriage return and LF stands for line feed or
newline. If the carriage return or line feed are not included at the end of the command,
the Pmod will not respond to the command. The Pmod is initially set to echo back any
UART data it receives to the sender. Upon boot, when in slave mode, the Pmod will
send the word "ready" over the UART port.
A very sparse table of some AT commands is shown below. For the full list of supported
AT commands, please visit the official AT Command Set documentation, which is
provided by Espressif.
Carriage return and line feed bytes are omitted for clarity.
Command
Behavior
AT
Verifies that
the device is
in AT mode
and working
AT+RST
Resets the
device
AT+GMR
Checks
version info
Example
AT
AT+RST
AT+GMR
Response
OK
OK
<At Version Info>, <SDK version info>,
<compile time>