Jump to content


From Wikipedia, the free encyclopedia
International standardIEEE 802.15.4
Developed byMicrochip Technology
IndustryWireless mesh, IoT
Compatible hardwareSAMR30, SAMR21, MRF89XA, MRF24J40
Physical range20–100 meters

MiWi is a proprietary wireless protocol supporting peer-to-peer, star network connectivity. It was designed by Microchip Technology. MiWi uses small, low-power digital radios based on the IEEE 802.15.4 standard, and is designed for low-power, cost-constrained networks, such as industrial monitoring and control, home and building automation, remote control, wireless sensors, lighting control, and automated meter reading.[1]

The MiWi protocol is supported on Microchip's SAMR30 (sub-gigahertz)[2] and SAMR21 (2.4 GHz)[3] ARM Cortex-M0+ devices and modules. Legacy MiWi protocol code supporting PIC and dsPIC microcontrollers has been frozen and is no longer recommended for new designs; however, it is still available in the Microchip Library for Applications (MLA)[4] for the MPLAB Integrated Development Environment.[5]



Microchip Technology released technical information on MiWi.[6][7] These are not primarily protocol specifications and are focused on implementing the MiWi protocol on Microchip microcontrollers.

As of 2019, interoperable third party implementations have not appeared. Unless they do, it will not be clear if those specifications are complete or accurate enough to serve roles other than supporting Microchip's code or being one more proprietary example of a lightweight WPAN stack. Many developers trying to use WPAN technologies have observed that the competing Zigbee WPAN protocol seems undesirably complex. Accordingly, there exists a technical niche for simpler protocols, of which MiWi is a proprietary example.



The MiWi protocol is a small foot-print alternative (3K-32K[vague]) to Zigbee (40K-180K[vague]), for cost-sensitive applications with limited memory. The MiWi protocol stack supports star network and peer-to-peer wireless-network topologies, useful for simple, short-range, wireless node-to-node communication. Additionally, the stack provides sleeping-node, active-scan and energy-detect features while supporting the low-power requirements of battery-operated devices.



MiWi Silicon


Microchip Technology released MiWi support on the SAMR30[2] and SAMR21[3] RF-MCU's in 2018. Both devices are ARM Cortex M0+, and have 256 KB Flash and up to 40 KB RAM and utilize OQPSK RF Modulation defined in IEEE 802.15.4 for a +3dB advantage in power efficiency vs. FSK modulation.[8] Legacy devices supporting MiWi include several PIC Microcontrollers paired with the MRF89XA[9] (Proprietary Sub-GHz Transceiver) or the MRF24J40[10] (an IEEE 802.15.4 2.4 GHz transceiver).

MiWi Modules

MiWi module produced by Microchip Technology beside a 1 cent coin.

In 2018 Microchip released the SAMR30M,[11] a module based on the SAMR30 Cortex M0+ sub-GHz RF-MCU.

In 2008, Microchip released a 2.4 GHz wireless transceiver module with a standard 4-wire SPI interface paired with several Microchip PIC and dsPIC microcontrollers (the Microchip MRF24J40MA, MRF24J40MD, MRF24J40ME), and can be used in production devices. Being ZigBee compliant, and capable of communicating using MiWi wireless protocols, it is based on the IEEE 802.15.4 Wireless PAN standard. Option are for PCB antenna or u.FL connected antenna. The modules are regulatory-agency certified for the USA (Federal Communications Commission (FCC) Part 15, Subpart C), Canada (Industry Canada) and European - Radio Equipment Directive (RED) 2014/53/EU, eliminating the need for users to receive independent FCC certification for their wireless products.[12]

Network Analyzer


Microchip Technology's ZENA (Zigbee Enhanced Network Analyzer) is a wireless packet sniffer and network analyzer following the IEEE 802.15.4 specification on the 2.4 GHz band. The ZENA analyzer supports both the ZigBee and MiWi protocols. Accompanying software can analyze network traffic and graphically display decoded packets. It can also display the network topology and the messages as they flow through the network. With the provided key of the network, data on encrypted MiWi networks can be sniffed and viewed as well.


  1. ^ MiWi Protocol | Microchip Technology
  2. ^ a b "SAM R30 | Microchip Technology". www.microchip.com.
  3. ^ a b "ATSAMR21G18A - Wireless Modules". www.microchip.com.
  4. ^ "Microchip Libraries for Applications | Microchip Technology". www.microchip.com.
  5. ^ "MPLAB X IDE | Microchip Technology". www.microchip.com.
  6. ^ AN1066 Archived 2007-06-03 at the Wayback Machine MiWi Wireless Networking Protocol Stack, describing the Microchip MiWi stack
  7. ^ AN1204 Archived 2013-02-15 at the Wayback Machine Microchip MiWi P2P Wireless Protocol, focusing on MiWi P2P
  8. ^ Mulally / Lefevre (1991). "A Comparison of Digital Modulation Methods for Small Satellite Data Links". digitalcommon.usu.edu.
  9. ^ "MRF89XAM9A - Wireless Modules". www.microchip.com.
  10. ^ "MRF24J40 - Wireless - Wireless Modules". www.microchip.com.
  11. ^ "ATSAMR30M18 - Wireless Modules". www.microchip.com.
  12. ^ Ready-certified transceiver eases radio design Archived 2008-10-28 at archive.today Electronicstalk