2.1 Connections Required for ICSP
| Pin Name | Pin Type | Description |
|---|---|---|
| VDD/AVDD | Power | Power supply. Must be in 3.0V-3.6V range, and all power pins must be connected. 0.1 μF bypass capacitors should be connected to these pins. |
| VSS/AVSS | Power | Ground. All ground pins must be connected. |
| LX | Buck converter | 10 μH inductor must be connected between Lx and VDDCORE pins. |
| VDDCORE | Buck converter | 10 μF capacitor should be connected between VDDCORE pin and ground, 10 μH inductor must be connected between LX and VDDCORE pins. |
| MCLR | Input | Target device Reset/programming enable. |
| PGECx | Input | ICSP™ programming clock, where ‘x’ is the programming pair number. |
| PGEDx | Input/Output | ICSP™ programming data, where ‘x’ is the programming pair number. |
CMOS logic thresholds apply to MCLR and the PGECx/PGEDx signals as specified in Table 2-2.
| Parameter | Min. | Max. | Description |
|---|---|---|---|
| VIL | VSS | 0.2 * VDD | Input low-level voltage |
| VIH | 0.8 * VDD | VDD | Input high-level voltage |
For all ICSP operations clocking data into the target device, the PGEDx Output state must be valid and stable before the PGECx clock rising edges. All PGEDx data must be presented with the Least Significant bit (LSb) first.
Figure 2-2, Figure 2-3 and Table 2-3 specify the timing for the ICSP interface signals.
| Parameter | Min. | Max. | Description |
|---|---|---|---|
| TDsetup | 20 nS | — | Minimum PGEDx data setup time before PGECx rising edge. |
| TDhold | 1 nS | — | Minimum PGEDx data hold time after PGECx rising edge. |
| TCperiod | 60 nS | — | Minimum PGECx clock period. |
| TClow or TChigh | 20 nS | — | Minimum PGECx clock low or high pulse width. |
| TDdelay | — | 20 nS | Maximum data update delay after PGECx falling edge. |
Figure 2-4 through Figure 2-9 provide the pin diagrams for the different packages of the dsPIC33AK512MC510 and dsPIC33AK512MPS512 devices. The detailed pin descriptions can be found in the device data sheet.
