Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
chipkit_dp32:refmanual [2015/03/18 22:50] – [3.2 Microchip MPLAB® IDE Development Tool Campatibility] brandon marcumchipkit_dp32:refmanual [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== chipKIT DP32 Reference Manual ====== ====== chipKIT DP32 Reference Manual ======
-{{ :chipkit_dp32:16644512122_738ce801ea_z.jpg?nolink |}}+{{:chipkit_dp32:16025616573_29ae205bbe_z.jpg?500|}}
 ---- ----
 ==== Revision History ==== ==== Revision History ====
 +Revised March, 2015\\
 This manual primarily applies to Rev C, as found on the underside of the board next to the white bar-coded box. Rev C is a major change from Rev B, so differences will be noted where appropriate. This manual primarily applies to Rev C, as found on the underside of the board next to the white bar-coded box. Rev C is a major change from Rev B, so differences will be noted where appropriate.
  
Line 8: Line 9:
  
 ---- ----
-===== Overview ===== +====== Overview ======
-The chipKIT DP32 is a chipKIT/MPIDE compatible prototyping and project development board from Digilent. It combines the power of the Microchip® PIC32MX250F128B 28-pin DIP with a wire wrap prototyping area, provision for an EEPROM non-volatile memory, and analog temperature sensor, a potentiometer, buttons and LEDs in a single board. The mounting hole footprint on the board is designed to fit in the Hammond 1591XXSSBK project box.+
  
-The DP32 takes advantage of the powerful PIC32MX250F128B microcontroller. This microcontroller features a 32-bit MIPS processor core running at 40Mhz, 128K of flash program memory and 32K of SRAM data memory. It is suitable for building projects directly on the board utilizing the provided prototyping area, but it can also be used as a device programmer to program the microcontrollers for inclusion in custom built projects. +The chipKIT DP32 is an MPIDE compatible prototyping and project development board from Digilent. It combines the power of the Microchip® PIC32MX250F128B 28-pin DIP with a wire wrap prototyping area, provision for an EEPROM non-volatile memory, and analog temperature sensor, a potentiometer, buttons and LEDs in a single board. The mounting hole footprint on the board is designed to fit in the Hammond 1591XXSSBK project box.
  
-The DP32 can be programmed using the Multi-Platform Integrated Development Environment, MPIDE, an environment based on the open source Arduino IDE modified to support the PIC32 microcontroller. The board provides everything needed to start developing embedded applications using the MPIDE.+The DP32 takes advantage of the powerful PIC32MX250F128B microcontroller. This microcontroller features a 32-bit MIPS processor core running at 40 MHz, 128K of flash program memory and 32K of SRAM data memory. It is suitable for building projects directly on the board utilizing the provided prototyping area, but it can also be used as a device programmer to program the microcontrollers for inclusion in custom built projects. 
  
-The DP32 is also fully compatible with the advanced Microchip MPLABX® IDE. To develop embedded applications using MPLABX, a separate device programmer/debugger, such as the Digilent chipKIT PGM or the Microchip PICkit3™ is required.+The DP32 can be programmed using the Multi-Platform Integrated Development Environment, MPIDE, an environment based on the open source Arduino(tm) IDE modified to support the PIC32 microcontroller. The board provides everything needed to start developing embedded applications using the MPIDE. 
 + 
 +The DP32 is also fully compatible with the advanced Microchip(r) MPLAB X® IDE. To develop embedded applications using MPLAB X, a separate device programmer/debugger, such as the Digilent chipKIT PGM or the Microchip PICkit3™ is required.
  
 Features Include: Features Include:
-  * Microchip® PIC32MX250F128B 28-pin DIP  microcontroller (40/50 MHz 32-bit MIPS, 128K Flash, 32K SRAM) +  * Microchip PIC32MX250F128B 28-pin DIP  microcontroller (40/50 MHz 32-bit MIPS, 128K Flash, 32K SRAM) 
   * 5 – 12 Volt recommended operating voltage   * 5 – 12 Volt recommended operating voltage
   * 19 available I/O pins   * 19 available I/O pins
Line 30: Line 32:
  
 ---- ----
-===== 1 Functional Description =====+ 
 +====== 1 Functional Description ====== 
 The PIC32MX250F12B microcontroller features a 32-bit MIPS processor core capable of running at up to 50 MHz. The DP32 operates the microcontroller at 40Mhz by default.The microcontroller features 128 KB of flash program memory and 32 KB of SRAM data memory. Programming the DP32 can be done using the Multi-Platform Integrated Development Environment (MPIDE) or with the advanced Microchip MPLAB® IDE with the addition of a PICKit3 or chipKIT PGM in-system programmer/debugger. The PIC32MX250F12B microcontroller features a 32-bit MIPS processor core capable of running at up to 50 MHz. The DP32 operates the microcontroller at 40Mhz by default.The microcontroller features 128 KB of flash program memory and 32 KB of SRAM data memory. Programming the DP32 can be done using the Multi-Platform Integrated Development Environment (MPIDE) or with the advanced Microchip MPLAB® IDE with the addition of a PICKit3 or chipKIT PGM in-system programmer/debugger.
  
Line 38: Line 42:
  
 Additional features of the board include an 8-pin DIP header labeled IC4 that is mapped for use with a customer supplied Microchip 25LC256 EEPROM. The SPI bus and power signals are mapped to the correct pins so that the user can solder in an 8-pin dip socket or directly solder the IC into the holes. Similarly the IC3 header on the board is mapped for a customer supplied Microchip MCP9701A analog temperature sensor. Additional features of the board include an 8-pin DIP header labeled IC4 that is mapped for use with a customer supplied Microchip 25LC256 EEPROM. The SPI bus and power signals are mapped to the correct pins so that the user can solder in an 8-pin dip socket or directly solder the IC into the holes. Similarly the IC3 header on the board is mapped for a customer supplied Microchip MCP9701A analog temperature sensor.
 +
 ---- ----
-===== 2 chipKIT DP32 Hardware Overview =====+ 
 +====== 2 chipKIT DP32 Hardware Overview ====== 
 {{ :chipkit_dp32:hardware_references.png?nolink |}} {{ :chipkit_dp32:hardware_references.png?nolink |}}
 The DP32 has the following hardware features: The DP32 has the following hardware features:
Line 102: Line 109:
 {{ :chipkit_dp32:proto_area.png?nolink|}} {{ :chipkit_dp32:proto_area.png?nolink|}}
 The prototyping area has 288 through holes, broken into two main sections. One section has 28 3-hole busses. Between the 3-hole busses are two 14-hole busses. There are also a 3V3 bus and GND bus, each with 8 holes. The remaining 160 holes are isolated for mounting whatever will fit using standard solder or wire wrapping methods. The prototyping area has 288 through holes, broken into two main sections. One section has 28 3-hole busses. Between the 3-hole busses are two 14-hole busses. There are also a 3V3 bus and GND bus, each with 8 holes. The remaining 160 holes are isolated for mounting whatever will fit using standard solder or wire wrapping methods.
 +
 ---- ----
-===== 3 Programming the chipKIT DP32 ===== + 
-==== 3.1 MPIDE Development Tool ====+====== 3 Programming the chipKIT DP32 ====== 
 +===== 3.1 MPIDE Development Tool =====
  
 {{ :chipkit_dp32:mpide.png?nolink |}} {{ :chipkit_dp32:mpide.png?nolink |}}
Line 121: Line 130:
 Since the board resets between program mode and sketch mode the serial port will disconnect and then reconnect. The MPIDE serial monitor will not work unless there is a delay of at least 5 seconds in the user sketch before it begins to send data to the computer. To ensure the serial monitor is ready it is recommended that users watch the device manager or similar program for your OS after the reset to watch for the reconnection of the serial port before attempting to open the Serial Monitor in MPIDE. The delay is required for proper operation of the serial port so that the board can disconnect and reconnect to the computer before the DP32 begins sending data out while the OS is not listening. This is a byproduct of the embedded USB controller solution on the DP32. Since the board resets between program mode and sketch mode the serial port will disconnect and then reconnect. The MPIDE serial monitor will not work unless there is a delay of at least 5 seconds in the user sketch before it begins to send data to the computer. To ensure the serial monitor is ready it is recommended that users watch the device manager or similar program for your OS after the reset to watch for the reconnection of the serial port before attempting to open the Serial Monitor in MPIDE. The delay is required for proper operation of the serial port so that the board can disconnect and reconnect to the computer before the DP32 begins sending data out while the OS is not listening. This is a byproduct of the embedded USB controller solution on the DP32.
  
-==== 3.2 Microchip MPLAB® IDE Development Tool Campatibility ====+ 
 +===== 3.2 Microchip MPLAB IDE Development Tool Campatibility =====
  
 {{ :chipkit_dp32:mplabx.png?nolink |}} {{ :chipkit_dp32:mplabx.png?nolink |}}
Line 131: Line 141:
 The Microchip MPLAB® IDE or the MPLAB® X IDE can be used to program and debug code running on the DP32 board. These tools can be downloaded from the Microchip website. The Microchip MPLAB® IDE or the MPLAB® X IDE can be used to program and debug code running on the DP32 board. These tools can be downloaded from the Microchip website.
  
-==== 3.3 Reloading the MPIDE Boot Loader ==== +===== 3.3 Reloading the MPIDE Boot Loader ===== 
-Using the Microchip development tools to program the DP32 board will cause the boot loader to be erased. To use the board with the MPIDE again, it is necessary to program the boot loader back onto the board. The boot loader image can be downloaded [[http://digilentinc.com/Data/Products/CHIPKIT-DP32/chipKIT_Bootloader_DP32.zip|here]] from the DP32 product page on the Digilent website. To reload the boot loader, you will need to have MPLAB X and either a PICkit or chipKIT PGM programmer, and then perform the following steps. + 
-  - Open MPLABX. On the top task bar, click on "File", highlight "Import", and click on "HEX/ELF Prebuilt File"{{ :chipkit_dp32:bl_import_1.png?nolink |}}+Using the Microchip development tools to program the DP32 board will cause the boot loader to be erased. To use the board with the MPIDE again, it is necessary to program the boot loader back onto the board. The boot loader image can be downloaded {{:chipkit_dp32:chipkit_bootloader_dp32.zip|here}} from the DP32 product page on the Digilent website. To reload the boot loader, you will need to have MPLAB X and a licensed Microchip debugger/programmer, such as a PICkit®3 or chipKIT PGM programmer, and then perform the following steps. 
 +  - Open MPLAB X. On the top task bar, click on "File", highlight "Import", and click on "HEX/ELF Prebuilt File"{{ :chipkit_dp32:bl_import_1.png?nolink |}}
   - Click on "Browse" and search for the chipKIT-DP32.HEX file you downloaded from the webpage. (If you have more than one board from the chipKIT family, it may be helpful to store all of your applicable boot loaders in one common file.)   - Click on "Browse" and search for the chipKIT-DP32.HEX file you downloaded from the webpage. (If you have more than one board from the chipKIT family, it may be helpful to store all of your applicable boot loaders in one common file.)
   - Select “32-bit MCUs (PIC32)” in the “Family:” dialog box.   - Select “32-bit MCUs (PIC32)” in the “Family:” dialog box.
   - Select the device ID “PIC32MX250F128B” in the “Device:” dialog box.   - Select the device ID “PIC32MX250F128B” in the “Device:” dialog box.
-  - Make sure you programmer device is connected and selected in the "Hardware Tool" box at the bottom. The chipKIT PGM was used for this example. Click "Next" when the correct options have all been chosen. {{ :chipkit_dp32:bl_project_1.png?nolink |}}+  - Make sure your programmer device is connected and selected in the "Hardware Tool" box at the bottom. The chipKIT PGM was used for this example. Click "Next" when the correct options have all been chosen. {{ :chipkit_dp32:bl_project_1.png?nolink |}}
   - Name the project whatever you wish, then click "Browse" to store it in whichever file you wish. Default names will be auto-populated.   - Name the project whatever you wish, then click "Browse" to store it in whichever file you wish. Default names will be auto-populated.
   - Check the box labeled "Set as main project", then click "Finish"{{ :chipkit_dp32:bl_name.png?nolink |}}   - Check the box labeled "Set as main project", then click "Finish"{{ :chipkit_dp32:bl_name.png?nolink |}}
Line 144: Line 155:
   - Press and hold BTN2/PGM on the DP32, then at the top of the MPLAB window, click on the icon with a green arrow pointing down. A dialog box titled "Licensed Debugger" will open at the bottom of the window and indicate the programming status. Hold BTN2/PGM until it says "Programming/Verify complete". LED1 should blink rapidly, indicating that the boot loader install was successful and it is now in program mode and ready to be programmed with MPIDE.{{ :chipkit_dp32:bl_successful.png?nolink |}}   - Press and hold BTN2/PGM on the DP32, then at the top of the MPLAB window, click on the icon with a green arrow pointing down. A dialog box titled "Licensed Debugger" will open at the bottom of the window and indicate the programming status. Hold BTN2/PGM until it says "Programming/Verify complete". LED1 should blink rapidly, indicating that the boot loader install was successful and it is now in program mode and ready to be programmed with MPIDE.{{ :chipkit_dp32:bl_successful.png?nolink |}}
  
----- + 
-==== 3.3 Programming Additional ICs ====+===== 3.4 Programming Additional ICs ===== 
 A unique feature of the DP32 from the rest of the Digilent line of chipKIT boards is that the PIC32 microcontroller installed on the board is a removable, 28-pin DIP IC. This allows for lots of flexibility in building embedded projects since you can program the IC with the board, remove it, and then embed it into a stand-alone application without the need to purchase an additional board (additional circuitry is required to embed the IC into stand alone projects). Additional ICs can then be acquired through Microchip directly. Simply go to [[https://www.microchipdirect.com/|www.microchipdirect.com]] and search for "MX250F128B". As of this writing, there are two options for the IC in the DIP footprint, one that comes pre-loaded with the chipKIT boot loader and one that does not. A unique feature of the DP32 from the rest of the Digilent line of chipKIT boards is that the PIC32 microcontroller installed on the board is a removable, 28-pin DIP IC. This allows for lots of flexibility in building embedded projects since you can program the IC with the board, remove it, and then embed it into a stand-alone application without the need to purchase an additional board (additional circuitry is required to embed the IC into stand alone projects). Additional ICs can then be acquired through Microchip directly. Simply go to [[https://www.microchipdirect.com/|www.microchipdirect.com]] and search for "MX250F128B". As of this writing, there are two options for the IC in the DIP footprint, one that comes pre-loaded with the chipKIT boot loader and one that does not.
  
 Once you have your new ICs, the original IC can be carefully removed from the socket and the new IC installed on the DP32 board. The new IC can now be programmed with MPLAB tools or MPIDE as described above. If you purchased the IC with the pre-loaded boot loader, you may use either programming environment right away. If you program the IC with MPLAB first, or purchased the IC without the chipKIT boot loader installed, you will need to use MPLAB X to load the boot loader as outlined above if you wish to use MPIDE. Once you have your new ICs, the original IC can be carefully removed from the socket and the new IC installed on the DP32 board. The new IC can now be programmed with MPLAB tools or MPIDE as described above. If you purchased the IC with the pre-loaded boot loader, you may use either programming environment right away. If you program the IC with MPLAB first, or purchased the IC without the chipKIT boot loader installed, you will need to use MPLAB X to load the boot loader as outlined above if you wish to use MPIDE.
 +
 ---- ----
  
-===== 4 chipKIT DP32 Jumper Settings =====+====== 4 chipKIT DP32 Jumper Settings ====== 
 {{ :chipkit_dp32:b_jp1.png?nolink&200|}} {{ :chipkit_dp32:b_jp1.png?nolink&200|}}
 **JP1 USBID Connect (USB OTG)**\\  **JP1 USBID Connect (USB OTG)**\\ 
Line 160: Line 174:
 **JP3 USB Data-**\\  **JP3 USB Data-**\\ 
 For most users, the traces for JP2 and JP3 should be left uncut. Cutting the trace will remove the ability to program the microcontroller from the USB Port. Users may optionally add jumper pins and a shorting block to restore the original functionality of the DP32 if the traces have been cut. For most users, the traces for JP2 and JP3 should be left uncut. Cutting the trace will remove the ability to program the microcontroller from the USB Port. Users may optionally add jumper pins and a shorting block to restore the original functionality of the DP32 if the traces have been cut.
 +
 ---- ----
 +
 {{ :chipkit_dp32:b_jp4_5.png?nolink&200|}} {{ :chipkit_dp32:b_jp4_5.png?nolink&200|}}
 **JP4/JP5 pullups/pulldowns**\\  **JP4/JP5 pullups/pulldowns**\\ 
 Default configuration is with the shorting blocks loaded on pins 1 and 2, which results in pullup configuration. Shorting pins 2 and 3 results in pulldown operation. Users may choose to remove shorting blocks entirely if no pullup/pulldown settings are desired.\\ \\ \\ \\ \\  Default configuration is with the shorting blocks loaded on pins 1 and 2, which results in pullup configuration. Shorting pins 2 and 3 results in pulldown operation. Users may choose to remove shorting blocks entirely if no pullup/pulldown settings are desired.\\ \\ \\ \\ \\ 
 {{ :chipkit_dp32:b_jp4_5_u_d.png?nolink&200|}} {{ :chipkit_dp32:b_jp4_5_u_d.png?nolink&200|}}
 +
 ---- ----
 +
 {{ :chipkit_dp32:b_jp7_vbus.png?nolink&200|}} {{ :chipkit_dp32:b_jp7_vbus.png?nolink&200|}}
 **JP7 Power Select Jumper**\\  **JP7 Power Select Jumper**\\ 
 Default power select is with the shorting block connecting the two pins directly next to VBUS, providing power from the USB connector. If external power is desired, connect the two pins nearest the external power screw terminal labeled VIN.\\ \\ \\ \\ \\ \\ \\ \\ \\ \\  Default power select is with the shorting block connecting the two pins directly next to VBUS, providing power from the USB connector. If external power is desired, connect the two pins nearest the external power screw terminal labeled VIN.\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ 
 {{ :chipkit_dp32:b_jp7_vin.png?nolink&200|}} {{ :chipkit_dp32:b_jp7_vin.png?nolink&200|}}
 +
 ---- ----
-===== 5 Power Supply =====+ 
 +====== 5 Power Supply ====== 
 The DP32 is designed to be powered either via USB or from an external power supply. Only one supply should be selected at a time. The DP32 is designed to be powered either via USB or from an external power supply. Only one supply should be selected at a time.
  
Line 177: Line 198:
  
 The internal USB circuit on the PIC32MX250F128B requires 5VDC to operate. Do not attempt to power the USB circuitry with the external power screw terminal, unless it is a regulated 5V external power supply. The internal USB circuit on the PIC32MX250F128B requires 5VDC to operate. Do not attempt to power the USB circuitry with the external power screw terminal, unless it is a regulated 5V external power supply.
 +
 ---- ----
-===== 6 5V Compatibility =====+ 
 +====== 6 5V Compatibility ====== 
 The PIC32 microcontroller operates at 3.3V. There are two issues to consider when dealing with 5V compatibility for 3.3V logic. The first is protection of 3.3V inputs from damage caused by 5V signals. The second is whether the 3.3V output is high enough to be recognized as a logic high value by a 5V input. The PIC32 microcontroller operates at 3.3V. There are two issues to consider when dealing with 5V compatibility for 3.3V logic. The first is protection of 3.3V inputs from damage caused by 5V signals. The second is whether the 3.3V output is high enough to be recognized as a logic high value by a 5V input.
  
Line 184: Line 208:
  
 The minimum high-voltage output of the PIC32 microcontroller is rated at 2.4V when sourcing 12mA of current. When driving a high impedance input (typical of CMOS logic) the output high voltage will typically be close to 3.3V. Some 5V devices will recognize this voltage as a logic high input, and some will not you will have to read the datasheet for the 5V parts you are using to ensure that 3.3V will satisfy the logic high conditions for the part. Many 5V logic devices will work reliably with 3.3V inputs. The minimum high-voltage output of the PIC32 microcontroller is rated at 2.4V when sourcing 12mA of current. When driving a high impedance input (typical of CMOS logic) the output high voltage will typically be close to 3.3V. Some 5V devices will recognize this voltage as a logic high input, and some will not you will have to read the datasheet for the 5V parts you are using to ensure that 3.3V will satisfy the logic high conditions for the part. Many 5V logic devices will work reliably with 3.3V inputs.
 +
 ---- ----
-===== 7 Input/Output Connections =====+ 
 +====== 7 Input/Output Connections ====== 
 The DP32 board provides all 19 I/O pins of the PIC32MX250F128B microcontroller to through-hole points on the PCB. The DP32 board provides all 19 I/O pins of the PIC32MX250F128B microcontroller to through-hole points on the PCB.
  
Line 195: Line 222:
  
 In addition to the digital I/O, there are Analog inputs available on the board, called A0 through A8. These pins are shared on digital pins 6 thru 14. In addition to the digital I/O, there are Analog inputs available on the board, called A0 through A8. These pins are shared on digital pins 6 thru 14.
 +
 ---- ----
-===== 8 Peripheral I/O Functions =====+ 
 +====== 8 Peripheral I/O Functions ======
  
 **I<sup>2</sup>C**\\  **I<sup>2</sup>C**\\ 
Line 213: Line 242:
 The Reset button is utilized to bring the MCLR pin low on the microcontroller, thus restarting the currently loaded sketch. If the user wishes to reprogram the device, it is necessary to first hold down BTN2/PGM, and then press the reset button. This forces the microcontroller to default to the boot loader.  The Reset button is utilized to bring the MCLR pin low on the microcontroller, thus restarting the currently loaded sketch. If the user wishes to reprogram the device, it is necessary to first hold down BTN2/PGM, and then press the reset button. This forces the microcontroller to default to the boot loader. 
  
-==== 8.1 Peripheral Pin Select: ====+===== 8.1 Peripheral Pin Select ===== 
 An advanced feature of the PIC32MX1xx/2xx families of microcontrollers is the ability to re-map the locations of peripheral devices. This advanced feature is available only if you are using Microchip's MPLAB(r) programming tools. The PPS Assigned Peripheral options are: An advanced feature of the PIC32MX1xx/2xx families of microcontrollers is the ability to re-map the locations of peripheral devices. This advanced feature is available only if you are using Microchip's MPLAB(r) programming tools. The PPS Assigned Peripheral options are:
  
Line 236: Line 266:
 **SPI**\\  **SPI**\\ 
 Synchronous serial port. Pin 9 (SS), Pin 18 (MOSI), Pin 7 (SCK), Pin 10 (MISO). This uses SPI1 on the PIC32 Microcontroller. The second SPI is implemented as Pin 14 (SS), Pin 2 (MOSI), Pin 13 (MISO), and Pin 8 (SCK). Synchronous serial port. Pin 9 (SS), Pin 18 (MOSI), Pin 7 (SCK), Pin 10 (MISO). This uses SPI1 on the PIC32 Microcontroller. The second SPI is implemented as Pin 14 (SS), Pin 2 (MOSI), Pin 13 (MISO), and Pin 8 (SCK).
 +
 ---- ----
-====== Appendices ====== 
  
-===== Appendix A: Pinout Diagram =====+ 
 +====== Appendix A: Pinout Diagram ====== 
 {{ :chipkit_dp32:dp32_pinout_2.png?nolink |}} {{ :chipkit_dp32:dp32_pinout_2.png?nolink |}}
 This pin map does not define the full functionality for every pin. For a complete reference of pin functionality, please see the PIC32250F128B datasheet available from Microchip.[[http://ww1.microchip.com/downloads/en/DeviceDoc/60001168F.pdf]] This pin map does not define the full functionality for every pin. For a complete reference of pin functionality, please see the PIC32250F128B datasheet available from Microchip.[[http://ww1.microchip.com/downloads/en/DeviceDoc/60001168F.pdf]]
  
 When using TimerSerial (UART) ports with MPIDE HardwareSerial library, object "Serial" uses TX1/RX1, and object "Serial1" uses TX2/RX2. When using TimerSerial (UART) ports with MPIDE HardwareSerial library, object "Serial" uses TX1/RX1, and object "Serial1" uses TX2/RX2.
 +
 ---- ----
-===== Appendix B: Pinout Table by chipKIT Pin Number =====+ 
 +====== Appendix B: Pinout Table by chipKIT Pin Number ====== 
 ^ chipKIT Pin #  ^ PIC32 Pin  ^ register ID  ^ PIC32 Signal                                  ^ Notes                ^ ^ chipKIT Pin #  ^ PIC32 Pin  ^ register ID  ^ PIC32 Signal                                  ^ Notes                ^
 | 0*             | 14         | RB5          | TMS/RPB5/USBID                                | USBID w/ JP1 loaded  | | 0*             | 14         | RB5          | TMS/RPB5/USBID                                | USBID w/ JP1 loaded  |
Line 280: Line 315:
  
 For a more detailed explanation of the functionality of each pin and the PIC32 architecture, please see the datasheet from Microchip.\\ [[http://ww1.microchip.com/downloads/en/DeviceDoc/60001168F.pdf]] For a more detailed explanation of the functionality of each pin and the PIC32 architecture, please see the datasheet from Microchip.\\ [[http://ww1.microchip.com/downloads/en/DeviceDoc/60001168F.pdf]]
 +
 +
 ---- ----
-===== Appendix C: Schematic ===== + 
-The schematic is available as a PDF download from the DP32 product page on the Digilent website.\\ [[http://digilentinc.com/Data/Products/CHIPKIT-DP32/chipKIT%20DP32_sch.pdf]]+====== Appendix C: Pinout Table by Socket Pin ====== 
 + 
 +^ Socket Pin #  ^ chipKIT Pin #  ^ Connector Pin #  ^ PIC32 Signal                                      ^ Notes                 ^ 
 +| 1*            | -              | -                | nMCLR                                             | Reset button circuit  | 
 +| 2             | 9/A3           | RA0              | PGED3/VREF+/CVREF+/AN0/C3INC/RPA0/CTED1/PMD7/RA0  | IC4 – Chip Select     | 
 +| 3             | 10/A4          | RA1              | PGEC3/VREF-/CVREF-/AN1/RPA1/CTED2/PMD6/RA1        | IC4 – Serial Out      | 
 +| 4             | 11/A5          | RB0              | PGED1/AN2/C1IND/C2INB/C3IND/RPB0/PMD0/RB0         | LD4                   | 
 +| 5             | 12/A6          | RB1              | PGEC1/AND3/C1INC/C2INA/RPB1/CTED12/PMD1/RB1       | LD3                   | 
 +| 6             | 13/A7          | RB2              | AN4/C1INB/C2IND/RPB2/SDA2/CTED13/PMD2/RB2         | LD2                   | 
 +| 7             | 14/A8          | RB3              | AN5/C1INA/C2INC/RTCC/RPB3/SCL2/PMWR/RB3           | LD1                   | 
 +| 8             | -              | GND              | VSS                                               |                       | 
 +| 9             | 15             | RA2              | OSC1/CLKI/RPA2/RA2                                | 8 MHz Clock In        | 
 +| 10            | 16             | RA3              | OSC2/CLKO/RPA3/PMA0/RA3                           | 8 MHz Clock Out       | 
 +| 11            | 17             | RB4              | SOSCI/RPB4/RB4                                    | BTN4                  | 
 +| 12            | 18             | RA4              | SOSCO/RPA4/T1CK/CTED9/PMA1/RA4                    | IC4 – Serial In       | 
 +| 13            | -              | VDD              | VDD                                               |                       | 
 +| 14*           | 0              | RB5              | TMS/RPB5/USBID/RB5                                | USBID w/ JP1 short    | 
 +| 15*           | -              | VBUS             | VBUS                                              |                       | 
 +| 16*           | 1              | RB7              | TDI/RB7/CTED3/PMD5/INT0/RB7                       | BTN3                  | 
 +| 17*           | 2              | RB8              | TCK/RPB8/SCL1/CTED10/PMD4/RB8                     | PU/PD w/ JP5          | 
 +| 18*           | 3              | RB9              | TDO/RPB9/SDA1/SCTED4/PMD3/RB9                     | PU/PD w/ JP6          | 
 +| 19            | -              | GND              | VSS                                               |                       | 
 +| 20            | -              | -                | VCAP                                              |                       | 
 +| 21            | 4              | RB10             | PGED2/RPB10/D+/CTED11/RB10                        | USB Data+             | 
 +| 22            | 5              | RB11             | PGEC2/RPB11/D-/RB11                               | USB Data-             | 
 +| 23            | -              | -                | VUSB3V3                                           |                       | 
 +| 24            | 6/A0           | RB13             | AN11/RPB13/CTPLS/PMRD/RB13                        | Analog Temp Pin A0    | 
 +| 25            | 7/A1           | RB14             | CVREF/AN10/C3INB/RPB14/VBUSON/SCK1/CTED5/RB14     | IC4 – Serial Clock    | 
 +| 26            | 8/A2           | RB15             | AN9/C3INA/RPB15/SCK2/CTED6/PMCS1/RB15             | Dial Pot – Pin A2     | 
 +| 27            | -              | -                | AVSS                                              |  N/C                  | 
 +| 28            | -              | -                | AVDD                                              |                       | 
 + 
 +* Pins are 5V tolerant 
 +---- 
 + 
 +====== Appendix D: Schematic ====== 
 + 
 +The schematic is available as a {{:chipkit_dp32:chipkit_dp32_sch.pdf|PDF download}} from the DP32 product page on the Digilent website.\\