PIC18 Explorer Demo Board for MiWi

MiWi Development Environment

MiWi(TM) Development Environment Help
PIC18 Explorer Demo Board for MiWi

PIC18 Explorer Demo Board for MiWi™ 

By default, PIC18 Explorer Demo board use PIC18F87J11 MCU as the host controller. Select "Configure" from the MPLAB menu and then choose "Select Device...". From the pop up menu, choose "PIC18F87J11" as the device and then click "OK". If you use a different PIM other than the default PIC18F87J11, please select the corresponding MCU accordingly. 

 

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 protocol, make sure to uncomment "#define PROTOCOL_MIWI" and comment out "#define PROTOCOL_P2P" and "#define PROTOCOL_MIWI_PRO". 

Second step, choose the RF transceiver to be used. Three RF transceivers: MRF24J40, MRF49XA and MRF89XA are supported in this release. Support of RF transceiver is enabled by uncomment one and only one following definitions. The other two definition of RF transceiver must be commented out: 

#define MRF24J40 

#define MRF49XA 

#define MRF89XA 

 

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 PIC18 Explorer board by uncomment "#define PIC18_EXPLORER" and comment out all other demo boards definitions. 

 

Due to a bug in the earlier version of C compiler, the memory map of PIC18F87J11 may be incorrect. The latest version of C18 compiler has fixed this problem. In the case that you are not sure if you have the latest C18 compiler, it is highly recommended to add the linker script "18f87j11_e.lkr" within the project if PIC18 Explorer demo board and default PIC18F87J11 PIM are used in this demo. 

 

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.