DLP-RFS-DK DLP Design, DLP-RFS-DK Datasheet - Page 8

no-image

DLP-RFS-DK

Manufacturer Part Number
DLP-RFS-DK
Description
RF Development Tools DLP-RFS1231 development kit
Manufacturer
DLP Design
Type
RF Transceiversr
Datasheet

Specifications of DLP-RFS-DK

Rohs
yes
Product
Development Kit
Tool Is For Evaluation Of
DLP-RFS1231
Frequency
915 MHz
Operating Supply Voltage
2.4 V to 3.6 V
Dimensions
1.5 in x 2 in x 1.53 in
Interface Type
UART
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
0 C
For Use With
DLP-RFS1231
4.1.4 EVENT MANAGER
The Event Manager is used to notify the application layer of events that occur inside the PHY and
MAC layers. This mechanism can be used to either drive the application layer or for diagnostic
purposes. The following are valid events:
4.1.5 APPLICATION LAYER
The application layer is user defined, but it typically does the following:
- Initializes the hardware and software managers,
- Initializes application-layer variables and data structures,
- Reads the MAC ID chip and sets the MAC ID of the system,
- Passes the address of the application layer master loop; and
- Calls the MAC layer main loop (if a MAC-layer application).
The MAC layer main loop will run to completion then call the application layer main loop ad infinitum.
The application layer main loop is completely user defined. A typical sensor node application will set
a timer and periodically read sensors and transmit the sensor data to another node using MAC-layer
function calls. The application layer may also listen for messages from other nodes. The MAC
Manager will notify the application layer via the Event Manager when packet transmissions are
complete, packet reception has occurred or some type of error event occurs.
The sample application that is provided will do one of two functions based upon a switch setting on
the battery board. A Logic 1 on Switch 1 of the dip switch means that the node will be a sensor node.
A Logic 0 means that the node will be a gateway or master node. If it is a sensor node, the app reads
the MAC ID chip and sets the MAC ID to the value read from the MAC ID chip. If it is a
gateway/master node, then the MAC ID is set to 0.
The gateway or master node will set the radio for reception. When a valid packet is received, the
packet is output to the USB port on the battery board, the buzzer is sounded and the green LED on
the battery board is flashed.
The sensor node sets a timer event using the Timer Manager. When a timer event occurs, the Timer
Manager will call the application callback which, in turn, causes the start of a sensor read. The
sensors (temperature, light and battery voltage) are read via the ADC. The result is inserted into a
fixed-length message and transmitted to the gateway/master through a MAC Manager function call.
This is only one example of how to implement a wireless sensor application. The potential
applications are limitless. Most of the resources of the RL78 MCU are available for the application to
use.
4.1.6 MICROCONTROLLER API
The various managers communicate with the hardware through an abstraction layer called the
Microcontroller API. Functions that are specific to the microcontroller are contained in this API.
Those functions include firmware for initializing MCU hardware such as timers, communication ports,
IO ports, interrupt handlers, etc. The API also has code for controlling these MCU devices during
operation such as handling timer interrupts, sending and receiving data over the communication ports
© DLP Design, Inc.
Rev 1.1 (November 2012)
8

Related parts for DLP-RFS-DK