1 MPLAB® Harmony 3 Peripheral Library Application Examples for PIC32AK-GC family
The following applications are provided to demonstrate the typical or interesting usage models of one or more peripheral libraries.
Name | Description |
---|---|
ADC Interrupt |
This example application shows how to sample an analog input using the ADC peripheral and displays the converted samples on a serial terminal in interrupt mode |
ADC Polling |
This example application shows how to sample an analog input using the ADC peripheral and displays the converted samples on a serial terminal in polled mode |
CCP Capture Mode | This example shows how to use the CCP module in capture mode to measure pulse width of an input signal. |
CCP Compare Mode | This example shows how to use the CCP module in compare mode to generate an dual edge, active high, and toggle output on compare match. |
CCP Timer Mode | This example demonstrates how to use the CCP module in timer mode to generate periodic interrupt. |
CLC Manchester Encoder | This example application shows how to use the CLC peripheral library and generate a Manchester-encoded output. |
CMP DAC Sine Wave |
This code example demonstrates how to generate a 100 Hz sine wave without CPU intervention using the DMA, DAC and TMR peripherals |
CRC-32 Generation | This example application demonstrates how to use the CRC peripheral to compute 32-bit Cyclic Redundancy Checksum (CRC). |
DMA Memory Transfer | This example application demonstrates how to use the DMA peripheral to do a memory to memory transfer |
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 |
PTG Interrupt | This example demonstrates how to use PTG to execute different step commands |
PWM Generators Synchronous Output | This example application demonstrates how to Synchronize multiple PWM Generators buffer update to get synchronous output |
SENT Receiver | This example demonstrates how to use SENT peripheral as a Receiver |
SENT Transmitter | This example demonstrates how to use SENT peripheral as a Transmitter |
SPI EEPROM Read Write | This example application demonstrates how to use the SPI peripheral to write and read from the SPI serial EEPROM memory |
SPI Flash Write Read | This example shows how to use the SPI Peripheral library to perform erase, write and read operation with the SPI Serial Flash memory. |
SPI Host Read Write 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/client/spi_write_read |
SPI Client Read Write | This example application demonstrates how to use the SPI peripheral in client mode |
Timer Interrupt | This example application demonstrates how to use timer peripheral in interrupt mode to generate periodic interrupts |
UART Echo Blocking | This example application demonstrates how to use the UART peripheral to transfer a block of data in a blocking manner |
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 is a WDT test application designed to demonstrate the communication timeout feature of the WDT application |