5.1 Example Demonstrations Available in MPLAB Harmony v3
The apps folder in the csp_apps_pic32/sam
and
core_apps_pic32/sam
repositories contains example applications for
peripherals. The apps
folder is organized by the peripheral. Each
peripheral has a folder associated with it, and all examples for the peripheral are
available within the folder. Each peripheral may have multiple example projects to
explore.
The PLIB-based example projects are available in the csp_apps_pic32/sam
repository. The following path describes the location of the PLIB example projects.
RTC example: csp_apps_pic32cm_le_ls > apps > rtc > rtc_periodic_timeout > firmware > pic32cm_le00_curiosity_pro.X for the appropriate board.
SPI example: csp_apps_sam_d21_da1 > apps > sercom>spi > master > spi_eeprom_write_read > firmware for the appropriate board.
The DRIVE-based example projects are available in the
core_apps_pic32/sam
repository. Specific example projects for
async
and sync
driver types are also available.
The following path describes the location of the DRIVER example projects.
I2C example: core_apps_sam_d21_da1 > apps > driver > i2c > async > i2c_eeprom > firmware for the appropriate board.
USART example: core_apps_sam_e70 > core_apps_sam_e70_s70_v70_v71 > apps > driver > usart > sync > usart_echo > firmware for the appropriate board.