The command data interface – Linx Technologies HUM-xxx-RC User Manual

Page 20

Advertising
background image

– –

– –

34

35

The Command Data Interface

The HumRC

TM

Series transceiver has a serial Command Data Interface

(CDI) that offers the option to configure and control the transceiver through
software instead of through hardware. This interface consists of a standard
UART with a serial command set. This allows for fewer connections in
applications controlled by a microcontroller as well as for more control and
advanced features than can be offered through hardware pins alone.

The CMD_DATA_IN and CMD_DATA_OUT connect to the module’s UART.
An automatic baud rate detection system allows the interface to run at a
variable data rate from 9.0kbps to 60.0kbps, covering standard rates from
9.6 to 57.6kbps.

The Command Data Interface has two sets of operators. One is a set
of commands that performs specific tasks and the other is a set of
parameters that are for module configuration and status reporting.

The HumRC

TM

Series Transceiver Command Data Interface Reference

Guide has full details on each command. Some key features available with
the serial interface are:

• Configure the module through software instead of setting the hardware

lines.

• Change the output power, providing the ability to lower power

consumption when signal levels are good and extend battery life.

• Individually set which status lines are inputs and outputs.

• Individually set status line outputs to operate as momentary or latched.

• Add or remove specific paired devices.

• Individually set Permission Masks that prevent certain paired devices

from activating certain status line outputs.

• Change the module’s local address for production or tracking purposes

or to replace a lost or broken product.

• Put the module into a low power state to conserve battery power.

• Activate an automatic receiver duty cycle to conserve battery power.

• Receive the entire control message serially instead of needing to

monitor individual status lines. Get the IU address for logging access
attempts.

• Receive control messages from unpaired modules, allowing for

expansion of the system beyond the maximum of 40 paired units.
Access control and address validation can be undertaken by an
external processor or PC with more memory than the module.

• Serially configure and control acknowledge messages.

• Send and receive 2 bytes (16 bits) of custom data with each command

message and acknowledge message.

• Serially initiate transmission of control messages instead of triggering

the status line inputs.

• Set interrupts to notify an external processor when specific events

occur, such as receiving a control message.

• Read out the RSSI value for the last received packet and the current

ambient RF level.

• Query a remote unit to respond with its analog input voltage

measurements.

• Configure the module to send triggered control messages that

automatically stop transmitting based on the settings, conserving
battery power.

The serial interface offers a great deal of flexibility for use more complicated
designs. Please see Reference Guide RG-00104: the HumRC

TM

Series

Command Data Interface for details on the CDI. Lists of the serial
commands and parameters are shown in Figure 36 and Figure 37 for
reference.

Advertising