1300 Henley Court Pullman, WA 99163 509.334.6306 www.digilentinc.com chipKIT Cmod Reference Manual Revised April 15, 2016 This manual applies to the chipKIT Cmod rev. E Overview The chipKIT Cmod is a chipKIT/MPIDE compatible board from Digilent. It combines a Microchip PIC32MX150F128D microcontroller with a convenient 600-mil, 40-pin DIP package and two Digilent Pmod connectors. Digilents Cmod boards are ideally suited for breadboards or other prototype circuit designs where the use of small surface mount packages is impractical. The chipKIT Cmod takes advantage of the powerful PIC32MX150F128D microcontroller. This microcontroller features a 32-bit MIPS processor core running at 40MHz, 128K of flash memory, and 32K of SRAM data memory. The chipKIT Cmod 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 chipKIT Cmod is also fully compatible with the advanced Microchip MPLAB IDE. To develop embedded applications using MPLAB, a separate device programmer/debugger, such as the Digilent chipKIT PGM or the Microchip PICkit3 is required. Features Include: Microchip PIC32MX150F128D microcontroller (40/50 Mhz 32-bit MIPS, 128K Flash, 32K SRAM) Convenient 600-mil, 2x20-pin DIP package 5V 12V recommended operating voltage 33 available I/O pins Two user LEDs PC connection uses a USB A to micro B cable (not included) 13 analog inputs 3.3V operating voltage Two Pmod ports for Digilent peripheral module boards The chipKIT Cmod. Copyright Digilent, Inc. All rights reserved. DOC : 502-269 Page 1 of 15 Other product and company names mentioned may be trademarks of their respective owners. chipKIT Cmod Reference Manual 1 Functional Description The PIC32MX150F128D microcontroller features a 32-bit MIPS processor core capable of running at up to 50 MHz. When used with MPIDE, thechipKIT Cmod 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 chipKIT Cmod 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 chipKIT Cmod provides 33 I/O pins located on the 40-pin DIP package. Some pins share functions with the onboard circuits such as the on-board LEDs, the UART data lines used by the USB serial converter, or the Pmod ports (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 used for other purposes. Thirteen of the digital I/O pins can also be used as analog input pins. 2 The PIC32MX150F128D microcontroller supports peripheral functions such as UART, SPI, and I C, as well as pulse- width-modulated outputs. To use the peripheral functions the PIC32MX1xx 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 chipKIT Cmod board support files provide a specific mapping of peripheral functions to microcontroller pins. This default pin mapping can be over-ridden by the users sketch if a different mapping is desired. 1.1 ChipKIT Cmod Hardware Overview Call Out Component Description Call Out Component Description 1 J3 USB Connector for USB Serial Converter 6 Reset Button 2 JP2 Microchip ICSP Connector 7 PIC32 Microcontroller 3 J1-J2 Digilent Pmod ports 8 DIP Pin 1 External Power Connector 4 40 Pin DIP connector 9 DIP Pin3 USB 5.0V Power Connector 5 User LEDs Copyright Digilent, Inc. All rights reserved. Page 2 of 15 Other product and company names mentioned may be trademarks of their respective owners.