background image

–     –

–     –

24

25

Transmitting Packets

In default operation when transmitting, the host microcontroller writes bytes 
to the CMD_DATA_IN line while the CMD line is held high at the baud rate 
selected by the 

UARTBAUD

 register. The incoming bytes are buffered until 

one of the following conditions triggers the packet to be transmitted:

1.  The number of bytes in the buffer exceeds the value in the Byte Count 

Trigger (

BCTRIG

) register.

2.  The time since the last received byte exceeds the value in the Data 

Timeout (

DATATO

) register.

3.  A SENDP command is written to the 

CMD

 register.

4.  The CMD line is taken low with option PKOPT: TXnCMD = 1.
5.  The number of buffered bytes exceeds what can be sent before the 

radio must hop channels.

The first four conditions can be controlled by the host microcontroller. In 
the last case, the module transmits what it can in the remaining time then 
sends the rest on the next channel. This can cause the data to be divided 
up into multiple packets and is not within the control of the host micro.

In cases where all data needs to be sent in the same packet or where the 
microcontroller needs greater control over the radio, the HumPRO

TM

 offers 

explicit control of packet transmission with options in the 

PKTOPT

 register.

When the TXPKT option is enabled (

PKTOPT

 register, bit 0 = 1), the data is 

held until a SENDP command is written to the CMD register. Alternatively, 
if option TXnCMD is enabled (

PKTOPT

 register, bit 1 = 1), then lowering 

the CMD line triggers the packet transmission, reducing the number of 
UART transactions that are required. The 

BCTRIG

DATATO

 and hop-timing 

conditions are ignored when the TXPKT option is enabled. 

Once triggered, the transmitted packet contains the bytes in the buffer as 
of the trigger event, even if more data bytes are received before the packet 
can be sent. Multiple outgoing packets can be buffered in this way.

If the full packet cannot be sent in the time remaining on the current 
channel, then it is held until the module hops to the next channel.

This option gives the host microcontroller very fine control over when 
packets are transmitted and what they contain.

Receiving Packets

In default operation when receiving valid packets, the module outputs all 
received bytes as soon as the packet is validated (CRC checks pass if 
unencrypted or key-based verification if encrypted) and if the addressing 
permits it at the baud rate selected by the 

UARTBAUD

 register. No 

command or control bytes are output and no action is required of an 
external microcontroller. The first byte from a packet directly follows the last 
byte of the previously received packet.

In cases where the host microcontroller needs more control over the data 
or where dynamic configuration changes could set up race conditions 
between incoming data and outgoing commands, the module offers 
explicit control over received packets.

When the RXPKT option is enabled (

PKTOPT

 register, bit 2 = 1), received 

data is output on the CMD_DATA_OUT line one packet at a time after a 
GETPH, GETPD, or GETPHD command is written to the 

CMD

 register. 

Writing one of these commands begins the received packet transfer cycle.

Two lines are used as flow control and indicators during the transfer cycle. 
The CMD line is controlled by the host microcontroller. The module uses 
either the CTS line or the CRESP line as a status line, depending on the 
state of the RXP_CTS option in the 

PKOPT

 register.

When a valid packet is received, the EX_RXWAIT exception flag is set in 
the 

EEXFLAG

1 register. If the corresponding bit in the 

EEXMASK

1 register 

is set, then the EX line goes high. The host microcontroller can monitor 
the EX line or periodically check the 

EEXFLAG

 or 

LSTATUS

 registers to 

determine if data is ready to be read.

The transfer cycle is begun by writing a Get Packet Header (GETPH), 
Get Packet Data (GETPD), or Get Packet Header and Data (GETPHD) 
command to the 

CMD

 register. The module sends the command ACK byte 

and sets the selected status line high. Once the status line goes high, the 
host microcontroller sets the CMD line high and the module outputs the 
received data. The command sent determines whether the bytes sent are 
the header, data, or header followed by data.

When all packet bytes have been sent the control line goes low. When 
the host microcontroller detects that the line is low, it sets CMD low, 
completing the transfer cycle. The cycle is shown in Figure 21.

Содержание EVM-900-PRO

Страница 1: ...HumPRO ATM Series 900MHz RF Transceiver Module Data Guide...

