– –
– –
82
83
CMD - Command Register
Volatile Address = 0xC7
This volatile write-only register is used to issue special commands.
Value V is chosen from among the options in Figure 90.
The
Send Packet
command starts data transmission. Operation differs
depending on whether option TXPKT is set in the PKTOPT register.
•
TXPKT = 0; this command operates the same as a data timeout with
DATATO. All waiting data, up to the maximum allowed in the remaining
channel time, is transmitted.
•
TXPKT = 1; this command marks the end of an explicit packet in
the outgoing buffer. All bytes in the packet are transmitted together.
Following bytes are sent in the next packet. The max packet length is
192 bytes. Multiple packets can be queued with this command.
HumPRO-A
TM
Series CMD Values
CMD Value
Operation
0x01
SENDP – Send Packet
0x02
GETPH – Get Packet Header
0x03
GETPD – Get Packet Data
0x04
GETPHD – Get Packet Header and Data
0x05
CLRRXP – Clear Received Packet
0x06
CLROB – Clear Outbound Buffer
0x07
CLRIB – Clear Input Buffer
0x10
JOINCTL – Join Process Control
0x11
WRKEY – Write Key
0x12
CLRKEY – Clear Key
0x13
RLDKEY – Reload Key
0x20 0xAA 0xBB
NVRESET – Reset non-volatile registers to factory default
Figure 89: HumPRO-A
TM
Series Transceiver Command Register Command and Response
HumPRO-A
TM
Series Command Register
Write Command
Header
Size
Escape
Address
Value
0xFF
0x03
0xFE
0x47
V
Figure 90: HumPRO-A
TM
Series Command Register Values
The
Get Packet Header
command returns the received packet header
using a received packet transfer cycle (see the
section).
The header is discarded after transfer. This command is normally issued
after receiving an RXWAIT exception. The packet data can be read after
completion of the header transfer. If the data is not read before this
command is issued a second time, then the packet data is discarded
and the header for the following packet is returned. A NACK response is
returned if option RXPKT is disabled in the PKTOPT register or the previous
GETPx command was not completed.
The
Get Packet Data
command returns the received packet data using a
received packet transfer cycle. If the packet header is not read first, then
it is discarded. The packet data is then discarded after transfer. A NACK
response is returned if option RXPKT is disabled in the PKTOPT register or
the previous GETPx command was not completed.
The
Get Packet Header and Data
command returns the received packet
header, followed by the packet data using a received packet transfer cycle.
The packet is discarded after transfer. A NACK response is returned if
option RXPKT is disabled in the PKTOPT register or the previous GETPx
command was not completed.
The
Clear Received Packet
command removes the next unread packet
from the RF incoming queue if RXPKT is enabled in the PKTOPT register.
If the packet header was read but not the data, this command causes
the data to be discarded. Although not required before reading the next
packet’s header, it frees buffer space for more or longer messages.
If a previous GETPx command did not deliver all the associated data,
this command removes the undelivered data and terminates the previous
GETPx command.
If option RXPKT is disabled this command discards all received data which
has not been delivered.
The
Clear Outbound Buffer
command cancels any transmission in
progress and clears the buffer of data to be transmitted.
The
Clear Input Buffer
command discards all RF-received bytes and
clears the EX_RXWAIT flag.
Содержание EVM-900-PRO
Страница 1: ...HumPRO ATM Series 900MHz RF Transceiver Module Data Guide...
Страница 60: ...114 115 Notes...