Jump to main content

# 1 Harmony 3 Peripheral Library Application Examples for SAMA7D65 Family

The following applications are provided to demonstrate the typical or interesting usage models of one or more peripheral libraries.

Name | Description
--- | ---
ACC Interrupt | This example application shows how to use an analog comparator controller (ACC) generate an interrupt on a compare event.
ADC Automatic Window Comparison | This example application shows how to sample an analog input in Polled mode and send the converted data to console using automatic window comparison of converted values
ADC Polling | This example application shows how to sample an analog input in Polled mode and send the converted data to console
ADC User Sequence | This example application shows how to sample three analog inputs using the user sequencer in external Trigger mode (TC peripheral) and send the converted data to the console
Clock Configuration | This example application shows how to configure the clock system to run the device at maximum frequency. It also outputs a prescaled clock signal on a GPIO pin for measurement and verification
DWT Timeout | This example application shows how to generate a Dual Watchdog timer reset by simulating a deadlock
FLEXCOM SPI EEPROM Read Write | This example application shows how to use the FLEXCOM module in SPI mode
FLEXCOM ISO7816 SmartCard | This example application shows how to use the FLEXCOM peripheral in USART ISO7816 SmartCard mode
FLEXCOM LIN | This example application shows how to use the FLEXCOM peripheral in USART LIN Host and Client modes.
FLEXCOM RS485 | This example application shows how to use the FLEXCOM peripheral in USART RS-485 Host and Client modes.
FLEXCOM TWI (I2C) EEPROM | This example application shows how to use the FLEXCOM module in TWI mode
FLEXCOM USART Flow Control | This example application shows how to use the FLEXCOM module in USART flow control mode
FLEXCOM USART Interrupt | This example application shows how to use the FLEXCOM module in USART mode
FLEXCOM USART Ring Buffer | This example application shows how to use the FLEXCOM peripheral in USART Ring Buffer mode
Generic Timer Periodic Interrupt | This application shows how to use Generic timer counter in Interrupt mode
MCAN FD Blocking | This example shows how to use the MCAN module to transmit and receive CAN FD messages in Polling mode
MCAN FD Interrupt | This example shows how to use the MCAN module to transmit and receive CAN FD messages in Interrupt mode
OTPC Read Write (Emulation) | This example application shows how to use the OTPC Peripheral library to perform OTP operations
PIO Interrupt | This example application shows how to generate GPIO interrupt on switch press and release, and indicate the switch status using the LED
PIT64B Periodic Interrupt | This application shows how to use PIT64B counter in Interrupt mode
PWM Generation | This example shows how to use the PWM peripheral to generate 3-phase PWM signals with dead time
QSPI Flash Read Write | This example uses the QSPI peripheral library to erase and write an array of values to the QSPI Serial Flash memory. It verifies the value written by reading the values back and comparing it to the value written
QSPI Flash Read Write in SPI Mode | This example shows how to use the QSPI Peripheral library to perform erase, write and read operation with the Octal SPI Flash memory in SPI mode
RSTC Reset Cause | This example shows how to use the RSTC peripheral to indicate the cause of the device reset
RTC Alarm Interrupt | This example application shows how to use the RTC to configure the time and generate the alarm
RTT Alarm Interrupt | This example application shows how to use the RTT to generate alarm interrupt
SHDWC Wakeup | This example application shows how to shutdown and wakeup the device using SHDWC peripheral
TC Capture Mode | This example application shows how to use the TC module in Capture mode to measure duty cycle and frequency of an external input
TC Compare Mode | This example application shows how to use the TC module in Compare mode to generate an active low, active high, and toggle output on compare match
TC Timer Mode | This example application shows how to use the TC module in Timer mode to generate periodic interrupt
TRNG Random Number | This example application shows how to use the TRNG Peripheral library to generate and read a random number
XDMAC Memory Transfer | This example application shows how to use the XDMAC peripheral to do a memory to memory transfer and illustrates the usage of burst size to reduce the transfer time

Rev: C