1 Harmony 3 Peripheral Library Application Examples for PIC32CX MT Family

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

NameDescription
ACC InterruptThis example application shows how to use an analog comparator controller (ACC) generate an interrupt on a compare event
ADC PollingThis example demonstrates how to sample an analog input in polled mode and send the converted data to console
ADC User SequenceThis example demonstrates how to sample two analog inputs using the user sequencer in software trigger mode and send the converted data to the console
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
DWDT TimeoutThis example application shows how to generate a Dual Watchdog timer reset by simulating a deadlock
FLEXCOM SPI EEPROM Read WriteThis example application shows how to use the FLEXCOM module in SPI mode
FLEXCOM TWI (I2C) EEPROMThis example application shows how to use the FLEXCOM module in TWI mode
FLEXCOM USART Ring BufferThis example application demonstrates how to use the FLEXCOM peripheral in USART ring buffer mode
MEM2MEM Memory TransferThis application demonstrates data transfer between two memory location using MEM2MEM
PIO InterruptThis example shows how to generate GPIO interrupt on switch press and release, and indicate the switch status using the LED
PIO PollingThis example shows how to poll the switch input, and indicate the switch status using the LED
PWM GenerationThis example shows how to use the PWM peripheral to generate PWM signals with dead time
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
RSTC InterruptThis example shows how to use the RSTC peripheral to generate an interrupt instead of generating a reset, when the Reset switch is pressed on board
RTC Alarm InterruptThis example shows how to use the RTC to configure the time and generate the alarm
RTT Periodic InterruptThis example shows how to use the RTT to generate periodic interrupts
SEFC Read WriteThis example shows how to use SEFC to erase and program the internal Flash memory
SUPC Wakeup Using RTCThis example shows how to enter different low power modes and exit it using the RTC alarm
SUPC Wakeup Using RTTThis example shows how to enter different low power modes and exit it using the RTT alarm
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
TRNG Random NumberThis example application shows how to use the TRNG Peripheral library to generate and read a random number
UART Ring BufferThis example application shows how to use UART peripheral in ring buffer mode