User Manual

Page 28 of 39
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 external pull-
downs are installed. 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.
Example configuration
The following example will show details of what host protocol messages a
host device would send to a FreeStar 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,534)
RF Channel: 18
Receive All: Disabled
Acknowledgements and Retries: Enabled
Transmit Power Level: 31 (maximum)
Digital Pin Configuration: All inputs with pull-up resistors
enabled
Digital Pin Sleep State: All inputs with pull-up resistors
enabled
Analog Pin Sleep State: All analog
Debug Mode: Disabled
LED Functionality: Heartbeat and flash on RF activity