User's Manual

– –
– –
94 95
Typical Applications
Figure 106 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 (optional).
It monitors the EX line to know if there is an error. This line may be
connected to an interrupt line for faster response (optional).
It controls the POWER_DOWN line to place the module into a low power
state (optional).
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
NC
1
NC
2
NC
3
BE
4
NC
5
NC
6
NC
7
NC
8
GND
9
NC
10
NC
11
EX
12
CRESP
13
PB
14
CMD_DATA_OUT
15
CMD_DATA_IN
16
NC
17
NC
18
NC
19
NC
20
NC
21
VCC
22
GND
31
ANT
32
CTS
34
CMD
35
MODE_IND
36
NC
37
NC
38
NC
39
RESET
40
NC
41
NC
42
POWER_DOWN
43
NC
44
GND
VCC
GND
GND
GND
VCC
VCC
GPIO
GPIO
GPIO
GPIO
INT/GPIO
GPIO
RXD
TXD
µ
Figure 106: HumPRO-A
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 104: HumPRO-A
TM
Series Transceiver Extended Exception Mask Registers
HumPRO-A
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 105: HumPRO-A
TM
Series Transceiver Extended Exception Mask Registers
HumPRO-A
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