Skip to content

Microchip-MPLAB-Harmony/csp_apps_pic32cxbz2_wbz45

Repository files navigation


title: Harmony 3 peripheral library application examples for PIC32CX-BZ2 and WBZ451 family nav_order: 1 has_children: true has_toc: false

MCHP

Harmony 3 peripheral library application examples for PIC32CX-BZ2 and WBZ451 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 PIC32CX-BZ2 and WBZ451 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
AC Sleepwalking This example application shows how to use the AC Peripheral library to perform a single shot comparison in standby sleep mode periodically and wake up the device at the end of a successful comparison
ADCHS Interrupt This example application shows how to sample an analog input using the ADCHS peripheral and displays the converted samples on a serial terminal
ADCHS polling This example application shows how to sample an analog input using the ADCHS peripheral and displays the converted samples on a serial terminal
CCL Manchester Encoder This example application shows how to use the CCL peripheral library and generate a Manchester-encoded output
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
DMAC USART echo This example application demonstrates USART transfer with DMA to receive 10 bytes and echo back the received bytes
DMT timeout This example application shows how the deadman timer resets by not clearing the deadman timer counter on switch press
DSU compute CRC32 This example application demonstrates how to use the DSU Peripheral library to compute 32-bit Cyclic Redundancy Checksum (CRC)
EIC Interrupt This example application demonstrates how to generate interrupt using the EIC on switch press and indicate it through an LED
EVSYS trigger This example application demonstrates how to use the EVSYS Peripheral library to setup autonomous, low-latency and configurable communication between peripherals
FREQM measurement This example application demonstrates how to use the FREQM peripheral to measure the frequency of the internal RC Oscillator
GPIO Polling This example application demonstrate how to poll the switch input, and indicate the switch status using the LED
NVM flash read write This example application demonstrates how to use the NVM to erase and program the internal Flash memory
QSPI flash read write This example 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
RTC alarm interrupt This example shows how to use the RTC to configure the time and generate the alarm
SERCOM I2C EEPROM read write This example application demonstrates how to use the SERCOM peripheral to write and read from the I2C serial EEPROM memory
SERCOM I2C EEPROM emulation This example application demonstrates how to use the SERCOM peripheral in slave mode
SERCOM SPI EEPROM read write This example application demonstrates how to use the SERCOM SPI peripheral to write and read from the SPI serial EEPROM memory
SERCOM USART ring buffer This example application demonstrates how to use the SERCOM peripheral in USART ring buffer mode to transfer data in a non-blocking manner
Systick periodic interrupt This example shows how to use the SysTick to generate periodic interrupts
TC timer mode This example shows how to use the TC module in timer mode to generate periodic interrupt
WDT timeout This example application shows how the watchdog timer resets by not feeding the watchdog on switch press

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

  •  
  •  
  •  
  •