Page
6
of
32
©
2019 Radiocrafts AS
RC232 User Manual (ver 2.01)
RC232 USER MANUAL
2.2 UART Interface
–Configuration Commands
The UART interface is connected to a command and packet engine. Table 2 shows an overview of the available
commands when the module is in configuration mode.
The details for each command is found in Appendix A .
Table 2
– Configuration Commands overview
Command
Parameter
RC1
2
xx
RC11x
x
RC25x
x
RC17x
x
S
to
red in
N
V
M
(F
las
h
)
S
to
red in
R
AM
ASCII
hex
‘C’
0x43
Channel
✔
✔
✔
✔
✘
✔
‘M’
0x4D
Memory configuration
✔
✔
✔
✔
✔
✘
‘P’
0x50
Output power
✔
✔
✔
✔
✘
✔
‘S’
0x53
Signal Strength (RSSI)
✔
✔
✔
✔
✘
✔
‘T’
0x54
Destination address
✔
✔
✔
✔
✘
✔
‘U’
0x55
Temperature monitoring
✔
✔
✔
✔
✘
✔
‘V’
0x56
Voltage monitoring
✔
✔
✔
✔
✘
✔
‘X’
0x58
Exit command
✔
✔
✔
✔
✘
✔
‘Y’
0x59
Memory Read one byte
✔
✔
✔
✔
✘
✔
‘Z’
0x5A
Sleep mode
✔
✔
✔
✔
✘
✔
‘0’
0x30
List Configuration Memory
✔
✔
✔
✔
✘
✔
‘1’
0x31
Test mode 1
✔
✔
✔
✔
✘
✔
‘2’
0x32
Test mode 2
✔
✔
✔
✔
✘
✔
‘3’
0x33
Test mode 3
✔
✔
✔
✔
✘
✔
‘4’
0x34
Test mode 4
✔
✔
✔
✔
✘
✔
‘@RC’ 0x40 0x52 0x43 Reset Configuration to factory defaults
✘
✔
✔
✔
✔
✘
‘@RR’ 0x40 0x52 0x52 Reset Radio
✘
✔
✔
✔
✘
✔
2.3 UART Interface
– Send and receive messages
The module acts as a buffered packet radio, hence all data to be sent is stored in the module before they are
transmitted by the RF circuitry. It is possible to configure different send criterias for the data stream:
•
PACKET_LENGTH will initiate the radio to send when the specified number of bytes are received.
•
PACKET_END_CHARACTER will initiate the radio to send when end character is received.
•
PACKET_TIMEOUT will initiate the radio to send the received data after a given timeout. The timeout is
started when the first byte is recieved on RXD.
Likewise, when data is received they are stored in the module before they are sent to the host. This allows the
communication controller to add address information, CRC and encryption during transmission, and to do error
check and decryption of the received data.
The RC232™ protocol has a built in error detection based on a 16 bit CRC. The error detection can be enabled
with CRC_MODE in the configuration memory. If a received packet contains an invalid checksum, it will be
discarded and not sent to the host.