Страница 2: ...oduct s regulatory certification and warranty Customers may use our non Function Modules Antenna and Connectors as part of other systems in Life Safety Situations but only with necessary and industry...

Страница 3: ...equires no external RF components except an antenna which greatly simplifies integration and lowers assembly costs The module has obtained FCC and Industry Canada modular certifications Features FHSS...

Страница 4: ...nformation Warning This product incorporates numerous static sensitive components Always wear an ESD wrist strap and observe proper ESD handling procedures when working with this device Failure to obs...

Страница 5: ...Timing Module Turn On Time Via VCC 63 173 ms 4 Via POWER_DOWN 4 ms 4 Via Standby 4 ms 4 Serial Command Response Volatile R W 0 4 5 ms 8 NV Update 2 4 31 5 ms 8 Factory Reset 204 329 ms 14 Channel Dwe...

Страница 6: ...0 00 5 00 10 00 15 00 20 00 25 00 30 00 Supply Current mA TX Output Power dBm 40 C 25 C 85 C Figure 7 HumPRO ATM Series Transceiver Average TX Current vs Transmitter Output Power at 3 3V 220 0 270 0...

Страница 7: ...rent Consumption vs Supply Voltage 100 90 80 70 60 50 40 30 20 10 0 110 90 70 50 30 10 RSSI Reading dBm Input Power dBm 40 C 25 C 85 C Figure 13 HumPRO ATM Series Transceiver RSSI Reading vs Input Pow...

Страница 8: ...button Button sequences can reset configurations to default and join modules into a network Pull low when not in use do not leave floating 15 CMD_DATA_OUT O Command Data Out Output line for data and s...

Страница 9: ...17 18 19 20 CRESP EX PB CMD_DATA_OUT NC NC CMD_DATA_IN NC NC 21 22 VCC NC 43 42 41 40 39 38 37 36 35 34 POWER_DOWN NC NC NC NC NC RESET MODE_IND NC CTS CMD ANT GND 33 32 NC Figure 16 HumPRO ATM Serie...

Страница 10: ...alid preamble it pauses and looks for the start of a packet When it receives a valid packet with a matching destination address the module outputs the data through the UART The transmitting module acc...

Страница 11: ...writing the key to registers through the Command Data Interface or through a JOIN process Streaming Data and Explicit Packets The module s default configuration is for streaming data At some UART rat...

Страница 12: ...nsmission User Addressing Mode User Addressing Mode is a more flexible method than DSN Addressing Mode It uses the customer ID bytes CUSTID 1 0 for unencrypted messages and two of the user destination...

Страница 13: ...when multiple receivers are enabled When address masking is used only the receiver with an exact match to the address in the transmitted packet responds If none of the enabled receivers has an exact...

Страница 14: ...tion of the time slot If no further packets are received the receiver loses lock and reverts to scanning This allows the receiver to stay synchronized for a short while if a packet is not received cor...

Страница 15: ...smitted and what they contain Receiving Packets In default operation when receiving valid packets the module outputs all received bytes as soon as the packet is validated CRC checks pass if unencrypte...

Страница 16: ...ructures differ between encrypted packets and unencrypted packets The header and data structures for explicit unencrypted packets are shown in Figure 22 The Tag field identifies the start of the block...

Страница 17: ...y 1 user network Figure 25 HumPRO ATM Series HopKey Byte Values The Dest DSN Source DSN Dest Addr and Source Addr fields are the source and destination addresses the same as in unencrypted packets The...

Страница 18: ...ng in reg NETMODE or invalid packet type in received packet header Figure 26 HumPRO ATM Series Transceiver Exception Codes The EX line can be asserted to indicate to the host that an error has occurre...

Страница 19: ...CRESP Line The CRESP line is high when sending data bytes and low when sending command response bytes This indicates to an external host microcontroller that the data on the CMD_DATA_OUT line is a re...

Страница 20: ...ata the receiver must use the same key that was used to encrypt it It performs the same calculations as the transmitter and if the key is the same the data is recovered The HumPROTM Series module has...

Страница 21: ...wn in Figure 30 A If UMASK is pre set when Generate Key is initiated then the JOIN process uses that mask and sets the address accordingly This can allow more nodes in the network This is shown in Fig...

