background image

 

 

Module RF450 

  

U077.0.2-MRF450 

10 

8.0 Messages 

The heart of the communication packet structure is the message field.  This field carries the 
specific information of the packet.  The first byte of the message field is interpreted as the 
message ID.  The remaining bytes in the message are interpreted based on the message ID.  
The message IDs and structures follow. 

Table 5. Message IDs and Structures 

..

n

ID

 

ID-Dependent

 

Message Field 

 

8.1  Get / Set Parameter 

This group of messages is used to set and read module parameters.  The first two bytes identify 
the specific parameter to be accessed.  If data follows the parameter ID, the parameter is set.  
The module always replies with the current value of the parameter, or an error code.  Each 
parameter can vary in data length.  See the table of Parameter ID assignment and data lengths 
for specific values. 

Table 6. Parameter ID Assignment and Data Lengths 

Get / Set ID = 0x00, Reply = 0x90. 

2

3

..

n

ID

 

Parameter ID

 

Parameter Value

 

0x00 

 

 

Optional.  Set if present 

 

The following table describes the available configurable parameters. 

Table 7. Configurable Parameters 

ID 

Parameter  Bytes 

Default  Description 

0x0000 

Channel 

0x0000 

Sets the operating center frequency.   (Channel 
* 1000).  Values above 20,000 are coerced to 20,000.  
NOTE:  module will NOT transmit until this parameter is 
set – even if the desired channel is 0. 

0x0001 

Power 

0x00 

Sets the output RF power.  0 – 255, logarithmic scale.  255 
is no greater than module maximum (see ID 0x0050) 

0x0002 

LED EN 

0x0F 

Bitwise LED enable.  A set bit permits LED operation.  Bit 
0 enables LED0, etc. 

0x0003 

Baud 

115200 

Sets the baud of the host interface when in UART mode. 

0x0004 

Pin Mode 

0x00 

Binary-encoded options 

If clear F0 active low (low when message waiting) 

If clear F1 active low (high when CTS) 

0x0010 

My PAN 

0x0000 

Sets the PAN ID of the module. 

0x0011 My 

Address 2 

0x0000  Sets the address of the module. 

0x0018 

DST PAN 

0x0000 

Sets the destination PAN ID for the next transmission. 

0x0019 DST 

Address 

0x0001 

Sets the destination address for the next transmission.  
0xFFFF is a broadcast address. 

0x0020 

Default 

0x00 

0x00 = Idle.  Lower power consumption. 

Summary of Contents for MRF450

Page 1: ...2014 Cervis Inc MRF450 User Manual U077 0 2 MRF450...

Page 2: ...Canada To reduce potential radio interference to other users the antenna type and its gain should be so chosen that the equivalent isotropically radiated power e i r p is not more than that necessary...

Page 3: ...smit Mode 7 7 0 Communication Protocol 8 7 1 SPI 8 7 2 UART 8 7 3 Acknowledgement 9 8 0 Messages 10 8 1 Get Set Parameter 10 8 2 Transmit 12 8 3 Receive 13 8 4 Error 14 List of Figures Figure 1 MRF450...

Page 4: ...Module RF450 U077 0 2 MRF450 ii Table 9 Receive Message Structure 13 Table 10 Error Message Structure 14...

Page 5: ...User Manual 2014 Cervis Inc iii Notes and Observations...

Page 6: ......

Page 7: ...st abide by all applicable Federal State and Local laws concerning installation and operation of the equipment Failure to comply could result in penalties and could void user authority to operate the...

Page 8: ...dio is designed to operate in the 450 470 MHz band with a maximum output power of less than 15 dBm The radio can operate on any center frequency in the band with a resolution of 1 kHz The center frequ...

Page 9: ...P1 1 VDC 3 3V P1 2 VDC GND P1 2 TMS IN P1 3 Enable IN High P1 3 VDC GND P1 4 OC Flag OUT Low P1 4 TCK IN P1 5 SPI SCK IN P1 5 VDC GND P1 6 SPI SDI UART RX IN P1 6 TDO OUT P1 7 SPI SDO UART TX OUT P1 7...

Page 10: ...pecial accessories Install the RF adapter cable by plugging the MCX plug into the MCX jack on the module RFE2 Affix the RP TNC end of the adapter cable to the housing of the host device utilizing the...

Page 11: ...at a logic low level when idle CHPA clock phase is 1 meaning that data is latched on the rising edge of the clock and changed on the following edge The SPI port requires that nSS be asserted at least...

Page 12: ...the error percentage Results greater than 4 typically do not work 1 5 0 RF Characteristics The OTA structure is formatted as in Table 3 Table 3 OTA Structure Format 0 4 5 6 7 n n 1 n 2 Preamble Sync P...

Page 13: ...ost and module has restrictions The host may only issue transmit requests when a manual event occurs on the host for example when a button is pressed There is no limit to the number of transmit reques...

Page 14: ...ifted out to the host during the transaction If F0 is high the transaction will be handled as a read The module will shift the buffered packet to the host Data shifted from the host to the module will...

Page 15: ...70 s 7 3 Acknowledgement Every packet sent to the module will result in a response packet sent back to the host In addition the module will generate a message to the host when an RF packet is received...

Page 16: ...ional Set if present The following table describes the available configurable parameters Table 7 Configurable Parameters ID Parameter Bytes Default Description 0x0000 Channel 2 0x0000 Sets the operati...

Page 17: ...bling stripping on an address field that was not present in the transmitted packet will result in erroneous payloads stripping will be performed on the specified byte locations regardless of location...

Page 18: ...ply Transmit ID 0x10 Reply 0xA0 0 1 2 n ID Options Payload 0x10 The Options field is binary encoded and defined as in the following table Bit Option Description 0 Message ACK If set send an ACK messag...

Page 19: ...ructure Receive ID 0x20 Reply 0xB0 0 1 2 ID Options Time 0x20 The options field is binary encoded and defined as Bit Option Description 0 Message ACK If set send an ACK message to this receive request...

Page 20: ...0 Error Message Structure Error ID 0xFF 0 1 ID Error 0xFF The Error field is an enumerated type with the following definitions Error Name Description 0 No Error No Error 1 No SOP SOP is missing 2 Leng...

Page 21: ...User Manual 2014 Cervis Inc 15 Visit our Web site at www cervisinc com 2014 Cervis Inc All rights reserved Content is subject to change without notice...

Reviews: