background image

12/21/2018

chipKIT DP32 Reference Manual [Reference.Digilentinc]

https://reference.digilentinc.com/chipkit_dp32/refmanual

4/17

6. IC4 – SPI EEPROM () Device (Microchip 25LC256) Loading Point 
This 8-pin DIP footprint is designed so that a SPI controlled EEPROM () device could be added at a later time if desired. It is intended
that an 8-pin DIP socket or a Microchip 25LC256 device would be soldered into this location. The SPI signals for communicating with
this EEPROM () device are tied directly to SPI 2 on the PIC32.

7. VR1 – Analog Potentiometer 
An analog potentiometer connected to chipKIT analog pin A2. When rotated fully counter clockwise, 0V is read on the pin. When
rotated fully clockwise, 3.3V is read on the pin.

8. IC3 – Analog Temperature Sensor (Microchip MCP9701A) Loading Point 
This 3-pin footprint is intended for an analog temperature sensor to be loaded by the user. It was designed with the Microchip
MCP9701A Linear Active Thermistor in mind. Pin one (square pad) is for VCC3V3 of the device, pin two (center pin) is for the VOUT
pin of the device, and pin three is for the ground pin.

9. User LEDs 
Four LEDs connected to digital signal pins 11, 12, 13, and 14. These LEDs are labeled as PIN_LED1, PIN_LED2, PIN_LED3, and
PIN_LED4 respectively in MPIDE.

10. IC1 PIC32 Microcontroller 
The PIC32MX250F128B microcontroller is the main processor for the board.

11. JP6 – Microchip Debug Tool Connector 
This connector is used to connect Microchip and Digilent
programmer/debugger tools, such as the PICkit™3 or Digilent chipKIT PGM.
This allows the DP32 board to be used as a traditional microcontroller
development board using the Microchip MPLAB® IDE. Note that the square
pad is pin 1. 
Rev C change: This header is reversed from Rev B. When attaching the
debugger tool, it would appear right-side up when attached to Rev C, and up-
side down when attached to Rev B (see images). Be sure you know which Rev
you have.
 The square solder pad should connect to pin 1 on the debugger. Attaching the debugger incorrectly will almost certainly fry
either the DP32, the debugger, or both. Please refer to the section titled “Programming the DP32” of this manual for more information
on using a debugger. 
 
 
 
 

12. Reset Button 
When pressed, the microcontroller resets the currently loaded sketch. If Button
2 (BTN2/PGM) is held down while pressing the reset button, the
microcontroller will start from the boot loader, allowing a new sketch to be
loaded.

13. BTN2/PGM and BTN3 User Buttons 
These user buttons are connected to digital signal pins 1 and 17. They produce a
logic high signal when depressed, and a logic low signal when released. When
using MPIDE, these buttons are defined in the core files as PIN_BTN_1 and PIN_BTN_2 respectively.

14. JP4/JP5 – Pullup/Pulldown jumpers 
These jumpers are used to add pullups or pulldowns to the digital signal pins 2 and 3. Pullups are necessary when utilizing I2C on these
two pins. These two jumpers can be used as settable logic states either pulled high or pulled low depending on the jumper settings. In
addition, if no pullups or pulldowns are desired, the jumper may be safely removed completely, allowing the pins to be used for other
input/output purposes.

15. J4 – Digital and Analog I/O Connector #1 
The set of Digital I/Os with chipKIT numbers 0 through 8 and Analog pins
A0-A2. See Pinout Diagram and Pinout Table for more details. 
Rev C change: The silk screen on Rev B (image →) shows the port assignments
on the chip, not the MPIDE pin assignments. Also, the holes are not offset,
requiring headers to be soldered to the board.

16. Prototyping Area 
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.

Summary of Contents for chipKIT DP32

Page 1: ...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 can be p...

Page 2: ...ils If these peripherals are needed in the design then the microcontroller can be reconfigured to allow these pins to be used for other purposes Nine of the digital I O pins are shared with the analog inputs and can be used as analog input pins The PIC32MX250F128B microcontroller supports peripheral functions such as UART SPI and I C as well as pulse modulated outputs To use the peripheral functio...

Page 3: ...ed for USB operations JP2 and JP3 D and D USB Signals These jumpers are shipped unloaded The trace between the two terminals may be cut if USB functionality is required to be permanently disabled Once the traces have been cut it is possible to solder jumper pins in these locations to re enable the D and D signals as desired 3 J2 USB Connector for USB Serial Converter This connects to a USB port on...

