User Manual

38
Diagnostics and Feedback Parameters
There are two configuration parameters used to setup diagnostics and user
LED feedback which are outlined below.
1. Set Debug Mode
– Setting the debug mode allows the host
application to configure what debug information gets displayed on
the three mode pins when the mode pins are in their default state.
The default state for the mode pins is that none of the pins are
externally pulled-down. The intent of the debug signals is to allow for
monitoring on an oscilloscope how the device is operating.
2. Set LED Functionality
– This message is used to configure if any
LED feedback information is enabled or not, and if it is enabled what
it represents. For modules that are embedded in an enclosure, the
LED functionality can altogether be disabled to further reduce power
consumption. Several examples of the types of functionality that can
be displayed on the LEDs are a heartbeat LED flash to indicate the
microcontroller is running or flashes when an RF or serial message
is either transmitted or received. Multiple functions can be enabled
simultaneously. The LED functionality can be enabled on pins P0_0
and P0_1 or on P0_2 and P0_3, or it can be disabled altogether and
then the pins can be used as user I/O. If LED functionality is
enabled for use on P0_0 and P0_1, either LEDs can be populated on
the Matrix modules itself, or off board LEDs can be utilized. When
LED functionality is enabled for use on P0_2 and P0_2, then it is
required that off board LEDs be used.
Example configuration
The following example will show details of what host protocol messages a
host device would send to a Matrix module to configure all of its
programmable settings. After all of the settings have been sent to the
transceiver, save configuration parameters message is issued to save the
settings to non-volatile memory.
Settings
PAN ID: 100
Transceiver Address: Long Address = 500
(short address needs to be 65,535)
RF Channel: 18
Receive All: Disabled
Acknowledgements and Retries: Enabled
Transmit Power Level: 31 (maximum)
I/O Pin Configuration: All inputs with pull-up resistors
enabled
I/O Pin Sleep State: All inputs with pull-up resistors
enabled (unchanged)
Debug Mode: Disabled
LED Functionality: Heartbeat and flash on RF activity,
LED activity on pins P0_0 and P0_1