Link Search Menu Expand Document

legato_qs_9x75_eb_ac69t88a.X

Defining the Architecture

This application demonstrates multi-layer WVGA graphics using DDR3 memory.

User touch input on the display panel is received through the PCAP capacitive touch controller, which sends a notification to the Touch Input Driver. The Touch Input Driver reads the touch information over I2C and sends the touch event to the Graphics Library through the Input System Service.

Demonstration Features

  • Legato Graphics Library
  • Reference application for the SAM9X75-DDR3-EB Early Access Evaluation Board
  • 24-bit color, multi-layer, WVGA (800x480) screen design
  • Time system service, RTT peripheral library and driver
  • Graphics Acceleration using integrated display controller (XLCDC)
  • GFX2D GPU Driver Support
  • I2C and maXTouch® controller driver

Creating the Project Graph

The Project Graph diagram shows the Harmony 3 components that are included in this application. Lines between components are drawn to satisfy components that depend on a capability that another component provides.

Adding the SAM 9X75 Evaluation Board BSP and Legato Graphics w/ AC69T88A Display Graphics Template component into the project graph will automatically add the components needed for a graphics project and resolve their dependencies. It will also configure the pins needed to drive the external peripherals like the display and the touch controller.

Building the Application

The parent directory for this application is gfx/apps/legato_quickstart. To build this application, use MPLAB X IDE to open the gfx/apps/legato_quickstart/firmware/legato_qs_9x75_eb_ac69t88a.X project folder and press F11. A successful build will generate a harmony.bin file in dist/lvdsc_xlcdc_rgba8888_mxt_9x75_wvga/production in the project folder.

The following table lists configuration properties:

Project Name BSP Used Graphics Template Used Description
legato_qs_9x75_eb_ac69t88a.X SAM 9X75 Evaluation Board BSP Legato Graphics w/ Microchip AC69T88A Display SAM9X75-DDR3-EB Early Access Evaluation Board with LVDS Interface and MPU32 LVDS Display WVGA

NOTE: This application may contain custom code that is marked by the comments // START OF CUSTOM CODE … and // END OF CUSTOM CODE. When using the MPLAB Code Configurator to regenerate the application code, do not remove or replace the custom code.

Configuring the Hardware

Configure the hardware as follows:

  • Connect the MPU32-EB-LVDS-ADAPTER - REV2 add-on board to the SAM 9X75 Evaluation Board. Make sure to remove any jumpers on the marked areas and start by inserting the mikroBUS header first for easy alignment.
    Note: Please contact your local Microchip Sales Office for access to the LVDS adapter and LVDS display.

  • Connect the AC69T88A display to the MPU32-EB-LVDS-ADAPTER-REV2 add-on board using a 30-pin 0.5mm pitch FFC ribbon.
    Important: You may need a Type A FFC (upto REV2), or on newer LVDS-Adapter boards, a Type D FFC (contacts on opposite sides). Ultimately, you need to align pin 1 of the adapter to pin 1 of the display.

  • Take an SD Card formatted with the FAT32 file system and copy the boot.bin binary file from this location. Also copy the harmony.bin file you generated from the “Building the Application” section.

  • Insert the SD card into the SDMMC0 slot on the SAM9X75-DDR3-EB Early Access Evaluation Board and power up the board by connecting a USB cable (5V/1A recommended) to the USB port or an adapter to the barrel jack (5V/1A recommended, Center Positive).

Running the Demonstration

The LCD should display a simple menu with images, text, and a button on successful power-on. See reference image.




Copyright © 2020 Microchip Technology.