Version 4.x, June 8 2011
Microchip MiWi™ Development Environment (MiWi™ DE) protocol stack provides simple wireless connectivity for short-range, low data rate and low power applications. Microchip MiWi™ DE protocol is royalty free as long as implemented on Microchip PIC microcontroller and radio frequency transceiver. Please refer to the attached MiWi™ DE license agreement for details.
The MiWi™ DE source code is released with applications to demonstrate communications between two RF devices. The source code for each device is located in individual directories under "MiWi DE Demo". In addition, the directory "Microchip" is for MiWi™ DE stack source code.
Micorchip MiWi™ DE version 4.x is updated from version 3.1.4 released earlier. The main updates from earlier versions are:
- Support MiWi™ PRO networking protocol
- Support Microchip MPLAB X
- Provide demo source code for Microchip Wireless Development Kit
- Provide testing interface for MiWi PRO protocol
- Bug fixes
For all new features, please refer to the section New Features.
Type/Use |
Specific/Configurable |
Limitations |
UART for hyper terminal output |
Select via console configuration in ConfigApp.h |
None |
Timer for protocol timing |
16bit Timer |
Timer is preferred to be configured to represent 16us for one tick |
SPI for RF transceiver |
Select via pin configurations in ConfigApp.h |
Both hardware SPI or software bit-bang can be used. |
Digital I/O pins to RF transceiver |
Select via pin configurations in ConfigApp.h |
Must be able to be configured as external interrupt pin or interrupt-on-change pin; must have a pull-up |
- Microchip C18 compiler version 3.30 or earlier has a mismatch in the memory mapping of linker script for PIC18F87J11 family. It is highly recommended to use the linker script in the project file when compile the stack for PIC18 Explorer demo board.
- Due to C30 (version 3.11) compiler limitation, using optimization level 2 or above in compilation may reset the MCU when decrypt a message, when MRF49XA is chosen as the RF transceiver. Please use no optimization or optimization level 1 to compiler the MiWi™ P2P code as MRF49XA is used.
- High data rate for MRF49XA may require MCU running at faster speed. This is due to the nature of 16-bit RX buffer used in MRF49XA.
- When PIC32 MCU family is used, the demo needs to be compiled with optimization on to track the delay timing for LCD. The MiWi™ P2P stack itself does not have such requirement.
- In the feature demo, only button 1 can wake up the end device to transmit message on PIC18 Explorer demo board, due to the demo board hardware design.