2 Command Mode and Data Mode
- Data mode (default)
- Command mode
For configuration or control operation or both, set the RNBD451 module to Command mode. In Command mode, all UART data is treated as ASCII commands sent to the module’s UART interface.
The following figure illustrates the Command mode and Transparent UART Data mode. The RNBD451 module can enter and exit Command and Data mode using ASCII commands over UART or over UART mode switch pin (PB2).
To enter Command mode from Data mode, type the $$$
character
sequence. The UART receives a CMD>
prompt to notify the
external host about the start of the Command mode. The Data mode escape character
can change from $
to another character using S$
command.
To return to Data mode, enter command ---
at the command prompt. The
END
message display indicates the end of the command
console session.
---
to enter/exit Command mode, it is possible to use the UART mode switch I/O pin to
do the same. This method is more suitable for applications where there is a need
for the host MCU to enter and exit the Command mode.