Demo Source Code Project for MPLAB 8.x

MiWi Development Environment

MiWi(TM) Development Environment Help
Demo Source Code Project for MPLAB 8.x
Demo Source Code Modification

 

The source code for this demo is available in the following directories:

  • <Install Directory>\MiWi DE Demo\Basic Demos\Simple Example\Node 1
  • <Install Directory>\MiWi DE Demo\Basic Demos\Simple Example\Node 2
  • <Install Directory>\MiWi DE Demo\Basic Demos\Feature Demo\Node 1
  • <Install Directory>\MiWi DE Demo\Basic Demos\Feature Demo\Node 2
  • <Install Directory>\MiWi DE Demo\MiWi PRO Test Interface

 

In above directories, you will find all of the application level source and header files as well as project files for each of the hardware platforms. To open the project, select “Project” from the main menu of MPLAB IDE and then “Open…” option. A window will pop out and request the project file. The snap-shot of the opening project process can be found below:

 
 

 

To run the demo, both nodes must be configured to use the same RF transceiver with the same settings and the same wireless protocol. However, both nodes do not have to be the same demo board. 

 

To compile the demo, following working environment must be established: 

• PICDEM Z, PIC18 Explorer and 8-bit Wireless Development Kit Configuration: C18 v3.20 or higher 

• Explorer 16 Configuration: C30 v3.10 or higher for PIC24 and dsPIC33; C32 v1.02 or higher for PIC32. 

Compile and program the demo code into the hardware platform. For more help on how to compile and program projects, please refer to the MPLAB® IDE help available through the help menu of MPLAB IDE (Help->Topics…->MPLAB IDE). 

 

By default, there are three projects provided for each demo. They are for PIC18, PIC24 and PIC32 MCUs respectively. Each demo is initially configured to use MRF24J40 RF transceiver to run MiWi™ P2P stack. With minor configuration modification, user can compile and run the demo on any Microchip RF transceivers, any Microchip proprietary wireless protocols on any supported standard demo boards. This section demonstrates how to migrate the demo among all supported options.

Topics
Name 
Description 
 
 
test 
Microchip My Application xx.yy - [Jan 1, 2009]
Copyright © 2009 Microchip Technology, Inc.  All rights reserved.