The basic setup for these examples start with having the power supply attached through an ammeter to the VDD and VSS pins of the PIC microcontroller. In addition, the five pins that connect to the MPLAB® PICkit™ 4 In-Circuit Debugger were also connected. To monitor the behavior of the CPREQ, CPT, and CPRDY bits, Basic Indicator Code was included in the code and probes were used to determine when each of the bits went high or low. Figure 1-1 shows the hardware setup.Figure 1-1. Circuit Diagram/Setup
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.