1300 Henley Court Pullman, WA 99163 509.334.6306 www.digilentinc.com chipKIT DP32 Board Reference Manual Revised October 9, 2015 This manual applies to the chipKIT DP32 rev. C Overview The chipKIT DP32 is an MPIDE compatible prototyping and project development board from Digilent. It combines the power of the Microchip PIC32MX250F128B with a wire wrap prototyping area and provision for an EEPROM non-volatile memory. The chipKIT DP32 has many on board features, including an analog temperature sensor, a potentiometer, buttons, and LEDs. The mounting hole footprint on the board is designed to fit in the Hammond 1591XXSSBK project box. Microchip PIC32MX250F128B microcontroller (40/50 MHz 32-bit MIPS, 128K Flash, 32K SRAM) 5 12 Volt recommended operating voltage 19 available I/O pins Up to 9 analog inputs 1 Potentiometer connected to an analog input Four user LEDs Two user push button Wire wrap prototype area Provision for an SPI EEPROM and an analog temperature sensor Mounting Hole compatible with Hammond 1591XXSSBK project box The chipKIT DP32 Board. 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. The PIC32MX250F128B is suitable for building projects directly on the board, utilizing the provided prototyping area, but it can also be used as a PIC32MX250F128B programmer to program the microcontrollers for inclusion in custom built projects. 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 is also fully compatible with the advanced Microchip MPLAB IDE and MPLAB X IDE. To develop embedded applications using MPLAB, a separate In Circuit Serial Programmer (ICSP) such as the Digilent chipKIT PGM or the Microchip PICkit3, is required. Copyright Digilent, Inc. All rights reserved. DOC : 502-280 Page 1 of 9 Other product and company names mentioned may be trademarks of their respective owners. chipKIT DP32 Board Reference Manual 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 40 MHz 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 MPIDE or with the advanced Microchip MPLAB IDE with the addition of a PICKit3 or chipKIT PGM in-system programmer/debugger. The DP32 provides 19 I/O pins located on two through-hole header footprints. Some pins share functions with the onboard circuits, such as the on-board 8 MHz oscillator or USB data lines (see the schematic for details). If these peripherals are needed in the design, then the microcontroller can be reconfigured to allow these pins to be utilized for other purposes. Nine of the digital I/O pins are shared with the analog inputs and can be used as analog input pins. 2 The PIC32MX250F128B microcontroller supports peripheral functions such as UART, SPI, and I C, as well as pulse- width modulated outputs. To use the peripheral functions, the PIC32MX2xx family of microcontrollers features a mappable I/O system called peripheral pin select (PPS), which allows select peripheral functionality to be mapped to multiple pins on the device. The default DP32 MPIDE environment provides a specific mapping of peripheral functions to microcontroller pins. This default pinout can be over-ridden by the users sketch if a different mapping is desired. 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 The DP32 has the following hardware features: 1. J2 USB Connector for USB Serial Converter: This connects to a USB port on the PC to provide the communications port for the MPIDE to talk to the DP32 board. This can also be used to power the DP32 when connected to the PC. 2. JP6 Microchip Debug Tool Connector: This connector is used to connect ICSP tools, such as the PICkit3 or Digilent chipKIT PGM. This allows the DP32 board to be used as a traditional microcontroller development board using the Microchip MPLAB IDE. 3. J6 External Power Screw Terminal Connectors: This screw terminal connector may be used to provide up to 15VDC to the DP32. The polarity of the terminals is marked on the silkscreen and must be followed to avoid damaging the board. 4. JP7 Power Select Jumper: This jumper may be set to either power the DP32 via USB (J2), or Screw Terminal (J6). To power via USB, set the jumper to short the pins with VIN and VUSB. To power via external supply, short the two pins at JP7. Copyright Digilent, Inc. All rights reserved. Page 2 of 9 Other product and company names mentioned may be trademarks of their respective owners.