1 Star 1 Fork 0

Microchip_MPLAB_Harmony / csp_apps_sam_a5d2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Harmony 3 Peripheral Library Application Examples for SAMA5D2 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
SAMA5D2 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
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
software trigger mode and send the converted data to the
console
Cache Maintenance This example application shows
how to do 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 SPI master Read Write Test Application This is a FLEXCOM SPI Host test
application which is provided to demonstrate communication between
SPI host and the corresponding SPI client application available
under -
apps/flexcom/spi/slave/flexcom_spi_write_read/firmware
FLEXCOM SPI Slave Read Write This example application
demonstrates how to use the FLEXCOM SPI peripheral in client
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 Flow Control This example application shows
how to use the FLEXCOM module in USART flow control mode
FLEXCOM USART Interrupt This example application shows
how to use the FLEXCOM module in USART mode
FLEXCOM USART Ring Buffer This example application shows
how to use the FLEXCOM peripheral in USART ring buffer mode
Low Power Modes This example application shows
how to enter low power modes of SAMA5D29 MPU
MCAN FD Interrupt This example application shows
how to use the MCAN module to transmit and receive CAN FD messages
in interrupt mode
MCAN FD Blocking This example application shows
how to use the MCAN module to transmit and receive CAN messages in
polling mode
MCAN Interrupt This example application shows
how to use the MCAN module to transmit and receive CAN messages in
interrupt mode
PIO Interrupt This example application shows
how to generate GPIO interrupt on switch press and release, and
indicate the switch status using the LED
PIO Polling This example application shows
how to poll the switch input, and indicate the switch status using
the LED
PIT Period Change This example application shows
how PIT period can be changed during run time
PIT Periodic Interrupt This example application shows
how to use PIT counter in interrupt mode
PIT Polling This example application shows
how to use PIT counter in polling mode
PIT Start Stop This example application shows
how PIT can be started and stopped at run time
PWM Synchronous Channels This example application shows
how to use the PWM peripheral to generate 3-phase PWM signals with
dead time
QSPI Flash Read Write This example application shows
how to use the QSPI Peripheral library to perform erase, write and
read operation with the QSPI Serial Flash memory in Quad IO
mode
RSTC Interrupt This 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 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
SPI Ping Pong with DMA This example application shows
how to continuously transmit and receive data over a SPI interface
using ping pong buffers with the DMA
SPI Blocking This example application shows
how to use the SPI peripheral to transmit and receive a block of
data in a blocking manner
SPI Interrupt This example application shows
how to use the SPI peripheral to transmit and receive a block of
data using interrupts
SPI Master Read Write Test Application This is a SPI Host test
application which is provided to demonstrate communication between
SPI host and the corresponding SPI client application available
under - apps/spi/slave/spi_write_read/firmware
SPI Slave Read Write This example application
demonstrates how to use the SPI peripheral in client mode
SPI Self Loopback DMA This example application shows
how to use the SPI peripheral with DMA to transmit and receive a
block of data
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
TWIHS EEPROM Emulation This example application
demonstrates how to use the TWIHS peripheral in client mode
TWIHS EEPROM Read Write This example application shows
how to use the TWIHS peripheral to write and read from the I2C
serial EEPROM memory
TWIHS MASTER read write This example application
demonstrates how to use the TWIHS peripheral in Master mode
UART Echo Blocking This example application shows
how to use the UART peripheral to transfer a block of data in a
blocking manner
UART Echo Interrupt This example application shows
how to use the UART peripheral to transfer a block of data in a
non-blocking manner
USART Ring Buffer This example application shows
how to use USART peripheral in ring buffer mode
WDT Timeout This example application shows
how to generate a Watchdog timer reset by emulating a
deadlock
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

空文件

简介

Harmony 3 peripheral library application examples for SAMA5D2 family 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/Microchip-MPLAB-Harmony/csp_apps_sam_a5d2.git
git@gitee.com:Microchip-MPLAB-Harmony/csp_apps_sam_a5d2.git
Microchip-MPLAB-Harmony
csp_apps_sam_a5d2
csp_apps_sam_a5d2
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891