32-bit Software and Hardware Resources Software and Hardware Solutions for the 32-bit Designer www.microchip.
Table of Contents Software Solutions Hardware Solutions Introduction to MPLAB® Harmony. . . . . . . . . . . . . . . 3 Starter Kits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Graphics Library . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 PIC32 Audio Solutions . . . . . . . . . . . . . . . . . . . . . . . . 18 USB Library . . . . . . . . . . . . . . . . . . .
MPLAB®Harmony for PIC32 Introduction MPLAB Harmony is a flexible, abstracted, fully integrated firmware development environment for PIC32 microcontrollers. It enables robust framework development of interoperable RTOS-friendly libraries with quick and extensive Microchip support for third party software integration. MPLAB Harmony includes a set of peripheral libraries, drivers and system services that are readily accessible for application development.
Graphics Library Summary Graphics Display Designer X Microchip provides a complete graphics library that allows users to quickly and easily implement a Graphical User Interface (GUI) on small, color, touch screen displays . The complete graphics display solution that will enable designer to quickly evaluate a graphics display solution at minimal cost .
USB Library Summary Microchip’s USB software includes royalty-free source code and example projects . It provides support for USB device mode, embedded host and On-The-Go for PIC32 microcontrollers .
File System Library for PIC32 Microcontrollers Summary The File System Library for PIC32 MCUs provides an application programming interface (API) through which a utility or user program requests services of a file system. Some file system APIs may also include interfaces for maintenance operations, such as creating or initializing a file system and verifying the file system for integrity. The File System Library is designed as per the manifesto of MPLAB Harmony.
MP3 Decoder Library Summary MP3 is a compression format for storing digital audio data. It is an audio codec that has the capability to compress the original audio sources with minor loss in sound quality. The higher the compression ratio, the lower the audio quality, which requires designers to perform a delicate balancing act between the file size and audio quality. With the right combination, MP3 encoded data can provide very high-quality audio.
Fixed Point DSP Library Summary Key Features The Fixed Point DSP Library contains building block functions for developing digital signal processing algorithms. The library supports the Q15 and Q31 fractional data formats, which are integer fixed point data types that represent floating point values. The functions are implemented in efficient assembly specifically targeted at the DSP extensions in this core family. The library makes these functions available in a simple C-callable structure.
PIC32 Microcontroller Floating Point Math Library Summary Key Features The optimized PIC32 Math Library is packaged within the MPLAB XC32 Compiler for PIC32 MCUs. The floating‑point math library provided with the compiler has been significantly optimized to take full advantage of the PIC32 MCU instruction set. Single- and double-precision math library functions are now available, giving users a choice between these operations.
PIC32 Microcontroller DSP Library Summary Microchip’s PIC32 DSP Library enables developers to add DSP capabilities to many applications by taking advantage of the highly optimized hardware features inside the PIC32 MCU, including its multiply-accumulate, math unit with parallel execution and two full sets of CPU registers. Additionally, this DSP Library’s use of a RADIX-2 based FFT provides more options for sample size than the RADIX-4 designs.
ADPCM and Speex (Audio) Library for PIC32 Microcontrollers Summary The audio library for PIC32 MCUs consists of APIs for Pulse Code Modulation, Adaptive Differential Pulse Code Modulation and Speex encoding and decoding algorithms. Speex is a Code Excited Linear Prediction (CELP) based, open source, patent-free audio compression format designed for speech. The ADPCM algorithm takes advantage of the high correlation between consecutive speech samples, which enables future sample values to be predicted.
Software Library for Android™ Accessories The PIC32 Accessory Development Starter Kit for Android provides all of the tools and resources required to get an accessory developer quickly started on Android devices . The platform provides a library for accessing and talking to Android devices through the accessory framework found in Android OS versions 2 .3 .4, 3 .1 and later . Example applications show how to connect and communicate over the accessory framework using a simple bi-directional application .
Smart Card ISO-7816 Library for PIC18F, PIC24, PIC32 Microcontrollers and dsPIC Digital Signal Controllers Summary Smart Card PICtail™ Daughter Card (AC164141) Microchip’s Smart Card Library supports PIC18, PIC24, PIC32 microcontrollers and dsPIC digital signal controllers . It provides the API necessary to communicate with an ISO7816-3/4 compliant smart card . The Smart Card ISO7816 Library is part of the Microchip Applications Library .
PIC32 CAN Library Using MCP2515 CAN Controller* Summary Applications The PIC32 CAN Library is based on the MCP2515 CAN controller. The MCP2515 is connected to the PIC32 microcontroller via the SPI port. The Library provides seamless access to the CAN controller over the SPI bus.
ata EEPROM Emulation for PIC18, PIC24 and D PIC32 Microcontrollers and dsPIC Digital Signal Controllers Ref Application Note: AN1095, Ready-to-Use Solution Summary Microchip has expanded its product portfolio to include a wide variety of cost-effective PIC microcontrollers without an internal data EEPROM. Many applications store non-volatile information in the Flash program memory using table write and read operations.
Starter Kits PIC32 Starter Kits are the fastest and easiest way to start development . All starter kits have an on-board programmer/ debugger, making this the only tool you need to get started . PIC32MX1/MX2 Starter Kit (DM320013) The PIC32 MX1/MX2 Starter kit (DM320013) is a complete solution for exploring the low-cost, high-performance PIC32MX1/ MX2 devices . This kit is perfect for development of basic user interfaces with mTouch technology buttons and high-quality audio .
Starter Kits Microstick II (DM330013-2) Microstick II delivers a complete development hardware platform for Microchip’s 16-bit and 32-bit microcontrollers and digital signal controllers . It’s the perfect solution to those looking for a low-cost, easy-touse development platform . The USB-powered kit includes an on-board debugger/programmer, a DUT socket for easy device swapping, a user LED and reset button .
PIC32 Audio Solutions Audio Development Board for PIC32 (DM320011) Bluetooth Audio Development Kit (DV320032) Audio Development Board for PIC32 MCUs features an 80 MIPS PIC32 MCU, a 24-bit Wolfson audio codec, a two-inch color LCD display, a USB interface and an on-board microphone . Supported by Microchip’s free software libraries, the kit provides a perfect solution for the development of speech and audio recording and playback products .
PIC32 Graphics Solutions Low-Cost Controllerless (LCC) Graphics PICtail Plus Daughter Board (AC164144) Graphics PICtail Plus Epson S1D13517 Board (AC164127-7) The Low-Cost Controllerless (LCC) Graphics PICtail Plus Daughter Board enables development of graphics solutions without an external graphics controller, reducing system BOM cost for many applications .
Display Boards Graphics Display Truly 3.2" 320 × 240 Board (AC164127-4) The Graphics Display Truly 3 .2" 240 × 320 Board is a demonstration board for evaluating Microchip’s graphic display solution and graphics library for 16- and 32-bit microcontrollers . Key Features: ■ 3 .2 QVGA (320 × 240) TFT LCD with 18-bit parallel RGB interface ■ Resistive 4-wire touch screen Graphics Display Powertip 4.3" 480 × 272 Board (AC164127-6) The Graphics Display Powertip 4 .
PIC32 Touch Solutions Enhanced mTouch Capacitive Touch Evaluation Kit (DM183026-2) The enhanced mTouch Capacitive Evaluation Kit provides a simple platform for developing a variety of capacitive touch sense applications using PIC16F, PIC24F, PIC18F and PIC32 microcontrollers .
PIC32 Connectivity Solutions PIC32 Wi-Fi® Comm Demo Board (DV102411) The PIC32 Wi-Fi Comm Demo board provides a compact development platform for customers to evaluate Microchip’s Wi-Fi product offering . The demo board comes with on-board FCC-IC-ETSI-certified MRF24WB0MA Wi-Fi module and a PIC32 microcontroller . ■ ■ ■ ■ ■ Key Features: ■ Wi-Fi solution compatible with IEEE 802 .
PIC32 Connectivity Solutions Wi-Fi G Demo Board (DV102412) The Wi-Fi G Demo Board is a compact demonstration platform for customers to easily evaluate and configure Microchip’s new MRF24WG0MA Wi-Fi module . The demo board is a fully-functional standalone web server powered by two AAA batteries . It comes with a PIC32 pre-programmed with the Microchip TCP/IP stack, connected to an on-board, fully-certified MRF24WG0MA Wi-Fi module . Key Features: ■ Complete IEEE 802 .
Expansion and Development Boards Expansion boards make prototyping fast . Connectors for all starter kits allow the additon of any PICtail/PICtail Plus as well as Human Interface and Multimedia peripherals . PIC32 I/O Expansion Board (DM320002) The PIC32 I/O Expansion Board provides starter kit and starter board users with full access to MCU signals, additional debug headers, and connection of PICtail Plus daughter cards .
Plug-In Modules Processor plug-in modules (PIMs) are small circuit boards which can be used with the various Microchip development boards to evaluate various MCU families . These plug into the main processor socket of the development boards so that different microcontrollers can be quickly and easily used for prototyping, demonstration or development .
Microchip M2M Development Kit for CDMA Application Note: AN1529, Ready-to-Use Solution M2M Development Platform for CDMA (DM320017) Summary This application note describes the implementation of Machine-to-Machine communications over a CDMA network using Microchip's PIC32 M2M Development Kit . The kit has a variety of on-board sensors and interfaces to allow the designer to tailor the solution for a specific application .
Porting the Helix MP3 Decoder onto Microchip’s PIC32MX 32-bit Microcontrollers The Helix MP3 decoder provides Layer 3 support for MPEG-1, MPEG-2 and MPEG-2 .5 . It supports variable bit rates, constant bit rates and stereo and mono audio formats . Application Note: AN1367, Ready-to-Use Solution Proven Software Source Code Summary This application note describes the procedure to port the open source Helix MP3 decoder algorithm onto Microchip’s PIC32MX 32-bit microcontrollers (MCUs) .
Video Playback and Streaming Solutions Using the PIC32 Microcontroller Capabilities of this Application Solution Application Note: AN1415, Ready-to-Use Solution ■ Video playback with PIC32 using upscaling by interpolation ■ Streaming raw video from a microSD card using the Solomon SSD1926 LCD Graphics Controller on the MEB and PIC32 ■ Streaming uncompressed AVI video over ethernet and the MEB using PIC32 ■ Streating uncompressed AVI video over ethernet on WVGA using PIC32 Proven Software Source Code Sum
IrDA Standard Stack Application Note: AN1071, Ready-to-Use Solution Proven Software Source Code Summary Infrared communication is a low-cost method of providing wireless, point-to-point communication between two devices . A wide variety of devices implement the IrDA standard specification, including computers, printers, PDAs, cell phones, watches and other instruments .
MPLAB ICD 3 In-Circuit Debugger (DV164035) Summary Key Features The MPLAB ICD 3 In-Circuit Debugger System is Microchip’s most cost-effective high-speed hardware debugger/programmer for its Flash DSC and MCU devices . It debugs and programs PIC MCUs and dsPIC DSCs with the powerful yet easy-to-use graphical user interface of the MPLAB X Integrated Development Environment (IDE) .
PICkit 3 In-Circuit Debugger (PG164130) Summary Key Features The PICkit 3 In-Circuit Debugger allows debugging and programming of Flash PIC MCUs and dsPIC DSCs at an affordable price point using the powerful MPLAB X IDE graphical user interface . The PICkit 3 ICD is connected to the design engineer’s PC using a full speed USB interface and can be connected to the target via a Microchip debug (RJ-11) connector (compatible with MPLAB ICD and MPLAB REAL ICE In-Circuit Emulator) .
MPLAB X IDE Summary The MPLAB X IDE is a software program that runs on a PC (Windows, Mac OS, Linux) to develop applications for Microchip's microcontrollers and digital signal controllers . The MPLAB X IDE brings many changes to the PIC microcontroller development tool chain . Unlike previous versions of MPLAB IDE which were developed completely in-house, MPLAB X IDE is based on the open source NetBeans IDE from Oracle .
MPLAB XC32/XC32++ Compilers Summary The MPLAB XC32 is a full-featured, highly optimized ANSI C compiler for the PIC32 microcontroller family. This compiler integrates into Microchip's MPLAB X IDE, is compatible with all Microchip debuggers and emulators, and runs on Windows, Linux and Mac OS X. The MPLAB XC32 Compiler also comes with 12 months of High Priority Access, a maintenance subscription providing web access to new version releases and priority technical support for the compiler.
Third Party Software Tools, RTOS and Libraries Features IDE C Compiler C++ Compiler Program/ Debug Hardware RTOS Software and Design Development Boards Ashling Demo Customized Eclipse MPLAB C32 and GNU GNU ü – – – AVIX-RT 16-32, Demo – XC32/XC16 – – ü – – chipKIT.net 32, Articles, Sample Code Arduinocompatible IDE – ü – – – – 16-32, Appnote, Demo – – – – ü Filesys, Network, USB, CAN – 8-16-32, App Note, Demo – – – – – – Chipkit™ and Cerebot platform E.E.
Third Party Software Tools, RTOS and Libraries Features IDE C Compiler C++ Compiler Program/ Debug Hardware RTOS Software and Design Development Boards – Trace32 IDE MPLAB® C32 & GNU – ü – – – Demo Standard Eclipse GNU GNU Yes – – – 16-32, App Note, Demo – – – – ü Networking, GUI, Filesys, Probe – 16-32 – – – – – – Eval Board USB1132 Microchip Technology, Inc.
Support Training Microchip is committed to supporting its customers in developing products faster and more efficiently. We maintain a worldwide network of field applications engineers and technical support ready to provide product and system assistance. In addition, the following service areas are available at www.microchip.com: ■■ Support link provides a way to get questions answered fast: http://support.microchip.com ■■ Sample link offers evaluation samples of any Microchip device: http://sample.