Live PhotoFrame Tutorial: Step 5

Step 5.1 - Enable Graphics Library

In the MPLAB® Harmony Configurator (MHC) Options tab, expand the Harmony Framework Configuration > Graphics Library > Harmony Graphics Library selection tree. Check the box next to Use Graphics Library?.

use_graphics_library.png

Step 5.2 - Configure the Graphics Controller

In the MHC Options tab, expand the Harmony Framework Configuration > Drivers > Graphic Controllers selection tree.

As you have enabled the Graphics Library, the MHC enables the Graphics Controller automatically. In addition, as you have selected the Board Support Package (BSP) for this project, the BSP takes care that the appropriate Graphics Controller for the hardware is selected. As we selected BSP related to the MEBII board, the MHC selects the Low-Cost Controllerless (LCC) as the Graphics Controller. Look into the below graphics for the Graphics Controller configuration.

config_graphics_controller.png
  • Either Timer2, Timer4, Timer6, or Timer8 can be used as a trigger source for Direct Memory Access (DMA) operation. As Timer2 is used by the Camera module, change the DMA Trigger Source to DMA_TRIGGER_TIMER_4.
  • Change the DMA Transfer Length to Small Buffer.



Next Step >

© 2020 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
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.