Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| chipkit_cmod:refmanual [2015/05/27 21:10] – Martha | chipkit_cmod:refmanual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| - | The chipKIT Cmod is a chipKIT/ | + | The chipKIT Cmod is a chipKIT/ |
| The chipKIT Cmod takes advantage of the powerful [[http:// | The chipKIT Cmod takes advantage of the powerful [[http:// | ||
| Line 24: | Line 24: | ||
| {{ : | {{ : | ||
| - | The chipKIT Cmod is also fully compatible with the advanced Microchip MPLAB® IDE. To develop embedded applications using MPLAB®, a separate device programmer/ | + | The chipKIT Cmod is also fully compatible with the advanced Microchip MPLAB® IDE. To develop embedded applications using MPLAB®, a separate device programmer/ |
| Features Include: | Features Include: | ||
| Line 37: | Line 37: | ||
| * 13 analog inputs | * 13 analog inputs | ||
| * 3.3V operating voltage | * 3.3V operating voltage | ||
| - | * Two Pmod connectors | + | * Two Pmod ports for Digilent peripheral module boards |
| ---- | ---- | ||
| Line 48: | Line 48: | ||
| - | 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 connectors | + | 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. |
| The PIC32MX150F128D microcontroller supports peripheral functions such as UART, SPI, and I2C, 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 user’s MPLABX program if a different mapping is desired (this requires the mentioned, compatible debugger). | The PIC32MX150F128D microcontroller supports peripheral functions such as UART, SPI, and I2C, 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 user’s MPLABX program if a different mapping is desired (this requires the mentioned, compatible debugger). | ||
| Line 59: | Line 59: | ||
| | 1 | J3 USB connector for USB serial converter | | 1 | J3 USB connector for USB serial converter | ||
| | 2 | JP2 Microchip ICSP Connector | | | 2 | JP2 Microchip ICSP Connector | | ||
| - | | 3 | J1-J2 Digilent Pmod connectors | + | | 3 | J1-J2 Digilent Pmod ports | |
| | 4 | 40 Pin DIP connector | | 4 | 40 Pin DIP connector | ||
| | 5 | User LEDs | | | 5 | User LEDs | | ||
| Line 69: | Line 69: | ||
| ---- | ---- | ||
| ===== 2. Programming Tools ===== | ===== 2. Programming Tools ===== | ||
| - | The ChipKIT | + | The chipKIT |
| - | The ChipKIT | + | The chipKIT |
| ==== 2.1. MPIDE and USB Serial Communications ==== | ==== 2.1. MPIDE and USB Serial Communications ==== | ||
| Line 97: | Line 97: | ||
| {{ : | {{ : | ||
| - | Typically, a right-angle male connector is used in JP2 so that the programmer can be attached coplanar with the chipKIT Cmod. The connector can be loaded from the top or the bottom. In either case, the programmer will be upside-down while the chipKIT Cmod board is upright (button, LEDs, and Pmod connectors | + | Typically, a right-angle male connector is used in JP2 so that the programmer can be attached coplanar with the chipKIT Cmod. The connector can be loaded from the top or the bottom. In either case, the programmer will be upside-down while the chipKIT Cmod board is upright (button, LEDs, and Pmod ports visible). Ensure that pin 1 on the programmer is connected to the square solder pad on JP2. In some cases, because of mechanical clearance limitations, |
| The Microchip MPLAB® IDE or the MPLAB® X IDE can be used to program and debug code running on the chipKIT Cmod board. These programs can be downloaded from the Microchip web site. | The Microchip MPLAB® IDE or the MPLAB® X IDE can be used to program and debug code running on the chipKIT Cmod board. These programs can be downloaded from the Microchip web site. | ||
| Line 135: | Line 135: | ||
| ---- | ---- | ||
| - | ===== 5. Pmod™ Connectors | + | ===== 5. Pmod Ports ===== |
| - | The chipKIT Cmod has two connectors | + | The chipKIT Cmod has two ports for connecting Digilent |
| - | The Pmod connectors | + | The Pmod ports on the chipKIT Cmod are both twelve-pin connectors. The ports use standard pin headers with 100-mil spaced pins. The twelve-pin |
| - | The twelve-pin | + | The twelve-pin |
| - | The pin numbering that Digilent uses on the twelve-pin Pmod connectors | + | The pin numbering that Digilent uses on the twelve-pin Pmod ports is non-standard. |
| {{ : | {{ : | ||
| Line 149: | Line 149: | ||
| The upper row of pins are numbered 1–6, right to left (when viewed from the end of the connector), and the lower row of pins are numbered 7–12, right to left. This is in keeping with the convention that the upper and lower rows of pins can be considered to be two six-pin connectors stacked. | The upper row of pins are numbered 1–6, right to left (when viewed from the end of the connector), and the lower row of pins are numbered 7–12, right to left. This is in keeping with the convention that the upper and lower rows of pins can be considered to be two six-pin connectors stacked. | ||
| - | It is important to note that the Pmod connectors | + | It is important to note that the Pmod ports on the chipKIT Cmod are rotated 180 degrees in relation to each other. Pin 1 of each Pmod port is marked on the board. When viewing the top of the board, pin 1 of Pmod port J2 is the upper right pin, and pin 7 is immediately below it. For Pmod port J1, pin 1 is in the lower left corner and pin 7 is immediately above it. Connecting peripheral modules incorrectly could result in damaging the peripheral module or the chipKIT Cmod. \\ |
| {{ : | {{ : | ||
| Line 271: | Line 271: | ||
| * Indicates 5V tolerant pin on the PIC32MX150F128D | * Indicates 5V tolerant pin on the PIC32MX150F128D | ||
| - | ==== Appendix C: Pinout Table by Pmod Connector | + | ==== Appendix C: Pinout Table by Pmod Port Pin Number ==== |
| ^ Connector Pin # ^ DIP Pin # ^ chipKIT Pin # ^ PIC32 Pin # ^ PIC32 Signal ^ Notes^ | ^ Connector Pin # ^ DIP Pin # ^ chipKIT Pin # ^ PIC32 Pin # ^ PIC32 Signal ^ Notes^ | ||
| | J1-01 | | | J1-01 | | ||

