Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
chipkit_max32:refmanual [2015/04/02 21:06] – [2 Hardware Overview] brandon marcum | chipkit_max32:refmanual [2022/09/08 20:26] (current) – changed forum.digilentinc.com to forum.digilent.com Jeffrey | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== chipKIT™ Max32™ ====== | ====== chipKIT™ Max32™ ====== | ||
- | {{ : | + | {{: |
---- | ---- | ||
- | ====Revision History==== | + | ==== Revision History ==== |
March, 2015\\ | March, 2015\\ | ||
This document applies to REV E of the board, as indicated on the underside next to the barcode. | This document applies to REV E of the board, as indicated on the underside next to the barcode. | ||
Line 10: | Line 10: | ||
---- | ---- | ||
- | ===== 1 Functional Description | + | ====== Overview ====== |
The chipKIT Max32 is a microcontroller board based on the Microchip PIC32MX795F512L, | The chipKIT Max32 is a microcontroller board based on the Microchip PIC32MX795F512L, | ||
Line 27: | Line 27: | ||
Features include: | Features include: | ||
- | |||
* a Microchip® PIC32MX795F512L microcontroller (80Mhz, 512K Flash, 128K RAM) | * a Microchip® PIC32MX795F512L microcontroller (80Mhz, 512K Flash, 128K RAM) | ||
Line 43: | Line 42: | ||
---- | ---- | ||
- | =====2 Hardware Overview===== | + | |
+ | ====== 1 Hardware Overview | ||
The Max32 board has the following hardware features: | The Max32 board has the following hardware features: | ||
Line 100: | Line 100: | ||
---- | ---- | ||
- | =====3 chipKIT Max32 Jumper Settings ===== | + | |
+ | ====== 2 Jumper Settings | ||
The chipKIT development platforms use a Microchip PIC32 microcontroller. These are 32-bit products that bring | The chipKIT development platforms use a Microchip PIC32 microcontroller. These are 32-bit products that bring | ||
unprecedented features to the Arduino community. In order to maintain compatibility with existing hardware and | unprecedented features to the Arduino community. In order to maintain compatibility with existing hardware and | ||
- | software, additional jumpers and row headers are provided. This document describes the functionality of the | + | software, additional jumpers and row headers are provided. |
- | jumpers listed below. | + | |
{{ : | {{ : | ||
Line 124: | Line 124: | ||
---- | ---- | ||
- | ===== 4 MPIDE and USB Serial | + | ====== 3 chipKIT Max32 Hardware Description ====== |
+ | ===== 3.1 MPIDE and USB Serial | ||
The Max32 board is designed to be used with the Multi-Platform IDE (MPIDE). Digilent produced the MPIDE development platform by modifying the Arduino IDE. It is fully backwards-compatible with the Arduino IDE. | The Max32 board is designed to be used with the Multi-Platform IDE (MPIDE). Digilent produced the MPIDE development platform by modifying the Arduino IDE. It is fully backwards-compatible with the Arduino IDE. | ||
Line 136: | Line 137: | ||
The header connector J12 provides access to the other serial handshaking signals provided by the FT232R. Connector J12 is not loaded at the factory and can be loaded by the user to access these signals. | The header connector J12 provides access to the other serial handshaking signals provided by the FT232R. Connector J12 is not loaded at the factory and can be loaded by the user to access these signals. | ||
- | ---- | + | ===== 3.2 Power Supply ===== |
- | ===== 5 Power Supply ===== | + | |
{{ : | {{ : | ||
Line 183: | Line 184: | ||
* **VIN** (pin 8): This connects to the voltage provided at the external power supply connector. This can be used to provide unregulated input power to the shield. It can also be used to power the Max32 board from the shield instead of from the external power connector. | * **VIN** (pin 8): This connects to the voltage provided at the external power supply connector. This can be used to provide unregulated input power to the shield. It can also be used to power the Max32 board from the shield instead of from the external power connector. | ||
- | ---- | + | |
- | ===== 6 5V Compatibility ===== | + | ===== 3.3 5V Compatibility ===== |
The PIC32 microcontroller operates at 3.3V. The original Arduino boards operate at 5V, as do many Arduino shields. | The PIC32 microcontroller operates at 3.3V. The original Arduino boards operate at 5V, as do many Arduino shields. | ||
Line 195: | Line 196: | ||
The minimum output high voltage 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 be close to 3.3V. Some 5V devices will recognize this voltage as a logic high input, and some won’t. Many 5V logic devices will work reliably with 3.3V inputs. | The minimum output high voltage 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 be close to 3.3V. Some 5V devices will recognize this voltage as a logic high input, and some won’t. Many 5V logic devices will work reliably with 3.3V inputs. | ||
- | ---- | + | |
- | =====7 Input/ | + | ===== 3.4 Input/ |
{{ : | {{ : | ||
Line 217: | Line 218: | ||
Pin numbers 70 – 85 are on the inner rows of connectors J14 and J3. | Pin numbers 70 – 85 are on the inner rows of connectors J14 and J3. | ||
- | ---- | + | |
- | ===== 8 Peripheral I/O Functions ===== | + | ===== 3.5 Peripheral I/O Functions ===== |
The PIC32 microcontroller on the Max32 board provides a number of peripheral functions. The following peripherals are provided: | The PIC32 microcontroller on the Max32 board provides a number of peripheral functions. The following peripherals are provided: | ||
Line 261: | Line 262: | ||
See the pinout diagram and tables in the appendices for a complete list of pin functions. | See the pinout diagram and tables in the appendices for a complete list of pin functions. | ||
- | ---- | + | |
- | ===== 9 Advanced Peripheral Devices ===== | + | |
+ | ===== 3.6 Advanced Peripheral Devices ===== | ||
The PIC32MX795F512L microcontroller on the Max32 board has several peripheral devices for advanced communications capabilities. These peripheral devices require additional hardware that isn’t provided on the Max32 board. This additional hardware must be provided by a shield board (such as the Digilent chipKIT Network Shield) connected to the Max32. | The PIC32MX795F512L microcontroller on the Max32 board has several peripheral devices for advanced communications capabilities. These peripheral devices require additional hardware that isn’t provided on the Max32 board. This additional hardware must be provided by a shield board (such as the Digilent chipKIT Network Shield) connected to the Max32. | ||
Line 284: | Line 286: | ||
The PIC32 microcontroller is designed to allow one of two sets of pins to be used by the CAN controllers to connect to the transceivers. The Max32 board is designed to use the alternate sets of pins. | The PIC32 microcontroller is designed to allow one of two sets of pins to be used by the CAN controllers to connect to the transceivers. The Max32 board is designed to use the alternate sets of pins. | ||
- | ---- | + | |
- | =====10 Microchip Development Tool Compatibility===== | + | ===== 3.7 Microchip Development Tool Compatibility===== |
In addition to being used with the MPIDE, the Max32 board can be used as a more traditional microcontroller | In addition to being used with the MPIDE, the Max32 board can be used as a more traditional microcontroller | ||
- | Unloaded connector J11 on the left side of the board is used to connect to a licensed Microchip development tool, such as the chipKIT PGM or the PICkit™3. The holes for JP3 are staggered so that a standard 100-mil-spaced 6-pin header can be press fit to the board without the need to solder it in place. Any Microchip development tool that supports the PIC32 microcontroller family, and can be connected via the same 6-pin interface as the PICkit3, can be used. [[http:// | + | Unloaded connector J11 on the left side of the board is used to connect to a licensed Microchip development tool, such as the chipKIT PGM or the PICkit™3. The holes for JP3 are staggered so that a standard 100-mil-spaced 6-pin header can be press fit to the board without the need to solder it in place. Any Microchip development tool that supports the PIC32 microcontroller family, and can be connected via the same 6-pin interface as the PICkit3, can be used. [[http:// |
{{ : | {{ : | ||
Line 300: | Line 302: | ||
---- | ---- | ||
- | =====11 Reloading the MPIDE bootloader===== | ||
- | Using the Microchip development tools to program the Max32 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 source code and compiled image can be found in the MPIDE software download. You may also download it from the Max32 product page [[http:// | + | ====== 4 Reloading the MPIDE bootloader ====== |
+ | |||
+ | Using the Microchip development tools to program the Max32 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 source code and compiled image can be found in the MPIDE software download. Once you have the boot loader .hex file, complete the following steps to reload the boot loader to the PIC32 microcontroller using MPLAB® X. | ||
- Open MPLAB X. Click on " | - Open MPLAB X. Click on " | ||
- Click on " | - Click on " | ||
Line 314: | Line 317: | ||
---- | ---- | ||
- | ===== Appendix A: Pinout Diagram===== | ||
- | A work in progress... | ||
- | ---- | ||
- | =====Appendix B: Pinout Tables===== | ||
- | ====By Digital Pin #==== | ||
- | ^ chipKIT Pin # ^ Connector Pin# ^ PIC32 Pin # ^ PIC32 Signal | ||
- | | 0 | J14-01 | ||
- | | 1 | J14-03 | ||
- | | 2 | J14-05 | ||
- | | 3 | J14-07 | ||
- | | 4 | J14-09 | ||
- | | 5 | J14-11 | ||
- | | 6 | J14-13 | ||
- | | 7 | J14-15 | ||
- | | 8 | J3-01 | 79 | ETXD2/ | ||
- | | 9 | J3-03 | 78 | OC4/ | ||
- | | 10 | J3-05 | 81 | OC5/ | ||
- | | 11 | J3-07 | 9 | T5CK/ | ||
- | | 12 | J3-09 | 58 | SCL2/ | ||
- | | 13 | J3-11 | 59 | SDA2/ | ||
- | | 14 | J4-08 | 39 | AC1TX/ | ||
- | | 15 | J4-07 | 40 | AC1RX/ | ||
- | | 16 | J4-06 | 50 | SCL3A/ | ||
- | | 17 | J4-05 | 49 | SDA3A/ | ||
- | | 18 | J4-04 | 48 | AETXD1/ | ||
- | | 19 | J4-03 | 47 | AETXD0/ | ||
- | | 20 | J4-02 | 67 | AETXEN/ | ||
- | | 21 | J4-01 | 66 | AETXCLK/ | ||
- | | 22 | J9-16 | 7 | T3CK/ | ||
- | | 23 | J9-15 | 8 | T4CK/ | ||
- | | 24 | J9-14 | 54 | VBUS | ||
- | | 25 | J9-13 | 51 | USBID/ | ||
- | | 26 | J9-12 | 56 | D-/ | ||
- | | 27 | J9-11 | 57 | D+/ | ||
- | | 28 | J9-10 | 1 | AERXERR/ | ||
- | | 29 | J9-09 | 11 | ECRX/ | ||
- | | 30 | J9-08 | 5 | PMD7/ | ||
- | | 31 | J9-07 | 4 | PMD6/ | ||
- | | 32 | J9-06 | 3 | PMD5/ | ||
- | | 33 | J9-05 | 100 | PMD4/ | ||
- | | 34 | J9-04 | 99 | PMD3/ | ||
- | | 35 | J9-03 | 98 | PMD2/ | ||
- | | 36 | J9-02 | 94 | PMD1/ | ||
- | | 37 | J9-01 | 93 | PMD0/ | ||
- | | 38 | J8-16 | 70 | SCK1/ | ||
- | | 39 | J8-15 | 82 | PMRD/ | ||
- | | 40 | J8-14 | 35 | AN11/ | ||
- | | 41 | J8-13 | 42 | AN13/ | ||
- | | 42 | J8-12 | 41 | AN12/ | ||
- | | 43 | J8-11 | 12 | ERXDV/ | ||
- | | 44 | J8-10 | 29 | VREF+/ | ||
- | | 45 | J8-09 | 87 | C1RX/ | ||
- | | 46 | J8-08 | 88 | C1TX/ | ||
- | | 47 | J8-07 | 83 | ETXEN/ | ||
- | | 48 | J8-06 | 68 | RTCC/ | ||
- | | 49 | J8-05 | 71 | EMDC/ | ||
- | | 50 | J8-04 | 11 (MISO) or\\ 12 (MOSI)\\ (see note) | ECRX/ | ||
- | | 51 | J8-03 | 12 (MOSI) or\\ 11 (MISO)\\ (see note) | ERXDV/ | ||
- | | 52 | J8-02 | 10 | ECOL/ | ||
- | | 53 | J8-01 | 14 | ERXCLK/ | ||
- | | 54 | J5-01 | 25 | PGED1/ | ||
- | | 55 | J5-02 | 24 | PGEC1/ | ||
- | | 56 | J5-03 | 23 | AN2/ | ||
- | | 57 | J5-04 | 22 | AN3/ | ||
- | | 58 | J5-05 | 21 | AN4/ | ||
- | | 59 | J5-06 | 20 | AN5/ | ||
- | | 60 | J5-07 | 26 | PGEC2/ | ||
- | | 61 | J5-08 | 27 | PGED2/ | ||
- | | 62 | J7-01 | 32 | AN8/ | ||
- | | 63 | J7-02 | 33 | AN9/ | ||
- | | 64 | J7-03 | 34 | AN10/ | ||
- | | 65 | J7-04 | 35 | AN11/ | ||
- | | 66 | J7-05 | 42 | AN13/ | ||
- | | 67 | J7-06 | 41 | AN12/ | ||
- | | 68 | J7-07 | 43 | AN14/ | ||
- | | 69 | J7-08 | 44 | AN15/ | ||
- | | 70 | J14-02 | ||
- | | 71 | J14-04 | ||
- | | 72 | J14-06 | ||
- | | 73 | J14-08 | ||
- | | 74 | J14-10 | ||
- | | 75 | J14-12 | ||
- | | 76 | J14-14 | ||
- | | 77 | J14-16 | ||
- | | 78 | J3-02 | 89 | C2TX/ | ||
- | | 79 | J3-04 | 90 | C2RX/ | ||
- | | 80 | J3-06 | 91 | TRCLK/ | ||
- | | 81 | J3-08 | 92 | TRD3/ | ||
- | | 82 | J3-10 | 95 | TRD2/ | ||
- | | 83 | J3-12 | 96 | TRD1/ | ||
- | | 84 | J3-14 | 97 | TRD0/ | ||
- | | 85 | J3-16 | 28 | VREF-/ | ||
- | | 86 | NC | 6 | T2CK/ | ||
+ | ====== Appendix A: Pinout Tables ====== | ||
+ | ===== Pinout Table by Logical Pin Number ====== | ||
+ | ^ chipKIT Pin # ^ Connector Pin # ^ PIC32 Pin # ^ PIC32 Signal | ||
+ | | 0 | J14-01 | ||
+ | | 1 | J14-03 | ||
+ | | 2 | J14-05 | ||
+ | | 3 | J14-07 | ||
+ | | 4 | J14-09 | ||
+ | | 5 | J14-11 | ||
+ | | 6 | J14-13 | ||
+ | | 7 | J14-15 | ||
+ | | 8 | J3-01 | 79 | ETXD2/ | ||
+ | | 9 | J3-03 | 78 | OC4/ | ||
+ | | 10 | J3-05 | 81 | OC5/ | ||
+ | | 11 | J3-07 | 9 | T5CK/ | ||
+ | | 12 | J3-09 | 58 | SCL2/ | ||
+ | | 13 | J3-11 | 59 | SDA2/ | ||
+ | | 14 | J4-08 | 39 | AC1TX/ | ||
+ | | 15 | J4-07 | 40 | AC1RX/ | ||
+ | | 16 | J4-06 | 50 | SCL3A/ | ||
+ | | 17 | J4-05 | 49 | SDA3A/ | ||
+ | | 18 | J4-04 | 48 | AETXD1/ | ||
+ | | 19 | J4-03 | 47 | AETXD0/ | ||
+ | | 20 | J4-02, J18-02 | ||
+ | | 21 | J4-01, J18-01 | ||
+ | | 22 | J9-16 | 7 | T3CK/ | ||
+ | | 23 | J9-15 | 8 | T4CK/ | ||
+ | | 24 | J9-14 | 54 | VBUS | ||
+ | | 25 | J9-13 | 51 | USBID/ | ||
+ | | 26 | J9-12 | 56 | D-/ | ||
+ | | 27 | J9-11 | 57 | D+/ | ||
+ | | 28 | J9-10 | 1 | AERXERR/ | ||
+ | | 29 | J9-09 | 11 | ECRX/ | ||
+ | | 30 | J9-08 | 5 | PMD7/ | ||
+ | | 31 | J9-07 | 4 | PMD6/ | ||
+ | | 32 | J9-06 | 3 | PMD5/ | ||
+ | | 33 | J9-05 | 100 | PMD4/ | ||
+ | | 34 | J9-04 | 99 | PMD3/ | ||
+ | | 35 | J9-03 | 98 | PMD2/ | ||
+ | | 36 | J9-02 | 94 | PMD1/ | ||
+ | | 37 | J9-01 | 93 | PMD0/ | ||
+ | | 38 | J8-16 | 70 | SCK1/ | ||
+ | | 39 | J8-15 | 82 | PMRD/ | ||
+ | | 40 | J8-14 | 35 | AN11/ | ||
+ | | 41 | J8-13 | 42 | AN13/ | ||
+ | | 42 | J8-12 | 41 | AN12/ | ||
+ | | 43 | J8-11 | 12 | ERXDV/ | ||
+ | | 44 | J8-10 | 29 | VREF+/ | ||
+ | | 45 | J8-09 | 87 | C1RX/ | ||
+ | | 46 | J8-08 | 88 | C1TX/ | ||
+ | | 47 | J8-07 | 83 | ETXEN/ | ||
+ | | 48 | J8-06 | 68 | RTCC/ | ||
+ | | 49 | J8-05 | 71 | EMDC/ | ||
+ | | 50 | J8-04 | 11 | ECRX/ | ||
+ | | 51 | J8-03 | 12 | ERXDV/ | ||
+ | | 52 | J8-02 | 10 | ECOL/ | ||
+ | | 53 | J8-01 | 14 | ERXCLK/ | ||
+ | | 54 | J5-01 | 25 | PGED1/ | ||
+ | | 55 | J5-02 | 24 | PGEC1/ | ||
+ | | 56 | J5-03 | 23 | AN2/ | ||
+ | | 57 | J5-04 | 22 | AN3/ | ||
+ | | 58 | J5-05 | 21 | AN4/ | ||
+ | | 59 | J5-06 | 20 | AN5/ | ||
+ | | 60 | J5-7 | 26 | PGEC2/ | ||
+ | | 61 | J5-8 | 27 | PGED2/ | ||
+ | | 62 | J7-01 | 32 | AN8/ | ||
+ | | 63 | J7-02 | 33 | AN9/ | ||
+ | | 64 | J7-03 | 34 | AN10/ | ||
+ | | 65 | J7-04 | 35 | AN11/ | ||
+ | | 66 | J7-06 | 42 | AN13/ | ||
+ | | 67 | J7-05 | 41 | AN12/ | ||
+ | | 68 | J7-07 | 43 | AN14/ | ||
+ | | 69 | J7-08 | 44 | AN15/ | ||
+ | | 70 | J14-02 | ||
+ | | 71 | J14-04 | ||
+ | | 72 | J14-06 | ||
+ | | 73 | J14-08 | ||
+ | | 74 | J14-10 | ||
+ | | 75 | J14-12 | ||
+ | | 76 | J14-14 | ||
+ | | 77 | J14-16 | ||
+ | | 78 | J3-02 | 89 | C2TX/ | ||
+ | | 79 | J3-04 | 90 | C2RX/ | ||
+ | | 80 | J3-06 | 91 | TRCLK/ | ||
+ | | 81 | J3-08 | 92 | TRD3/ | ||
+ | | 82 | J3-10 | 95 | TRD2/ | ||
+ | | 83 | J3-12 | 96 | TRD1/ | ||
+ | | 84 | J3-14 | 97 | TRD0/ | ||
+ | | 85 | J3-16 | 28 | VREF-/ | ||
+ | ---- | ||
- | + | ===== Pinout Table by Connector Pin ===== | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ---- | + | |
- | ====By Connector Pin #==== | + | |
^ Connector Pin # ^ Digital Pin # ^ PIC32 Pin # ^ PIC32 Signal | ^ Connector Pin # ^ Digital Pin # ^ PIC32 Pin # ^ PIC32 Signal | ||
| J3-01 | 8 | 79 | ETXD2/ | | J3-01 | 8 | 79 | ETXD2/ | ||
Line 528: | Line 512: | ||
| J18-01 | | J18-01 | ||
| J18-02 | | J18-02 | ||
- | |||
---- | ---- | ||
- | ====By Microcontroller Pin #==== | + | |
+ | ===== Pinout Table by Microcontroller Pin ===== | ||
^ PIC32 Pin # ^ Connector Pin# ^ chipKIT Pin # ^ PIC32 Signal | ^ PIC32 Pin # ^ Connector Pin# ^ chipKIT Pin # ^ PIC32 Signal | ||
| 1 | J9-10 | 28 | AERXERR/ | | 1 | J9-10 | 28 | AERXERR/ | ||
Line 642: | Line 626: | ||
=== Is there anything that needs to be considered when using the delay function the chipKIT Max32?=== | === Is there anything that needs to be considered when using the delay function the chipKIT Max32?=== | ||
- | Please see an interesting post from Digilent forum member EigenFunctions on the delay funtion: [[https:// | + | Please see an interesting post from Digilent forum member EigenFunctions on the delay funtion: [[https:// |