1 Harmony 3 Peripheral Library Application Examples for SAM RH707 Family

The following applications are provided to demonstrate the typical or interesting usage models of one or more peripheral libraries.
NameDescription
ADC DMA modeThis example application shows how to couple the ADC and the XDMAC peripherals to automatically transfer the data conversion of an analog input into internal memory. After the DMA transfer, the results of the converted samples are printed to the console.
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
Cache MaintenanceThis example shows cache maintenance operation by cleaning and invalidating the cache for the DMA buffers located in the cacheable SRAM region
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
DACC Waveform GenerationThis example shows how to use the DACC peripheral to generate a 5 kHz sine wave or triangle wave using a look up table
FLEXCOM SPI EEPROM Read WriteThis example application shows how to use the FLEXCOM module in SPI mode
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 demonstrates how to use the FLEXCOM peripheral in USART ring buffer mode
HEFC Flash Read WriteThis example application demonstrates how to use the HEFC to erase and program the internal Flash memory
MCAN FD BlockingThis example shows how to use the MCAN module to transmit and receive CAN FD messages in polling mode
MCAN FD InterruptThis example shows how to use the MCAN module to transmit and receive CAN FD messages in interrupt mode
MPU Cache CoherencyThis example shows how to maintain cache coherency by allocating DMA buffers in non-cacheable SRAM region defined by MPU
PIO InterruptThis example shows how to generate GPIO interrupt on switch press and release, and indicate the switch status using the LED
PIO PollingThis example shows how to poll the switch input, and indicate the switch status using the LED
PWM GenerationThis example shows how to use the PWM peripheral to generate 3-phase PWM signals with dead time
RTC Alarm InterruptThis example shows how to use the RTC to configure the time and generate the alarm
RTT Periodic InterruptThis example shows how to use the RTT to generate periodic interrupts
Systick Periodic InterruptThis example shows how to use the SysTick to generate periodic interrupts
TC Capture ModeThis example shows how to use the TC module in capture mode to measure duty cycle and frequency of an external input
TC Compare ModeThis example 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 shows how to use the TC module in timer mode to generate periodic interrupt
TCM Cache CoherencyThis example shows how to maintain cache coherency by allocating the DMA buffers in the Tightly Coupled Memory (TCM), which are not cacheable
TRNG Random NumberThis example shows how to use the TRNG Peripheral library to generate and read a random number
WDT TimeoutThis example shows how to generate a Watchdog timer reset by emulating a deadlock
XDMAC Memory TransferThis example 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