User Guide

– –
– –
94 95
Typical Applications
Figure 107 shows a typical circuit using the HumPRO
TM
Series transceiver.
An external microcontroller provides data and configuration commands.
Its UART (TXD, RXD) is connected to the module’s UART (CMD_DATA_IN,
CMD_DATA_OUT). The CTS line is monitored for flow control. GPIOs on
the microcontroller are connected to lines on the module:
It monitors the CRESP line to know when the data coming out of the
module is transmitted data or a response to a command.
It monitors the EX line to know if there is an error. This line may be
connected to an interrupt line for faster response.
It controls the POWER_DOWN line to place the module into a low power
state.
It controls the CMD line to toggle between configuration commands and
data to be transmitted over the air.
The MODE_IND line is connected to an LED for visual indication that the
module is active.
The PB line is connected to a pushbutton that takes the line to VCC when
it is pressed. A resistor pulls the line to ground when the button is not
pressed.
GND
17
VCC
21
GND
18
RESET
22
LNA_EN
23
PA_EN
24
CMD_DATA_OUT
26
CMD_DATA_IN
27
CTS
28
PB
29
NC
2
GND
25
NC
1
MODE_IND
30
BE
31
NC
32
NC
3
NC
4
ANT
19
GND
20
NC
5
NC
6
CRESP
7
EX
8
NC
10
NC
11
POWER_DOWN
12
CMD
13
GND
9
GND
16
GND
15
GND
14
GND
GND
GND
GND
GND
GND
GND
GND
GND
VCC
GND
GPIO
GPIO
INT/GPIO
GPIO
GPIO
GPIO
TXD
RXD
µ
VCC
GND
Figure 107: HumPRO
TM
Series Transceiver Basic Application Circuit
EEXMASK - Extended Exception Mask
Volatile Address = 0xD0-0xD2; Non-Volatile Address = 0x80-0x82
These registers contain a mask for the events in EEXFLAG, using the same
offset and bit number.
To use this value, register EXMASK must be zero. If EXMASK is non-zero,
this register has no effect on the EX line.
When an exception bit is set in EEXFLAG, the corresponding EEXMASK
bit is set, and EXMASK is zero, the EX status line is set, otherwise the
EX line is reset. Mask bits for unassigned flags should be zero for future
compatibility.
LASTNETAD - Last Network Address Assigned
Non-Volatile Address = 0x8C-0x8F
These bytes contain the last address assigned using the JOIN process.
When a new unit joins the network, it is assigned the next address
and this value is incremented in the administrator. It is initially set to the
administrator address when a network key is generated.
Figure 105: HumPRO
TM
Series Transceiver Extended Exception Mask Registers
HumPRO
TM
Series Extended Exception Mask Registers
Name
Volatile
Address
Non-Volatile
Address
Description
EEXMASK2 0xD0 0x80 Byte 2 of the extended exception mask
EEXMASK1 0xD1 0x81 Byte 1 of the extended exception mask
EEXMASK0 0xD2 0x82 Byte 0 of the extended exception mask
Figure 106: HumPRO
TM
Series Transceiver Extended Exception Mask Registers
HumPRO
TM
Series Extended Exception Mask Registers
Name
Non-Volatile
Address
Description
LASTNETAD3 0x8C MSB of the last network address assigned
LASTNETAD2 0x8D Byte 2 of the last network address assigned
LASTNETAD1 0x8E Byte 1 of the last network address assigned
LASTNETAD0 0x8F LSB of the last network address assigned