1 Harmony 3 Peripheral Library Application Examples for SAM9X60 Family

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

NameDescription
ADC Automatic Window ComparisonThis 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 PowerThis example application shows the different low power sleep modes available with Fast Wake up either enabled or disabled
ADC PollingThis example application shows how to sample an analog input in polled mode and send the converted data to console
ADC User SequenceThis example application shows how to sample three analog inputs using the user sequencer in software trigger mode and send the converted data to the console
CAN BlockingThis example application shows how to use the CAN module to transmit and receive CAN messages in polling mode
CAN InterruptThis example application shows how to use the CAN module to transmit and receive CAN messages in interrupt mode
CAN Interrupt with TimestampThis example application shows how to use the CAN module to transmit and receive CAN messages in interrupt mode
Clock ConfigurationThis 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
DBGU BlockingThis example application demonstrates how to use the DBGU peripheral to transfer a block of data in a blocking manner
DBGU InterruptThis example application demonstrates how to use the DBGU peripheral to transfer a block of data in a non-blocking manner
DBGU Ring BufferThis example application shows how to use DBGU peripheral in ring buffer mode
FLEXCOM SPI EEPROM Read WriteThis example application shows how to use the FLEXCOM module in SPI mode
FLEXCOM SPI Self Loopback DMAThis example application shows how to use the FLEXCOM SPI peripheral with DMA to transmit and receive a block of data
FLEXCOM TWI (I2C) EEPROMThis example application shows how to use the FLEXCOM module in TWI mode
FLEXCOM USART BlockingThis example application shows how to use the FLEXCOM module in USART mode
FLEXCOM USART InterruptThis example application shows how to use the FLEXCOM module in USART mode
FLEXCOM USART Ring BufferThis example application shows how to use the FLEXCOM peripheral in USART ring buffer mode
Low Power ModesThis example application shows how to enter low power modes of SAM9X60 MPU
OTPC Read Write (Emulation)This example application shows how to use the OTPC Peripheral library to perform OTP operations
PIO InterruptThis example application shows how to generate GPIO interrupt on switch press and release, and indicate the switch status using the LED
PIO PollingThis example application shows how to poll the switch input, and indicate the switch status using the LED
PIT Period ChangeThis example application shows how PIT period can be changed during run time
PIT PollingThis example application shows how to use PIT counter in polling mode
PIT Start StopThis example application shows how PIT can be started and stopped at run time
PIT64B Periodic InterruptThis application shows how to use PIT64B counter in interrupt mode
PWM ChannelsThis example demonstrates how to use the PWM peripheral to generate PWM signals
RSTC InterruptThis 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 CauseThis example shows how to use the RSTC peripheral to indicate the cause of the device reset
RTC Alarm InterruptThis example application shows how to use the RTC to configure the time and generate the alarm
RTT Alarm InterruptThis example application shows how to use the RTT to generate alarm interrupt
RTT Periodic InterruptThis example application shows how to use the RTT to generate periodic interrupts
TC Capture ModeThis example application shows how to use the TC module in capture mode to measure duty cycle and frequency of an external input
TC Compare ModeThis 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 ModeThis example application shows how to use the TC module in timer mode to generate periodic interrupt
TRNG Random NumberThis example application shows how to use the TRNG Peripheral library to generate and read a random number
WDT TimeoutThis example application shows how to generate a Watchdog timer reset by emulating a deadlock
XDMAC Memory TransferThis 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