Jump to main content

##

# 1 Harmony 3 Peripheral Library Application Examples for PIC32MZ W1 Family

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

Name | Description
--- | ---
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
CAN Blocking | This example application shows how to use the CAN module to transmit and receive normal CAN messages in polling mode
CAN FD Blocking | This example application shows how to use the CAN module to transmit and receive CAN FD messages in polling mode
CAN Interrupt | This example application shows how to use the CAN module to transmit and receive normal CAN messages in interrupt mode
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
CORETIMER Periodic Interrupt | This example application shows how to use the CoreTimer to generate periodic interrupts
DMAC Memory Transfer | This example application demonstrates how to use the DMAC peripheral to do a memory to memory transfer
DMT Timeout | This example application shows how the deadman timer resets by not clearing the deadman timer counter on switch press
GPIO Interrupt | This example application demonstrate how to generate GPIO interrupt on switch press and release, and indicate the switch status using the LED
I2C EEPROM Emulation (I2C Client) | This example application demonstrates how to use the I2C peripheral in client mode
I2C EEPROM Read Write | This example application demonstrates how to use the I2C peripheral to write and read from the I2C serial EEPROM memory
ICAP Capture Mode | This example application shows how to use the ICAP peripheral to measure the pulse width of the input signal
Low Power Modes | This example application demonstrates how to use different low power modes of the device
NVM Flash Read Write | This example application demonstrates how to use the NVM to erase and program the internal Flash memory
OCMP Compare Mode | This example application shows how to use the OCMP peripheral to generate an active low, active high, and toggle output on compare match
RNG Random Number | This example application shows how to use the RNG Peripheral library to generate a pseudo-random number
RTCC Alarm Interrupt | This example application shows how to use the RTCC to configure the time and generate the alarm
SPI Client Write Read | This example application demonstrates how to use the SPI peripheral in client mode
SPI SST26 Flash Write Read | This example demonstrates read and writing to SPI based SST26 flash
SPI Write Read 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
TMR Periodic Interrupt | This example demonstrates how to use the TMR module in timer mode to generate periodic interrupt
TMR1 Periodic Interrupt | This example demonstrates how to use the TMR1 module in timer mode to generate periodic interrupt
UART Echo Interrupt | This example application demonstrates how to use the UART peripheral to transfer a block of data in a non-blocking manner
UART Ring Buffer | This example application demonstrates how to use the UART peripheral in ring buffer mode
WDT Timeout | This example application shows how the watchdog timer resets by not feeding the watchdog on switch press