Jump to main content

##

# 1 Harmony 3 Peripheral Library Application Examples for SAM RH71 Family

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

Name | Description
--- | ---
Cache Maintenance | This example shows cache maintenance operation by cleaning and invalidating the cache for the DMA buffers located in the cacheable SRAM region
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
FLEXCOM SPI EEPROM Read Write | This example application shows how to use the FLEXCOM module in SPI mode
FLEXCOM TWI (I2C) EEPROM | This example application shows how to use the FLEXCOM module in TWI mode
FLEXCOM USART Blocking | This example application shows how to use the FLEXCOM module in USART mode
FLEXCOM USART Interrupt | This example application shows how to use the FLEXCOM module in USART mode
FLEXCOM USART Ring Buffer | This example application demonstrates how to use the FLEXCOM peripheral in USART ring buffer mode
HEFC Flash Read Write | This example application demonstrates how to use the HEFC to erase and program the internal Flash memory
HSDRAMC Read Write | This example application demonstrates how to configure the HSDRAM interface to write and read from the SDRAM memory
MCAN Blocking | This example shows how to use the MCAN module to transmit and receive CAN messages in polling 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
MPU Cache Coherency | This example shows how to maintain cache coherency by allocating DMA buffers in non-cacheable SRAM region defined by MPU
PIO Interrupt | This example shows how to generate GPIO interrupt on switch press and release, and indicate the switch status using the LED
PIO Polling | This example shows how to poll the switch input, and indicate the switch status using the LED
PWM Generation | This example shows how to use the PWM peripheral to generate 3-phase PWM signals with dead time
RTC Alarm Interrupt | This example shows how to use the RTC to configure the time and generate the alarm
RTT Periodic Interrupt | This example shows how to use the RTT to generate periodic interrupts
Systick Periodic Interrupt | This example shows how to use the SysTick to generate periodic interrupts
TC Capture Mode | This example 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 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 shows how to use the TC module in timer mode to generate periodic interrupt
TCM Cache Coherency | This example shows how to maintain cache coherency by allocating the DMA buffers in the Tightly Coupled Memory (TCM), which are not cacheable
TRNG Random Number | This example shows how to use the TRNG Peripheral library to generate and read a random number
XDMAC Memory Transfer | This 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