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.
Name | Description |
---|---|
ADC DMA mode | This 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 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 software trigger mode and send the converted data to the console |
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 |
DACC Waveform Generation | This 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 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 |
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 |
WDT Timeout | This example shows how to generate a Watchdog timer reset by emulating a deadlock |
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 |