Skip to content

Microchip-MPLAB-Harmony/csp_apps_sam_a7g5

Repository files navigation


title: Harmony 3 peripheral library application examples for SAMA7G5 family nav_order: 1 has_children: true has_toc: false

MCHP

Harmony 3 peripheral library application examples for SAMA7G5 family

MPLAB® Harmony 3 is an extension of the MPLAB® ecosystem for creating embedded firmware solutions for Microchip 32-bit SAM and PIC® microcontroller and microprocessor devices. Refer to the following links for more information.

This repository contains the MPLAB® Harmony 3 peripheral library application examples for SAMA7G5 family

To clone or download these applications from Github, go to the main page of this repository and then click Clone button to clone this repository or download as zip file. This content can also be downloaded using content manager by following these instructions.

Contents Summary

Folder Description
apps Contains peripheral library example applications
docs Contains documentation in html format for offline viewing (to be used only after cloning this repository onto a local machine). Use github pages of this repository for viewing it online.

Code Examples

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

Name Description
ACC interrupt This example application shows how to use an analog comparator controller (ACC) generate an interrupt on a compare event.
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 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 external trigger mode (TC peripheral) and send the converted data to the console
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
DWDT timeout This example application shows how to generate a Dual Watchdog timer reset by simulating a deadlock
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 interrupt This example application shows how to use the flexcom module in USART mode
FLEXCOM USART flow control This example application shows how to use the flexcom module in USART flow control mode
FLEXCOM USART ring buffer This example application shows how to use the FLEXCOM peripheral in USART ring buffer mode
Generic Timer periodic interrupt This application shows how to use Generic timer counter in interrupt 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
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
PIT64B periodic interrupt This application shows how to use PIT64B counter in interrupt mode
PWM Generation This example shows how to use the PWM peripheral to generate 3-phase PWM signals with dead time
Octal SPI flash read write using OctaFlash protocol This example application shows how to use the QSPI Peripheral library to perform erase, write and read operation with the Octal SPI Flash memory using OctaFlash protocol
QSPI flash read write in SPI mode This example shows how to use the QSPI Peripheral library to perform erase, write and read operation with the Octal SPI Flash memory in SPI mode
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
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
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

License Latest release Latest release date Commit activity Contributors


Follow us on Youtube Follow us on LinkedIn Follow us on Facebook Follow us on Twitter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages