Timer Static Driver Project Using chipKIT™ WF32

This example project is being updated to use the latest version of MPLAB Harmony. The new project should be available before May 2016.

Description

This project sets up a 32 bit timer (Timer2/3) to drive Timer Static Driver instance 0. This driver triggers an interrupt every 500 ms which toggles one of the LEDs on the WF32 board through the interrupt service routine.

This project uses the chipKIT WF32 board from Digilent Inc..


Instructions

This fully functional project provides you with an example of using Harmony to control this peripheral.

  1. Download the project files (see important note below)
  2. Open the project in MPLAB X IDE
  3. Observe the code: start with files shown in the example code below
  4. Build, program, and run the project on the board to verify the operation

Click here for step-by-step instructions on how this project was created.


Lab Material

File Download
Installation
Instructions
Windows Linux Mac OSX
Project and Source Files

The project files should be placed in this directory: <Harmony install path>/apps/training
(example Harmony install path = c:/microchip/harmony/v1_03). If this is not done, MPLAB® X IDE will not be able to find all source files, and the project will not build successfully.

This project has been verified to work with the following versions of software tools:
MPLAB® X IDE v2.30, MPLAB® XC32 Compiler v1.34, MPLAB® Harmony v1.03
Newer versions of these tools will probably work as well so try using them first.

Development Board

Tool About Purchase
chipkit-wifire-50px.png
chipKIT™ WF32
Development Board


© 2016 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.