Step 7.1: Configure Harmony Core Service
Step 7.2: Configure NVMCTRL Peripheral Library (PLIB)
Step 7.3: Configure Event System (EVSYS) PLIB
Configure the EVSYS channel 0 on the Event System Manager window:
- Set the DMA Controller Channel 0 (DMAC_CH_0) event as the event generator. The event is configured to appear asynchronously.
- Set the CCL Look Up Table Input 0 (CCL_LUTIN_0) as the event user.
Note: Currently, the User Ready status will be in red at the event generator section in the Event System Manager window even event user is configured.
Make sure that the status of the event and user (Event Status and User Ready) is green. If it is red, verify that the Event Output and Event Input are enabled in the respective PLIB configuration (DMAC and CCL for this application example).
In the Clock Easy View window, open the peripheral clock configuration by clicking on the Peripheral Clock Configuration button.
Once the window is opened, scroll down to the EVSYS_0 peripheral and set GCLK3 (100 MHz) as the source clock to CCL peripheral.
As per the electrical characteristics of EVSYS, provided in the SAM D5x/E5x Family datasheet, the EVSYS peripheral maximum running clock frequency is 100 MHz.
Step 7.4: Configure Input System Service
Under the left tab Resource Management (MCC), go to Device Resources and expand Input > Service.Click on the symbol beside Input System Service to add the Input System Service to the project.
Once the Input System Service is added to the Project Graph, configure the Input System Service configuration on Configuration Options.
Step 7.5: Configure GPIO Pins for QSPI, 8-48 MHz Crystal Oscillator external input (OSCCTRL_XIN0), and LED
The 8-48 MHz Crystal Oscillator external input (OSCCTRL_XIN0) pin will be configured as per the following Target Clock design schematic on the SAM E51 IGAT Curiosity Evaluation Kit.
In the Pin Settings window, scroll down to the respective pin number #31 (PA14) and then configure the pin as shown in Figure 13.
The user LED will be configured as per the following USER_LED design schematic on the SAM E51 IGAT Curiosity Evaluation Kit.
In the Pin Settings window, scroll-down to pin number #63, and then configure this pin according to the list.
- Set the Pin Number #63 as GPIO:
- Pin ID = PB02
- Custom Name = LED0
- Function = GPIO
- Direction = Out
- Latch = High
Table of Contents