Jump to main content

# 1 MPLAB® Harmony 3 Peripheral Library Application Examples for SAM9X7 Family

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

Name | Description
--- | ---
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 Low Power | This example application shows the different Low Power Sleep modes available with Fast Wake up either enabled or disabled
ADC Polling | This example application shows how to sample an analog input in Polled mode and send the converted data to console
Clock Configuration | This example application shows how to configure the clock system to run the device at maximum frequency. It outputs a prescaled clock signal on a GPIO pin for measurement and verification
DBGU Blocking | This example application demonstrates how to use the DBGU peripheral to transfer a block of data in a blocking manner
DBGU Interrupt | This example application demonstrates how to use the DBGU peripheral to transfer a block of data in a non-blocking manner
DBGU Ring Buffer | This example application shows how to use DBGU peripheral in Ring Buffer mode
FLEXCOM SPI EEPROM Read Write | This example application shows how to use the FLEXCOM module in SPI mode
FLEXCOM SPI Self Loopback DMA | This example application shows how to use the FLEXCOM SPI peripheral with DMA to transmit and receive a block of data
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 ISO7816 SmartCard | This example application shows how to use the FLEXCOM module in ISO7816 SmartCard mode.
FLEXCOM LIN | This example application shows how to use the FLEXCOM module in LIN mode
FLEXCOM RS485 | This example application shows how to use the FLEXCOM module in RS485 mode
Low Power Modes | This example application shows how to enter Low Power modes of SAM9X75 MPU
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
MCAN Interrupt | This example shows how to use the MCAN module to transmit and receive CAN 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
PIO Polling | This example application shows how to poll the switch input, and indicate the switch status using the LED
PIT Period Change | This example application shows how PIT period can be changed during run time
PIT Polling | This example application shows how to use PIT counter in Polling mode
PIT Start Stop | This example application shows how PIT can be started and stopped at run time
PIT64B Periodic Interrupt | This application shows how to use PIT64B counter in Interrupt mode
PWM Channels | This example demonstrates how to use the PWM peripheral to generate PWM signals
QSPI Flash Read Write | This example application shows how to use the QSPI Peripheral library to perform erase, write and read operation with the QSPI Serial Flash memory in Quad IO mode
RSTC Interrupt | This example application shows how to use the RSTC peripheral to generate an interrupt instead of generating a reset, when the Reset switch is pressed on board
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
RTT Periodic Interrupt | This example application shows how to use the RTT to generate periodic interrupts
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
WDT Timeout | This example application shows how to generate a Watchdog timer reset by emulating a deadlock
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: E