Digit Recognition AI/ML Application on SAM E51 IGAT Curiosity Evaluation Kit Using MPLAB® Harmony v3: Step 4

Step 4.1: Configure Generic Display Module


Associate the Generic Display module to Integrated Touch Driver by right-clicking on the yellow diamond.



Select Generic Display in the Project Graph and verify the Generic Display on Configuration Options.


Step 4.2: Configure External Display Controller Driver


Associate LE External Controller module to Generic Display by right-clicking on the yellow diamond.


If auto prompted to auto activate GFX Core LE, click Yes.



Select the LE External Controller in the Project Graph and configure the LE External Controller on Configuration Options.



Select the GFX Core LE in the Project Graph and configure the GFX Core LE on Configuration Options.


Step 4.3: Configure Legato Graphics Library


Associate Legato Graphics Library module to LE External Controller by right-clicking on the yellow diamond.


Legato Graphic Library will be configured in Legato composer in the further steps.


Step 4.4: Configure Parallel Display Interface


Associate Parallel Display Interface module to LE External Controller by right-clicking on the red diamond.



Select the Parallel Display Interface in the Project Graph and configure the Parallel Display Interface on Configuration Options.



From the Project Graph tab, select Plugins > DMA Configuration to launch the DMA Configuration window.


A new window, DMA Settings, is opened in the project’s main window.



Click on the DMA Settings tab. Configure DMA Channel 0 to transfer application buffer to the Parallel Display Interface. The DMA transfers 1 byte from the CCL output to Parallel Display Interface on each trigger.

Based on the trigger source, the DMA channel configuration is automatically set by Microchip Code Configurator (MCC).

  • Trigger Action: Action was taken by DMA on receiving a trigger
    • One beat transfer: Generally used during a memory-to-peripheral or peripheral-to-memory transfer
    • One block transfer: Generally used during memory-to-memory transfer on a software trigger
  • Source Address Mode, Destination Address Mode: Select whether to increment Source/Destination Address after every transfer. Automatically set by MCC based on the trigger type. For example:
    • If the trigger source is memory-to-peripheral, then the Source Address is incremented, and the Destination Address is fixed
    • If the trigger source is peripheral-to-memory, then the Source Address is fixed, and the Destination Address is incremented
  • Beat Size: Size of one beat. The default value is 8-bits. For example:
    • If the SPI peripheral is configured for 16-bit/32-bit mode, then the beat size must be set to 16-bits/32-bits respectively


Also configure the DMA Channel 0 Event System Configuration and Priority Level 0 Arbitration Scheme by selecting System component in the Project Graph and expand the System > DMA (DMAC) > Use DMA Channel 0 > Event System Configuration.


Next Step >

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