Page 4: ... to Rev B see images Be sure you know which Rev you have The square solder pad should connect to pin 1 on the debugger Attaching the debugger incorrectly will almost certainly fry either the DP32 the debugger or both Please refer to the section titled Programming the DP32 of this manual for more information on using a debugger 12 Reset Button When pressed the microcontroller resets the currently l...

Page 5: ... folder in the MPIDE distribution In order to install the driver on a Windows based machine follow the steps below You should not need to manually install the drivers on a machine with a non Windows OS 1 Open MPIDE to ensure that it works Close it and make sure that your DP32 is unplugged from the computer 2 Navigate to the MPIDE installation folder The file path should be something like C Program...

Page 6: ...sketch loaded on the board and you cycle power to the board it will automatically reenter sketch mode Each time you edit your sketch and need to reload it to the board you will need to exit sketch mode by pressing and holding BTN PGM pressing RESET and then releasing both to re enter program mode Since the board resets between program mode and sketch mode the serial port will disconnect and then r...

Page 7: ...ill 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 here https reference digilentinc com _media chipkit_dp32 chipkit_bootloader_dp32 zip 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 deb...

Page 8: ...it in whichever file you wish Default names will be auto populated 7 Check the box labeled Set as main project then click Finish 8 The project may not default to the main project even if you selected it before If it is not in bold in the project list on the left right click on the boot loader project scroll down to and click on Set As Main Project This should change the typeface to bold ...

Page 9: ... into stand alone projects Additional ICs can then be acquired through Microchip directly Simply go to www microchipdirect com https 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...

Page 10: ... at a time The DP32 has a single voltage regulator mounted on the underside which regulates either 5V from USB to 3 3V or a maximum of 15V external voltage to 3 3V The 3 3V regulator is a Microchip MCP1703 This regulator is rated for a maximum output current of 250mA This regulator has internal short circuit protection and thermal protection It will get noticeably warm when the current consumed by...

Page 11: ...erial Clock and Master In Slave Out lines respectively 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 I C Synchronous serial interface The I C1 interface is available on pins 2 and 3 When using the I C interface it is necessary to set JP4 and JP5 such that pullups are present on the bus This is done...

Page 12: ...implemented as Pin 14 SS Pin 2 MOSI Pin 13 MISO and Pin 8 SCK 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 http ww1 microchip com downloads en DeviceDoc 60001168F pdf When using TimerSerial UART ports with MPI...

Page 13: ...MD0 LD4 12 A6 5 RB1 PGEC1 AN3 C1INC C2INA RPB1 CTED12 PMD1 LD3 13 A7 6 RB2 AN4 C1INB C2IND RPB2 SDA2 CTED13 PMD2 LD2 14 A8 7 RB3 AN5 C1INA C2INC RTCC RPB3 SCL2 PMWR LD1 15 9 RA2 OSC1 CLKI RPA2 8 MHz Clock In 16 10 RA3 OSC2 CLKO RPA3 PMA0 8 MHz Clock Out 17 11 RB4 SOSCI RPB4 BTN2 PGM 18 12 RA4 SOSCO RPA4 T1CK CTED9 PMA1 IC4 Serial In 1 nMCLR 8 GND 13 VDD 15 VBUS 19 GND 20 VCAP 23 VUSB3V3 27 AVSS N ...

Page 14: ... 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 Ou...

Page 15: ...2 chipkit_dp32_sch pdf from the DP32 product page on the Digilent website Appendix D Schematic First Name Last Name Email Address Submit Subscribe to our Newsletter Xilinx University Program https store digilentinc com partners xilinx university program Technology Partners https store digilentinc com technology partners Distributors https store digilentinc com our Our Partners Technical Support Fo...

Page 16: ...store digilentinc com Internships https store digilentinc com https twitter com digilentinc https www facebook com Digilent https www youtube com user DigilentInc https instagram com digilentinc https github com digilent https www reddit com r digilent https www linkedin com company 1454013 https www flickr com photos 127815101 N07 Connect With Us ...

Page 17: ...12 21 2018 chipKIT DP32 Reference Manual Reference Digilentinc https reference digilentinc com chipkit_dp32 refmanual 17 17 ...

Reviews: