PICDEM Z Demo Board for MiWi P2P

MiWi Development Environment

MiWi(TM) Development Environment Help
PICDEM Z Demo Board for MiWi P2P
PICDEM Z Demo Board for MiWi™ P2P

PICDEM Z Demo board use PIC18F4620 MCU as the host controller. Select "Configure" from the MPLAB menu and then choose "Select Device...". From the pop up menu, choose "PIC18F4620" as the device and then click "OK". 

 

Open either the simple example or feature demo project for PIC18. 

From the project window, choose to edit file "ConfigApp.h" under the directory "Header Files -> Application", as shown below. 

 

In file "ConfigApp.h", first elect to use MiWi P2P protocol, make sure to uncomment "#define PROTOCOL_P2P" and comment out "#define PROTOCOL_MIWI" and "#define PROTOCOL_MIWI_PRO". 

Second step, choose the RF transceiver to be used. Only MRF24J40 is supported for this demo board. Uncomment "#define MRF24J40" and comment out all other transceiver definition. 

 

From the project window, choose to edit file "HardwareProfile.h" under the directory "Header Files -> Application", as shown below 

 

In the file "HardwareProfile.h", choose the PICDEM Z board by uncomment "#define PICDEMZ" and comment out all other demo boards definitions. 

 

Remove any linker script in the project, as shown below. 

 

 

Compile the project and then load the hex file to the MCU through a programmer or debugger.

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