1 Harmony 3 Peripheral Library Application Examples for PIC32WM-BW1 Family
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 Analog Comparator (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 display the converted samples on a serial terminal |
ADCHS Polling | This example application shows how to sample an analog input using the ADCHS peripheral and display the converted samples on a serial terminal |
CCL Manchester Encoder | This example application shows how to use the Configurable Custom Logic (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 outputs a prescaled clock signal on a GPIO pin for measurement and verification |
DMAC USART Echo | This example application demonstrates Universal Synchronous/Asynchronous Receiver/Transmitter (USART) transfer with Direct Memory Access (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 Device Service Unit (DSU) peripheral library to compute 32-bit Cyclic Redundancy Checksum (CRC) |
EIC Interrupt | This example application demonstrates how to generate interrupt using the External Interrupt Controller (EIC) on switch press and indicate it through an LED |
EVSYS Trigger | This example application demonstrates how to use the Event System (EVSYS) peripheral library to setup autonomous, low-latency and configurable communication between peripherals |
FREQM Measurement | This example application demonstrates how to use the Frequency Meter (FREQM) peripheral to measure the frequency of the internal RC Oscillator |
GPIO Polling | This example application demonstrates 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 Nonvolatile Memory (NVM) to erase and program the internal Flash memory |
RTC Alarm Interrupt | This example shows how to use the Real-Time Clock (RTC) to configure the time and generate the alarm |
SERCOM I2C EEPROM Emulation | This example application demonstrates how to use the Serial Communication (SERCOM) peripheral in client mode |
SERCOM I2C EEPROM Read Write | This example application demonstrates how to use the SERCOM peripheral to write and read from the Inter-Integrated Circuit (I2C) serial EEPROM memory |
SERCOM SPI EEPROM Read Write | This example application demonstrates how to use the SERCOM Serial Peripheral Interface (SPI) 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 Timer/Counter (TC) module in timer mode to generate periodic interrupt |
WDT Timeout | This example application shows how the Watchdog Timer (WDT) resets by not feeding the watchdog on switch press |