MOD090-LP USER’S MANUAL 900 MHz Low Power Module Industrial-grade, long-range wireless Ethernet systems
MOD090-LP User’s Manual Thank you for your purchase of the MOD090-LP 900 MHz Radio Module. Firmware and software described in this manual may be downloaded from www.avalanwireless.com/downloads.htm. (You can also find a pdf of the latest version of this manual.) If you have any questions when configuring your AvaLAN system, the best place to get answers is to visit www.avalanwireless.com. If more assistance is needed, send email to support@avalanwireless.com.
User’s Manual MOD090-LP Table of Contents Technical Summary . . . . . . . . . . . . . . . . . . . . . . . 4 Module Physical Interface . . . . . . . . . . . . . . . . . . 5 Module SPI Interfaces . . . . . . . . . . . . . . . . . . . . . 5 Module UART Interface . . . . . . . . . . . . . . . . . . . . . 11 Module Command Set . . . . . . . . . . . . . . . . . . . . . 12 Programming Examples . . . . . . . . . . . . . . . . . . . . 25 Implementation Block Diagrams . . . . . . . . . . . . . .
MOD090-LP User’s Manual Technical Summary The MOD090 module allows you to build your own extreme-range, non-line-ofsight, point-to-multipoint wireless solution. The module uses the new technology in our 900Mhz and is fully FCC/IC certified for quick integration with no RF retesting required. The MOD090 solution offers the ideal combination of the maximum allowed transmit power and unbeatable interference immunity in conjunction with high throughput and validated encryption.
User’s Manual MOD090-LP Module Physical Interface RF Antenna MMCX RF Section Module SPI Interfaces Serial Peripheral Interface (SPI) is a full duplex synchronus serial interface that allows data to be shifted in and out of the AvaLAN Baseband Processor (MOD090-LP) 8 bits at a time, most significant bit first.
MOD090-LP User’s Manual Here are the Signal definitions for the AW900SPI in SPI mode: Pin Number Name Description 1 Vcc 3.3 vdc for MOD090-LP 2 /CS_LED Chip select for LEDs and DIP switches (active low)C 3 /CS_PD Chip select for external programming devicehip s 4 SCK0 Serial clock for LEDs and DIP switches 5 MISO0 Data in for LEDs and DIP switches 6 MOSI0 Data out for LEDs and DIP switches 7 GND MOD090-LP Ground 8 Error Flag 1=last command not understood.
User’s Manual MOD090-LP SPI0 - LEDs and DIP Switches SPI0 is a master mode SPI that sends out 4 bytes per transaction. The first two bytes are alignment bytes and the last two contain the LED data on MOSI0, and the DIP switch data on MISO0. The first alignment byte is 0x55, and the second is 0xAA. These two bytes are used to determine the start of the transaction (0x55) and the start of the data (0xAA).
MOD090-LP User’s Manual TX_ACT: Indicates when data traffic is queued up for transmission across the RF. TX_ACT will be set for 32ms when data is queued up for transmission. RFQ5..0: Indicates the quality of the RF link. The lowest quality is only b0 set, the highest quality is reached when b5 is set. DIPs: A bit that is set in this byte indicates that the corresponding DIP switch is on. Byte3 b7 b6 b5 b4 b3 b2 b1 b0 DCH5 DCH4 DCH3 DCH2 DCH1 DCH0 MODE - DCH5..
User’s Manual MOD090-LP Module UART Interface Here are the Signal definitions for the AW900SPI in UART mode: Pin Number Name Description 1 Vcc 3.
MOD090-LP User’s Manual D7 and the Stop Bit, but this is rarely done anymore. UART Mode LEDs and DIPs: With the UART firmware running, the LED definitions are the same as for SPI mode and provide diagnostic information if desired. The DIP switch definitions are slightly different: b7 Byte3 b6 b5 b4 b3 b2 b1 b0 DCH3 DCH2 DCH1 DCH0 MODE - Byte4 TEST MODE: 1 = Access Point, 0 = Subscriber Unit DCH3 to DCH0: 4-bit binary code for the RF channel selected.
User’s Manual MOD090-LP Module Command Set The Command Sets for SPI and UART modes are somewhat different: SPI Command Set Command Byte - HEX Command 0x01 getStatus 0x02 getNetworkKey 0x03 getPrivateKey 0x04 getDeviceID 0x05 getStats 0x06 getVersion 0x07 not valid 0x08 getNumberofConnectedSUs 0x09 getRSSIreadings 0x0A getDATAPacket 0x81 setStatus 0x82 setPublicKey 0x83 setPrivateKey 0x84 setDeviceID 0x85 setReset 0x86 not valid 0x87 not valid 0x88 not valid 0x89 not
MOD090-LP User’s Manual UART Command Set Command Byte - HEX Command 0x00 getStatus 0x01 getNetworkKey 0x02 getPrivateKey 0x03 getDeviceID 0x04 getStats 0x05 getVersion 0x06 getConfig 0x07 getNumberofConnectedSUs 0x08 getRSSIreadings 0x09 not valid 0x80 setStatus 0x81 setPublicKey 0x82 setPrivateKey 0x83 setDeviceID 0x84 setReset 0x85 not valid 0x86 not valid 0x87 not valid 0x89 not valid 0x8B setDATAPacket In the Command Descriptions that follow, the command codes f
User’s Manual MOD090-LP RFState: When set this bit indicates that the RF is currently connected. Radio: Indicates what mode the radio is in, when set it is in active mode. When clear the RF is in standby mode. CH3..0: Indicates what channel the RF is currently using. The setStatus command is used to place the module in standby mode/normal operation and to set the RF into manual channel mode by assigning a specific channel.
MOD090-LP User’s Manual Network Key Command The Network Key is A 32-bit number used for Network Identification. AvaLAN mseries devices with different Network Keys will not be able to communicate with each other. The Network Key can be changed without resetting the device. The getNetworkKey command will read back the last 32-bit key issued to the device. The setNetworkKey command stores a new 32-bit key to be used for RF communications.
User’s Manual MOD090-LP Byte 3 SK23 SK22 SK21 SK20 SK19 SK18 SK17 SK16 Byte 4 SK31 SK30 SK29 SK28 SK27 SK26 SK25 SK24 Byte 5 SK39 SK38 SK37 SK36 SK35 SK34 SK33 SK32 Byte 6 SK47 SK46 SK45 SK44 SK43 SK42 SK41 SK40 Byte 7 SK55 SK54 SK53 SK52 SK51 SK50 SK49 SK48 Byte 8 SK63 SK62 SK61 SK60 SK59 SK58 SK57 SK56 Byte 9 SK71 SK70 SK69 SK68 SK67 SK66 SK65 SK64 Byte 10 SK79 SK78 SK77 SK76 SK75 SK74 SK73 SK72 Byte 11 SK87 SK86 SK85 SK84 SK83
MOD090-LP User’s Manual D1, D0: These bits report or configure whether the device is an AP or an SU: D1 D0 Mode 0 0 Not Configured 0 1 AP 1 0 AP 1 1 SU MID5..0: These bits read back or set the configured ID. For an AP this is the maximum ID number that is allowed to join the RF network. For an SU it is the number to use to join the RF network. Stats Command The getStats command is used to gather all the statistics that the MOD090-LP is collecting about the RF link.
User’s Manual MOD090-LP Byte 11 PP7 PP6 PP5 PP4 PP3 PP2 PP1 PP0 Byte 12 PP15 PP14 PP13 PP12 PP11 PP10 PP9 PP8 Byte 13 BC23 BC22 BC21 BC20 BC19 BC18 BC17 BC16 Byte 14 BC31 BC30 BC29 BC28 BC27 BC26 BC25 BC24 Byte 15 BC7 BC6 BC5 BC4 BC3 BC2 BC1 BC0 Byte 16 BC15 BC14 BC13 BC12 BC11 BC10 BC9 BC8 Byte 17 UC23 UC22 UC21 UC20 UC19 UC18 UC17 UC16 Byte 18 UC31 UC30 UC29 UC28 UC27 UC26 UC25 UC24 Byte 19 UC7 UC6 UC5 UC4 UC3 UC2 UC1 UC0 Byt
MOD090-LP User’s Manual part and ranges from 0 to 100. BER7..0 is the 2-digit fractional part and ranges from 0 to 99. The block error rate is calculated over the last 1000 data blocks. Version Command The getVersion command is used to determine the firmware version running in the MOD090-LP.
User’s Manual MOD090-LP channel information back from the MOD090-LP. The host microcontroller must delay while the MOD090-LP completes the scan before reading any data. In SPI mode, the MOD090-LP will use the Data Ready line (pin 9) to indicate when the scan is complete and the data is available. In UART mode, the host microcontroller needs to issue the command and wait for data to be returned.
MOD090-LP User’s Manual Byte 2 b7 BASE7 b6 BASE6 Byte 3 BASE15 BASE14 b5 BASE5 b4 BASE4 b3 BASE3 BASE12 b2 BASE2 b1 BASE1 b0 BASE0 BASE10 BASE9 BASE8 BASE is a 16-bit integer constant that provides the index offset for establishing the RF frequency. For the MOD090-LP, this value is 1688.
User’s Manual MOD090-LP OFS is the 16-bit integer Index value for this data point. The range of this index is 0 to (128 − Frequency Step Size). For example, with a step size of 1, the maximum value of OFS is 127, but with a step size of 8, the maximum value is 120. PEAK is an 8-bit integer representing the peak power detected at each frequency. AVG is an 8-bit integer representing the average power detected at each frequency.
MOD090-LP User’s Manual The getPacket command is used to read received data from the MOD090-LP. The Data Ready line (pin 9) will be asserted when data is present in the receive FIFO and will remain asserted until all data is read. Once the Data Ready line has been asserted the host microcontroller has approximately 50ms until the data becomes corrupted in a high traffic scenario. Obviously in UART mode, the host microcontroller must be ready to receive data at any time.
User’s Manual MOD090-LP BC = 0 means send the packet only to the Device ID specified in the rest of Byte 1. ID0 to ID6 is the 7-bit integer Device ID of the Subscriber Unit that is to receive the data. Note that if BC = 1 and there is a non-zero Device ID specified, then all Subscribers but the one specified will receive the data. S0 to S10 is the 11-bit integer size of the Data packet in bytes (number of data bytes being sent).
MOD090-LP User’s Manual If the last firmware block is not a full 64 bytes, it must be padded with zeros. setPacket SPI Mode: 0x8A Byte 1 b7 BC b6 ID6 b5 ID5 b4 ID4 b3 ID3 b2 ID2 b1 ID1 b0 ID0 Byte 2 S7 S6 S5 S4 S3 S2 S1 S0 Byte 3 - - - - - S10 S9 S8 Byte 4 OFS7 OFS6 OFS5 OFS4 OFS3 OFS2 OFS1 OFS0 Byte 5 OFS15 OFS14 OFS13 OFS12 OFS11 OFS10 OFS9 OFS8 Byte 6 DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0 Byte 7 DATA15 DATA14 DATA10 DATA9 DATA8 ...
User’s Manual MOD090-LP Programming Examples Note that these examples apply to SPI mode. Initialization Example To initialize the MOD090-LP follow these steps: 1. At startup delay for 300 ms to allow the MOD090-LP enough time to initialize. 2. Assert /CS_BB (drive the line low) and issue setNetworkKey (0x82) command and delay for 4 µs. 3. Send 3 bytes with 24-bit Network Key value. 4. Deassert /CS_BB (drive the line high) and delay for 6 µs. 5.
MOD090-LP User’s Manual Get Data Example (AP Side) 1. If Data Ready Flag is set assert /CS_BB (drive line low) and issue getPacket (0x0A) command and delay for 4 µs. 2. Gets first byte to determine what SU sent the packet. 3. Get next two bytes to determine the packet size in bytes. 4. Get all data bytes 5. Deassert /CS_BB (drive line high) and delay for 6 µs. 6. If Data Ready is still set then repeat all steps. RSSI Example 1.
User’s Manual MOD090-LP Firmware Update Example 1. Assert /CS_BB (drive line low) and issue setFirmwareStart (0x8B) command and deassert /CS_BB (drive line high). 2. Delay for 5 µs. 3. Wait for Data Ready to be asserted. 4. While FIFO Full is set wait. 5. Assert /CS_BB and issue setPacket (0x8A) command and delay for 4 µs. 6. Send first byte as 0x80 7. Send next two bytes as 0x44 and 0x00 respectively, for packet size of 68. 8.
MOD090-LP User’s Manual Implementation Block Diagrams Suggested SPI User Implementation: Diagnostic LEDs (Recommended but not required) SPI 0 Configuration DIPs AvaLAN MOD090-LP configuration data and statistics User’s Embedded µController SPI 1 SPI data at 12 Mbps Suggested UART User Implementation: configuration data and statistics USB PC Single Port USB to UART Chip UART 0 UART to SPI Chip SPI 0 Diagnostic LEDs (Recommended but not required) Configuration DIPs AvaLAN MOD090-LP User’s Em
User’s Manual MOD090-LP Technical specifications CHARACTERISTIC RF transmission rate Data Throughput Maximum Output power Minimum Output power Output Power Increment Radio Modes Receiver Sensitivity Range RF channels/bandwidth Frequency selection RF Interfaces Data Encryption Antenna Detection Error correction technique Adjacent band rejection Power consumption Voltage Temperature range Size Technical support (650) 384-0000 MOD090-LPMMCX 200 Kbps to 2.38 Mbps 1.63 Mbps +27 dBm at 2.
MOD090-LP User’s Manual FCC Certification The MOD090-LP RF module complies with Part 15 of the FCC rules and regulations. Compliance with the labeling requirements, FCC notices, and antenna usage guidelines is required. To operate under AvaLAN Wireless FCC Certification, RF modules/integrators must comply with the following regulations: 1.
User’s Manual MOD090-LP WARNING: WARNING: The FCC requires that all spread spectrum devices operating within the Unlicensed radio frequency bands must limit themselves to a maximum radiated power of 4 Watts EIRP. Failure to observe this limit is a violation of our warranty terms, and shall void the user’s authority to operate the equipment.