Страница 22: ...hare Key or Get Key there are multiple units attempting to pair protocol error or timeout without response Slow blink and two quick blinks Long Hold Acknowledgement The long hold period for Generate K...

Страница 23: ..._DATA_IN lines wakes the module If a negative going pulse is needed to generate a rising edge the pulse width should be greater than 1 s Other lines also wake the module but it immediately goes back t...

Страница 24: ...stated The non volatile register holds the default value that is loaded into the volatile register on power up Configuration settings are read from non volatile memory on power up and saved in volati...

Страница 25: ...0x02 REG V Register less than 128 0x80 and a Value greater than or equal to 128 0x80 Header Size Address Escape Value 0xFF 0x03 REG 0xFE V 0x80 Register greater than or equal to 128 0x80 and a Value l...

Страница 26: ...y regarding the suitability of the software for use in a specific application The company shall not in any circumstances be liable for special incidental or consequential damages for any reason whatso...

Страница 27: ...AD 0 0x8F R W 0x00 Last Network Address Assigned The Command Data Interface Command Set The following sections describe the registers HumPRO ATM Series Configuration Registers Name NV Addr Vol Addr R...

Страница 28: ...0x02 0xFE 0x40 0x06 0x40 V Write Command Header Size Address Value 0xFF 0x02 0x40 V HumPRO ATM Series Channel Hop Table Read Command Read Response Header Size Escape Address ACK Address Value 0xFF 0x...

Страница 29: ...3 60 12 11 10 23 28 59 0 52 54 41 26 14 62 37 62 45 16 16 23 36 21 7 61 32 43 42 33 42 4 4 25 25 44 63 29 47 34 15 51 24 0 26 61 1 61 9 44 43 26 55 36 27 46 1 24 2 34 10 22 25 6 12 2 17 36 36 31 26 57...

Страница 30: ...t Figure 45 shows the command and response and Figure 46 shows the valid settings If the module s UART baud rate is different than the host processor UART baud rate then the module will not communicat...

Страница 31: ...nsmit an acknowledgement packet for assured delivery signifying to the transmitter that the message was received If bit 5 is set then the module transmits data in encrypted mode Figure 47 shows the co...

Страница 32: ...The timer is restarted when each byte is received The value for the DATATO register is the number of milliseconds to wait before transmitting the data in the UART receive buffer The default setting fo...

Страница 33: ...0x02 0xFE 0x53 0x08 0x06 0x53 0x08 V Write Command Header Size Address Value 0xFF 0x02 0x53 0x08 V BCTRIG UART Byte Count Trigger Volatile Address 0x54 Non Volatile Address 0x09 The BCTRIG register de...

Страница 34: ...d Command Read Response Header Size Escape Address ACK Address Value 0xFF 0x02 0xFE 0x0A 0x06 0x0A V Write Command Header Size Address Value 0xFF 0x02 0x0A V ENCSMA CSMA Enable Volatile Address 0x56 N...

Страница 35: ...tings HumPRO ATM Series Idle Mode Read Command Read Response Header Size Escape Address ACK Address Value 0xFF 0x02 0xFE 0x58 0x0D 0x06 0x58 0x0D V Write Command Header Size Address Value 0xFF 0x02 0x...

Страница 36: ...tically filled with the source address from a received message if the received message address type matches the value in AUTOADDR Please see the Addressing Modes section for more details Each register...

Страница 37: ...Read Command Read Response Header Size Escape Address ACK Address Value 0xFF 0x02 0xFE 0x6C 0x21 0x06 0x6C 0x21 V Write Command Header Size Address Value 0xFF 0x02 0x6C 0x21 V UMASK User ID Mask Vola...

Страница 38: ...ATM Series CMD Halts Traffic Register Settings HumPRO ATM Series CMD Halts Traffic Read Command Read Response Header Size Escape Address ACK Address Value 0xFF 0x02 0xFE 0x6E 0x23 0x06 0x6E 0x23 V Wri...

Страница 39: ...ress and a DSN packet is received from another module then AUTOADDR reads back as 0x4F The lower 4 bits 0xF indicate that the module is set to any auto address 0xF The upper 4 bits 0x4 indicate that t...

