What is needed to Develop Graphics Applications

Requirements to RUN a graphics application

A Microchip MLA graphics enabled embedded application requires 4 essential functions:

  1. 16-bit or 32-bit PIC® MCU running the user application program and either Microchip's Library for Applications (MLA) or MPLAB® Harmony graphics software. (16bit MCUs use MLA and PIC32 devices run Harmony) Under CPU control the graphics software renders the screen image for output.
  2. Frame Buffer Memory – this dual port memory receives the image from the processor and holds it for display.
  3. Graphics Controller - takes the content of the frame buffer memory and sends it to the graphics display. The speed at which the graphics controller works depends upon the resolution of the display and the refresh rate required by the display.
  4. Graphics Display – Displays the information received from the graphics controller.
requiredgfx_functions.png

The picture above shows each of the 4 graphics functions being performed by separate devices. While these four functions are required it may not be necessary to separate the functions into four different devices. Microchip supports several products and configurations which allow some of these functions to be combined in to single devices. Below are some of these possible combinations:

combined_display_module.png

Graphics Subsystem (Display , Frame Buffer and Controller) sold as separate module connected directly to a PIC® MCU's Parallel Master Bus

two_modules.png

Frame Buffer and Graphics Controller on a module with the module directly connected to the display.

combined_Frame_buffergfx_conroller.png

Frame buffer contained within the Graphics Controller

cpu_with_controller.png

Low cost solution with the Graphics controller functions and some frame buffer memory contained within the CPU. The PIC24FxxxDA family contains a graphics controller and some frame buffer memory on board. PIC32 MX/MZ processors are fast enough to allow the CPU to perform the Graphics Controller functions in addition to the application program.

Requirements to DEVELOP a graphics application

demoboard.png

1 Development Board and Display

To develop a PIC® based graphics applications you will need a set of development platforms from Microchip which perform the above four functions and are capable of running under Microchip’s MLA graphics library or MPLAB® Harmony. Microchip offers a variety of platforms supporting various MCUs, graphics controllers and displays. The list and combination of currently available boards/displays is subject to change. Please check The Graphics Development Tools page to get an up-to-date list of available tools.

The examples and software used in this tutorial are designed to work on any Microchip supported supported platform.

tools.png

2 Programmer/Debugger

You will need to obtain a programmer debugger to download your application into the development board. Since MLA and Harmony applications can be quite large it is recommended you select either an MPLAB® REAL ICE or MPLAB® ICD 3 due their fast programming capability. If you have selected a “Starter Kit” as your development board you will not have to obtain a programmer debugger. Starter kits contain on-board program and debug capabilities
The PICKIt3™ programmer/debugger is capable of programming and debugging Graphics applications but is not recommended due to it's slower programming speed.

3 Software

You will need to download and install 3 software items to develop an MLA graphics application:

  1. MPLAB® X IDE
  2. 16-bit users will need Microchips Library of Applications (v2013-12-20 or newer). 32-bit users will need MLPAB® Harmony
  3. A Microchip C compiler.

If you have chosen to use a board with a PIC32 you will need to download and install the MPLAB®XC32 compiler and MPLAB® Harmony. If you have chosen to use either a PIC24 or dsPIC33 you will need to download and install the MPLAB® XC16 compiler and the MLA.

Software Tools

Tool About Installers
Installation
Instructions
Windows Linux Mac OSX
MPLAB® X
Integrated Development Environment
MPLAB® XC16
C Compiler
MLA
Microchip Libraries for Applications
MPLAB® XC32
C/C++ Compiler
MPLAB® Harmony
Integrated Software Framework

20th Annual
Microchip MASTERs Conference 2016
Register now - Deadline: July 29

JW Marriott Desert Ridge Resort-Phoenix, AZ

© 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.