Audio-Tone Generation Using a Lookup Table With MPLAB® Harmony v3: Step 3
Last modified by Microchip on 2023/11/09 09:07
Verify Configuration Bits are Correct
Click on the System block in the Project Graph window to view the System Device & Project Configuration options.
Expand the Device & Project Configuration and PIC32MZ2048EFH144 Device Configuration selection tree to view the PIC32 core configuration selections. The BSP you selected has properly configured these selections for you. This step shows you how to make changes to these selections if needed.
- DEVCFG3 and DEVCFG2: No change required.
- DEVCFG1: Verify Watchdog Timer Enable (FWDTEN) is OFF.
- DEVCFG0: Verify Debugger Communication Channel (ICESEL) is set to ICS_PGx2.
Also, be sure to set the Use Cache Maintenance block under MIPS Configuration > CACHE.
In the same system configuration window, expand the DMA (DMAC) tree options. Enable Channel 0 (for SPI1_TX) and Channel 1 (for SPI_RX).