I did it MiWi

Feb. 22, 2007
A free, small-footprint communication protocol from Microchip Technology targets developers who don't need the interoperability of a ZigBee protocol but still want to use IEEE 802.15.4 transceivers for inexpensive peer-to-peer networks.

The MRF24J40 contains a complete IEEE 802.15.4 transceiver for ZigBee or MiWi applications. As evident in this block diagram, the chip contains MAC and PHY layers, a 128-bit AES encryption engine, and an SPI interface for communicating with the host controller.

Dubbed MiWi, the protocol was devised to work with Microchip's first RF transceiver, the MRF24J40 — a 2.4-GHz transceiver developed for ZigBee and MiWi protocols.

The MiWi wireless protocol works with star, mesh, or peer-to-peer networks. While billed as an alternative to ZigBee, it doesn't replace the protocol. MiWi permits only eight coordinator nodes with up to 127 child nodes per coordinator for a total of 1,024 nodes. Another limitation is that it allows only four hops between nodes per message.

MiWi comes out of a feeling among some companies that the ZigBee protocol has grown too large and complex for many applications; and that the ZigBee certification procedures are too costly and cumbersome for smaller systems. In contrast, MiWI needs no certification. The protocol stack is free when used with Microchip's PIC microcontrollers and MRF24J40 transceiver.

The MRF24J40 is a complete IEEE 802.15.4 radio that supports both Zigbee and MiWi protocols. Housed in a 40-pin leadless QFN 6 × 6 mm package, the transceiver typically draws 18 mA in receive and 22 mA transmitting. Consumption drops to 2 µA during sleep mode. The chip contains a 32.768 kHz clock oscillator for timekeeping and a 20-MHz main oscillator. The main oscillator has a reference output pin that can drive the host PIC or dsPIC controller, eliminating the need for additional oscillator components. Communication between the paired radio chip and MCU is via a four-wire SPI interface.

The chip contains an embedded 128-bit Advanced Encryption Standard security engine that supports both inline and stand-alone modes for encryption and decryption. Building communication security into the transceiver unburdens the host processor.

The media access controller (MAC) is also built in. It works with either ZigBee or MiWi protocols and can retransmit packets.

Microchip offers a demonstration kit that includes Zigbee and MiWi-protocol software stacks and two radio cards. Each card consists of a PIC18-controller motherboard with an MRF24J40 RF daughter card for swapping in future controller or RF advances.

The Zena Wireless Network Analyzer also comes with each development kit. Zena works with a PC to create a simple graphic interface for configuring ZigBee and MiWi protocol stacks. The network-configuration display window shows wireless traffic in real time as it travels from one node to another. Developers can save sessions to a file for later review.

MAKE CONTACT
Microchip Technology Inc.,
(480) 792-7200,
microchip.com

Sponsored Recommendations

Safety Risk Assessment Guidelines for Automation Equipment

Dec. 20, 2024
This Frequently Asked Questions (FAQ) covers the basics of risk assessments, including the goals of the assessment, gathering the right team to perform them, and several methodologies...

Safety Products Overview

Dec. 20, 2024
The collection of machine safeguarding devices from Schmersal include keyed interlocks, solenoid locks, safety sensors, limit switches, safety light curtains and more.

SAFER Workplace: Stop, Assess, Formulate, Execute, Review

Dec. 20, 2024
Our SAFER Workplace initiative promotes workplace safety, with a heightened focus on machine safety, to reduce the potential of near misses, accidents, and injuries. Behaving ...

The advantages of a Built-in Bluetooth Interface for Your Safety Light Curtains

Dec. 20, 2024
Safety Light Curtains with Bluetooth InterfaceGuido Gutmann, Key Account Manager, Optoelectronic Safety Devices, Schmersal Group, explains the advantages of ...

Voice your opinion!

To join the conversation, and become an exclusive member of Machine Design, create an account today!