Страница 40: ...s examples of the commands The value is a negative number in two s complement from 128 0x80 to 1 0xff The default value is 70dBm HumPRO ATM Series DSN Registers Name Non Volatile Address Description M...

Страница 41: ...his register clears the exception and resets the EX line If an exception occurs before the previous exception code is read the previous value is overwritten Please see the Exception Engine section for...

Страница 42: ...sequence Figure 83 HumPRO ATM Series Transceiver Last Good Packet RSSI Command and Response Figure 84 HumPRO ATM Series Transceiver Ambient RSSI Command and Response HumPRO ATM Series Last Good Packet...

Страница 43: ...CLE1 0xC4 MSB of the number of refresh cycles NVCYCLE0 0xC5 LSB of the number of refresh cycles Figure 86 HumPRO ATM Series Non Volatile Refresh Cycles Registers LSTATUS Output Line Status Volatile Ad...

Страница 44: ...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 he...

Страница 45: ...OIN operation 1 Generate a random network key and address This sets the module as the network administrator SECOPT KEYRCV 0 2 Perform the JOIN operation with another module Figure 91 HumPRO ATM Series...

Страница 46: ...e Header Size Escape Escape Address ACK Address Value 0xFF 0x03 0xFE 0xFE 0x4A 0x06 0xCA V HumPRO ATM Series Join Status Value Bit Status 0 5 Last Join Result decimal Last Operation Successful 0x00 Mo...

Страница 47: ...erent transmitter or restarting the transmitter Figure 98 HumPRO ATM Series Transceiver Extended Exception Code Registers HumPRO ATM Series Extended Exception Flags Registers Name Volatile Address Des...

Страница 48: ...wered 2 RXPKT Packet Receive 3 RXP_CTS Use CTS for RXPKT Transfer 4 7 Reserved Reserved must be 0 Figure 101 HumPRO ATM Series Transceiver Packet Option Codes Multiple outgoing packets can be buffered...

Страница 49: ...0 Send key and address during JOIN operation admin 5 EN_UNENC Enable receiving unencrypted packets 6 Reserved Reserved must be 1 7 EN_CHANGE Enable changes to security options Figure 103 HumPRO ATM Se...

Страница 50: ...tion 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...

Страница 51: ...llage est susceptible d en compromettre le fonctionnement Usage Guidelines for FCC Compliance The pre certified versions of the HumPRO ATM Series module HUM A 900 PRO UFL and HUM A 900 PRO CAS are pro...

Страница 52: ...not be co located or operating in conjunction with any other antenna or transmitter Antenna Selection Under FCC and Industry Canada regulations the HUM A 900 PRO UFL and HUM A 900 PRO CAS radio transm...

Страница 53: ...om interference its effects can be minimized by better understanding its characteristics Interference may come from internal or external sources The first step is to eliminate interference from noise...

Страница 54: ...e used unless the antenna can be placed very close 1 8in to the module One common form of transmission line is a coax cable and another is the microstrip This term refers to a PCB trace running over a...

Страница 55: ...t Do not route the antenna trace on multiple PCB layers as vias add inductance Vias are acceptable for tying together ground layers and component grounds and should be used in multiples Each of the mo...

Страница 56: ...Maximum Solder Times Absolute Maximum Solder Times Hand Solder Temperature 427 C for 10 seconds for lead free alloys Reflow Oven 255 C max see Figure 115 Reflow Temperature Profile The single most cr...

Страница 57: ...d configuration constraints In these instances a designer must make the best use of the area available to create as much ground OPTIMUM USABLE NOT RECOMMENDED NUT GROUND PLANE MAY BE NEEDED CASE Figur...

Страница 58: ...s Linx offers a wide variety of specialized antenna styles Figure 121 Many of these styles utilize helical elements to reduce the overall antenna size while maintaining reasonable performance A helica...

Страница 59: ...t testing laboratories across the country Many labs can also provide other certifications that the product may require at the same time such as UL CLASS A B etc Once the completed product has passed a...

Страница 60: ...114 115 Notes...

Страница 61: ...stomer including without limitation breach of contract breach of warranty strict liability or negligence Customer assumes all liability including without limitation liability for injury to person or p...

Отзывы: