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.
Name | Description |
---|---|
ACC Interrupt | This example application shows how to use an analog comparator controller (ACC) generate an interrupt on a compare event |
ADC Polling | This example demonstrates how to sample an analog input in polled mode and send the converted data to console |
ADC User Sequence | This 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 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 |
DWDT Timeout | This example application shows how to generate a Dual Watchdog timer reset by simulating a deadlock |
FLEXCOM SPI EEPROM Read Write | This example application shows how to use the FLEXCOM module in SPI mode |
FLEXCOM TWI (I2C) EEPROM | This example application shows how to use the FLEXCOM module in TWI mode |
FLEXCOM USART Ring Buffer | This example application demonstrates how to use the FLEXCOM peripheral in USART ring buffer mode |
MEM2MEM Memory Transfer | This application demonstrates data transfer between two memory location using MEM2MEM |
PIO Interrupt | This example shows how to generate GPIO interrupt on switch press and release, and indicate the switch status using the LED |
PIO Polling | This example shows how to poll the switch input, and indicate the switch status using the LED |
PWM Generation | This example shows how to use the PWM peripheral to generate PWM signals with dead time |
QSPI Flash Read Write | This 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 Interrupt | This 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 Interrupt | This example shows how to use the RTC to configure the time and generate the alarm |
RTT Periodic Interrupt | This example shows how to use the RTT to generate periodic interrupts |
SEFC Read Write | This example shows how to use SEFC to erase and program the internal Flash memory |
SUPC Wakeup Using RTC | This example shows how to enter different low power modes and exit it using the RTC alarm |
SUPC Wakeup Using RTT | This example shows how to enter different low power modes and exit it using the RTT alarm |
Systick Periodic Interrupt | This example shows how to use the SysTick to generate periodic interrupts |
TC Capture Mode | This example shows how to use the TC module in capture mode to measure duty cycle and frequency of an external input |
TC Compare Mode | This 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 Mode | This example shows how to use the TC module in timer mode to generate periodic interrupt |
TRNG Random Number | This example application shows how to use the TRNG Peripheral library to generate and read a random number |
UART Ring Buffer | This example application shows how to use UART peripheral in ring buffer mode |