1 Harmony 3 Peripheral Library Application Examples for PIC32MZ EF Family

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

NameDescription
ADCHS DMAThis example application shows how to sample an analog input using the ADCHS peripheral and displays the converted samples on a serial terminal.
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
Cache Maintenance OperationsThis example demonstrates the cache maintenance operation by cleaning and invalidating the cache for the DMA buffers located in the cacheable SRAM region
CAN BlockingThis example application shows how to use the CAN module to transmit and receive normal CAN messages in polling mode
CAN InterruptThis example application shows how to use the CAN module to transmit and receive normal CAN messages in interrupt mode
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
CMP Configurable ReferenceThis example application shows how to use the CMP Peripheral library to compare voltage level on the negative input with the internal configurable reference voltage
CORETIMER Periodic InterruptThis example application shows how to use the CoreTimer to generate periodic interrupts
DMAC CRC-32 GenerationThis example application demonstrates how to use the DMAC peripheral to compute 32-bit Cyclic Redundancy Checksum (CRC)
DMAC Memory TransferThis example application demonstrates how to use the DMAC peripheral to do a memory to memory transfer
DMAC USART EchoThis example application demonstrates USART transfer with DMA to receive 10 bytes and echo back the received bytes
DMAC USART Echo Using Pattern MatchingThis example application demonstrates USART echo using DMA pattern matching feature
DMT TimeoutThis example application shows how the deadman timer resets by not clearing the deadman timer counter on switch press
EBI SRAM Read WriteThis example application demonstrates how to use the EBI peripheral to write and read from the SRAM
GPIO InterruptThis example application demonstrate how to generate GPIO interrupt on switch press and release, and indicate the switch status using the LED
GPIO PollingThis example application demonstrate how to poll the switch input, and indicate the switch status using the LED
ICAP Capture ModeThis example application shows how to use the ICAP peripheral to measure the pulse width of the input signal
Low Power ModesThis example application demonstrates how to use different low power modes of the device
NVM Flash Read WriteThis example application demonstrates how to use the NVM to erase and program the internal Flash memory
OCMP Compare ModeThis example application shows how to use the OCMP peripheral to generate an active low, active high, and toggle output on compare match
RNG Random NumberThis example application shows how to use the RNG Peripheral library to generate a pseudo-random number
RTCC Alarm InterruptThis example application shows how to use the RTCC to configure the time and generate the alarm
SPI BlockingThis example application demonstrates how to use the SPI peripheral to transmit and receive a block of data in a blocking manner
SPI InterruptThis example application demonstrates how to use the SPI peripheral to transmit and receive a block of data using interrupt
SPI Ping Pong with DMAThis example demonstrates how to continuously transmit and receive data over a SPI interface using contiguous ping pong buffers with DMA
SPI Ping Pong with DMA ChainingThis example demonstrates how to continuously transmit and receive data over a SPI interface using ping pong buffers with DMA in chain mode
SQI Flash Read WriteThis example application demonstrates how to use the SQI Peripheral library to perform erase, write and read operation with the SQI Serial Flash memory
TMR Periodic InterruptThis example demonstrates how to use the TMR module in timer mode to generate periodic interrupt
TMR1 Periodic InterruptThis example demonstrates how to use the TMR1 module in timer mode to generate periodic interrupt
UART Echo BlockingThis example application demonstrates how to use the UART peripheral to transfer a block of data in a blocking manner
UART Echo InterruptThis example application demonstrates how to use the UART peripheral to transfer a block of data in a non-blocking manner
UART Ring BufferThis example application demonstrates how to use the UART peripheral in ring buffer mode
WDT TimeoutThis example application shows how the watchdog timer resets by not feeding the watchdog on switch press