1 Harmony 3 Peripheral Library Application Examples for PIC32CX-BZ6 and WBZ653 Family

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

NameDescription
AC SleepwalkingThis 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 InterruptThis example application shows how to sample an analog input using the ADCHS peripheral and displays the converted samples on a serial terminal.
ADCHS PollingThis example application shows how to sample an analog input using the ADCHS peripheral and displays the converted samples on a serial terminal.
CAN FD BlockingThis example application shows how to use the CAN module to transmit and receive CAN FD messages in polling mode.
CAN FD InterruptThis example application shows how to use the CAN module to transmit and receive CAN FD messages in interrupt mode.
CCL Manchester EncoderThis example application shows how to use the CCL peripheral library and generate a Manchester-encoded output.
Clock ConfigurationThis 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 EchoThis example application demonstrates USART transfer with DMA to receive 10 bytes and echo back the received bytes.
DMT TimeoutThis example application shows how the deadman timer resets by not clearing the deadman timer counter on switch press.
DSU Compute CRC32This example application demonstrates how to use the DSU Peripheral library to compute 32-bit Cyclic Redundancy Checksum (CRC).
EIC InterruptThis example application demonstrates how to generate interrupt using the EIC on switch press and indicate it through an LED.
EVSYS TriggerThis example application demonstrates how to use the EVSYS Peripheral library to setup autonomous, low-latency and configurable communication between peripherals.
GPIO PollingThis example application demonstrate how to poll the switch input, and indicate the switch status using the LED.
NVM Flash Read WriteThis example application demonstrates how to use the NVM to erase and program the internal Flash memory.
QSPI Flash Read WriteThis 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 InterruptThis example shows how to use the RTC to configure the time and generate the alarm.
SERCOM I2C EEPROM Read WriteThis example application demonstrates how to use the SERCOM peripheral to write and read from the I2C serial EEPROM memory.
SERCOM SPI EEPROM Read WriteThis example application demonstrates how to use the SERCOM SPI peripheral to write and read from the SPI serial EEPROM memory.
SERCOM USART Ring BufferThis example application demonstrates how to use the SERCOM peripheral in USART ring buffer mode to transfer data in a non-blocking manner.
Systick Periodic InterruptThis example shows how to use the SysTick to generate periodic interrupts.
TC Capture ModeThis example shows how to use the TC module in capture mode to measure duty cycle and frequency of an external input.
TC Compare ModeThis 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 ModeThis example shows how to use the TC module in timer mode to generate periodic interrupt.
TCC PWM GenerationThis example application shows how to use the TCC to generate a 2 or 3 phase PWM signals for motor control with dead time.
WDT TimeoutThis example application shows how the watchdog timer resets by not feeding the watchdog on switch press.