Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
chipkit_wf32:refmanual [2015/04/30 20:23] – [10.7 User Push Buttons] Marthachipkit_wf32:refmanual [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 48: Line 48:
 | 1         | IC3- Microchip MRF24WG0MA WiFi Module  | 16        | J13- USB Connectors                      | | 1         | IC3- Microchip MRF24WG0MA WiFi Module  | 16        | J13- USB Connectors                      |
 | 2         | User Buttons                           | 17        | JP9- USB Overcurrent Detect              | | 2         | User Buttons                           | 17        | JP9- USB Overcurrent Detect              |
-| 3         | JP3- Microchip Debug Tool Connector    | 18        | JP11- Hos USB Bus Power Enable           |+| 3         | JP2- Microchip Debug Tool Connector    | 18        | JP11- Hos USB Bus Power Enable           |
 | 4         | J6- I2C Signals                        | 19        | J8- Analog and Digital Signal Connector  | | 4         | J6- I2C Signals                        | 19        | J8- Analog and Digital Signal Connector  |
 | 5         | BTN1- Reset                            | 20        | JP5, JP4- Analog or I2C Select Jumper    | | 5         | BTN1- Reset                            | 20        | JP5, JP4- Analog or I2C Select Jumper    |
 | 6         | JP1- Reset Disable                     | 21        | J3- Shield Power Connector               | | 6         | JP1- Reset Disable                     | 21        | J3- Shield Power Connector               |
-| 7         | J9- Digital Signal Connector           | 22        | J16- 5.0V Supply Select                  |+| 7         | J7- Digital Signal Connector           | 22        | J16- 5.0V Supply Select                  |
 | 8         | JP3- Pin 10 Signal Select Jumper       | 23        | J15- Power Select Jumper                 | | 8         | JP3- Pin 10 Signal Select Jumper       | 23        | J15- Power Select Jumper                 |
 | 9         | PIC32 Microcontroller                  | 24        | J11- Micro SD Connector                  | | 9         | PIC32 Microcontroller                  | 24        | J11- Micro SD Connector                  |
 | 10        | Potentiometer                          | 25        | J17- External Power Connector            | | 10        | Potentiometer                          | 25        | J17- External Power Connector            |
-| 11        | J7- Digital Signal Connector           | 26        | J14- External Power Connector            |+| 11        | J9- Digital Signal Connector           | 26        | J14- External Power Connector            |
 | 12        | User LEDs                              | 27        | J2- USB- UART Handshaking Signals        | | 12        | User LEDs                              | 27        | J2- USB- UART Handshaking Signals        |
 | 13        | JP6,7- SPI Master/ SPI Slave Select    | 28        | USB connector for USB Serial Converter   | | 13        | JP6,7- SPI Master/ SPI Slave Select    | 28        | USB connector for USB Serial Converter   |
 | 14        | J10- SPI Connector                     | 29        | Serial Communication LEDs                | | 14        | J10- SPI Connector                     | 29        | Serial Communication LEDs                |
 | 15        | JP10- USB Host or OTG Select           |           |                                          | | 15        | JP10- USB Host or OTG Select           |           |                                          |
 +
  
 ---- ----
Line 204: Line 205:
 Pin numbers 0-13 are the outer row of pins on J9 and J7, from right to left. Pin numbers 14-19 are the outer row of pins on J8 from left to right. Pins 20-25 are the inner row of pins on J8 from left to right. Pin numbers 26-41 are the inner row of pins on J9 and J7 from right to left. Pin 42 is the pin labeled A on J7. This pin is normally the reference voltage for the microcontroller’s A/D converter, but can also be used as a digital I/O pin. Pin numbers 0-13 are the outer row of pins on J9 and J7, from right to left. Pin numbers 14-19 are the outer row of pins on J8 from left to right. Pins 20-25 are the inner row of pins on J8 from left to right. Pin numbers 26-41 are the inner row of pins on J9 and J7 from right to left. Pin 42 is the pin labeled A on J7. This pin is normally the reference voltage for the microcontroller’s A/D converter, but can also be used as a digital I/O pin.
  
-In addition to the connector pin, Pin 13 also connects to the user LED LD3. Pin 43 connects to user LED LD5. Pin 43 does not attach to any connector. Pin 44 is the SS signal for SPI port 2, and discussed more in the SPI section below. Pins 45 and 46 are intended to be used for I2C and are connected to the 2x1 female header connector, J6. Pins 47 and 48 connect to the user LEDs LD5 and LD6.+In addition to the connector pin, Pin 13 also connects to the user %%LED%% LD6. Pin 43 connects to user LED LD5. Pin 43 does not attach to any connector. Pin 44 is the SS signal for SPI port 2, and discussed more in the SPI section below. Pins 45 and 46 are intended to be used for I2C and are connected to the 2x1 female header connector, J6. Pins 47 and 48 connect to the user LEDs LD3 and LD4, respectively.*****
  
 The analog inputs on connector J8 are assigned pin numbers. The outer row of pins on J8 is analog inputs A0-A5. The inner row of pins is A6-A11. These pins are also assigned digital pin numbers; A0-A5 are digital pins 14-19, and A6-A11 are 20-25. The analog inputs on connector J8 are assigned pin numbers. The outer row of pins on J8 is analog inputs A0-A5. The inner row of pins is A6-A11. These pins are also assigned digital pin numbers; A0-A5 are digital pins 14-19, and A6-A11 are 20-25.
  
 +**Note* ** //The board defs file for the WF32 on MPIDE currently has the user LEDs labeled as the following:
 +\\
 +\\
 +#define PIN_LED1 13\\
 +#define PIN_LED2 43\\
 +#define PIN_LED3 48\\
 +#define PIN_LED4 47\\
 +\\
 +these should be corrected to:\\
 +#define    PIN_LED6    13\\    
 +#define    PIN_LED5    43\\    
 +#define    PIN_LED4    48\\    
 +#define    PIN_LED3    47\\    
 +\\
 +Users can access the board defs file by following the path C:\...\MAIN_MPIDE_FOLDER_NAME\hardware\pic32\variants\WF32\Board_defs.h
 +You can edit the file through a program such as notepad and find the appropriate lines starting on line #102 //
  
 ---- ----
Line 244: Line 261:
 </code> </code>
  
-The Digilent chipKIT network libraries are available for download from the Digilent web site: www.digilentinc.com. These libraries make use of a custom version of the Microchip Application Library. It is necessary to accept the Microchip Application Library license agreement before downloading the library.+The Digilent chipKIT network libraries are available [[/agreement|here]]. These libraries make use of a custom version of the Microchip Application Library. It is necessary to accept the Microchip Application Library license agreement before downloading the library.
  
 There are reference examples demonstrating the use of these libraries in the library download. There are more extensive examples available on the Digilent web site as well. There are reference examples demonstrating the use of these libraries in the library download. There are more extensive examples available on the Digilent web site as well.
Line 395: Line 412:
  
 Jumper JP3 is used to select PWM output or the SPI SS function on Pin 10. The shorting block on JP3 should be in Jumper JP3 is used to select PWM output or the SPI SS function on Pin 10. The shorting block on JP3 should be in
-the PWM position to select PWM output. It should be in the SS position to select the SPI SS function. JP4 will+the PWM position to select PWM output. It should be in the SS position to select the SPI SS function. JP3 will
 normally be in the PWM position. In general, the only time it needs to be in the SS position is when the WF32 normally be in the PWM position. In general, the only time it needs to be in the SS position is when the WF32
 board is being used as an SPI slave device. board is being used as an SPI slave device.
Line 468: Line 485:
  
  
-Pin 13 (LD6), Pin 43 (LD5), Pin 47 (LD4), Pin 48 (LD3). Pin 13 is shared between a connector pin and the LED. Pin 43,+Pin 13 (LD6), Pin 43 (LD5), Pin 48 (LD4), Pin 47 (LD3). Pin 13 is shared between a connector pin and the LED. Pin 43,
 48, and 47 only goes to the LED and not to any connector pin. Driving the pin HIGH turns the LED on, driving it LOW 48, and 47 only goes to the LED and not to any connector pin. Driving the pin HIGH turns the LED on, driving it LOW
 turns it off. turns it off.
Line 480: Line 497:
  
  
-==== 10.8 A/D Converter Reference ====+===== 10.8 A/D Converter Reference =====
  
 Labeled A, the left-most outer pin on connector J5. This is used to provide an external voltage reference to Labeled A, the left-most outer pin on connector J5. This is used to provide an external voltage reference to
Line 487: Line 504:
  
  
-==== 10.9 Potentiometer ====+===== 10.9 Potentiometer =====
  
  
Line 495: Line 512:
  
  
-==== 10.10 RTCC ====+===== 10.10 RTCC =====
  
 Real Time Clock Calendar. The PIC32 microcontroller contains an RTCC circuit that can be used to maintain time Real Time Clock Calendar. The PIC32 microcontroller contains an RTCC circuit that can be used to maintain time
Line 504: Line 521:
  
  
-==== 10.11 RESET ====+===== 10.11 RESET =====
  
 The PIC32 microcontroller is reset by bringing its MCLR pin low. The MCLR pin is connected to the P32_RST net on The PIC32 microcontroller is reset by bringing its MCLR pin low. The MCLR pin is connected to the P32_RST net on
Line 532: Line 549:
 microcontroller. microcontroller.
  
 +
 +----
  
  
-===== 11 Microchip Development Tool Compatibility =====+====== 11 Microchip Development Tool Compatibility ======
  
  
Line 559: Line 578:
 loader source code and compiled image can be found at www.chipKIT.net. loader source code and compiled image can be found at www.chipKIT.net.
  
 +
 +----
  
  
-===== 12 Pinout Tables =====+====== 12 Pinout Tables ======
  
  
Line 571: Line 592:
  
 For most pins, this pin number will agree with the pin number labeled on the board. For the pins whose function For most pins, this pin number will agree with the pin number labeled on the board. For the pins whose function
-can be switched using jumpers, the pin number labeled on the board is correct when the jumper is in the “normal”+can be switched using jumpers, the pin number labeled on the board is correct when the jumper is in the "normal"
 position. position.
  
Line 582: Line 603:
  
 The pin labeled 10 on the board is connected to connector J7 pin 5. This is shown as J5-05 in the following tables. The pin labeled 10 on the board is connected to connector J7 pin 5. This is shown as J5-05 in the following tables.
-In the ‘Pinout Table by Shield Connector Pin’ table below, J5-05 is shown has being either chipKIT pin # 10 or 44.+In the 'Pinout Table by Shield Connector Pin' table below, J5-05 is shown has being either chipKIT pin # 10 or 44.
 J5-04 is connected to chipKIT pin # 10 when JP3 is in the PWM position and is connected to chipKIT pin # 44 when J5-04 is connected to chipKIT pin # 10 when JP3 is in the PWM position and is connected to chipKIT pin # 44 when
 in the SS position. in the SS position.
  
  
-=== Pinout Table by ChipKIT Pin Number === +===== 12.1 Pinout Table by chipKIT Pin Number =====
- +
  
 +^ chipKIT Pin #  ^ MCU Pin  ^ Port Bit  ^ PIC32 Signal Name                                             ^ Function                                    ^
 +| 0              | 52       | RF02      | SDA3/SDI3/U1RX/RF2                                            | GPIO, UART                                  |
 +| 1              | 53       | RF08      | SCL3/SDO3/U1TX/RF8                                            | GPIO, UART                                  |
 +| 2              | 18       | RE08      | AERXD0/INT1/RE8                                               | GPIO, external INT                          |
 +| 3              | 72       | RD00      | SDO1/OC1/INT0/RD0                                             | PWM 1                                       |
 +| 4              | 88       | RF01      | ETXD0/PMD10/RF1                                               | GPIO                                        |
 +| 5              | 76       | RD01      | OC2/RD1                                                       | PWM 2                                       |
 +| 6              | 77       | RD02      | OC3/RD2                                                       | PWM 3                                       |
 +| 7              | 19       | RE09      | AERXD1/INT2/RE9                                               | GPIO, external INT, USBOC INT               |
 +| 8              | 66       | RA14      | AETXCLK/SCL1/INT3/RA14                                        | GPIO, external INT (shared with P32_USBOC)  |
 +| 9              | 78       | RD03      | OC4/RD3                                                       | PWM 4                                       |
 +| 10             | 81       | RD04      | OC5/PMWR/CN13/RD4                                             | PWM 5 (JPR to digital pin 10 position)      |
 +| 11             | 12       | RG08      | ERXDV/AERXDV/ECRSDV/AECRSDV/SCL4/SDO2/U3TX/PMA3/CN10/RG8      | SPI_SDO                                     |
 +| 12             | 11       | RG07      | ECRS/SDA4/SDI2/U3RX/PMA4/CN9/RG7                              | SPI_SDI                                     |
 +| 13             | 10       | RG06      | ECOL/SCK2/U6TX/U3RTS/PMA5/CN8/RG6                             | SPI_SCK, User LED LD6                       |
 +| 14/A0          | 23       | RB02      | AN2/C2IN-/CN4/RB2                                             | AIN0, GPIO                                  |
 +| 15/A1          | 21       | RB04      | AN4/C1IN-/CN6/RB4                                             | AIN1, GPIO                                  |
 +| 16/A2          | 32       | RB08      | AN8/C1OUT/RB8                                                 | AIN2, GPIO                                  |
 +| 17/A3          | 25       | RB00      | PGED1/AN0/CN2/RB0                                             | AIN3, GPIO                                  |
 +| 18/A4          | 34       | RB10      | AN10/CVrefout/PMA13/RB10                                      | AIN4, GPIO                                  |
 +| 19/A5          | 35       | RB11      | AN11/ERXERR/AETXERR/PMA12/RB11                                | AIN5, GPIO                                  |
 +| 20/A6          | 22       | RB03      | AN3/C2IN+/CN5/RB3                                             | AIN6, GPIO                                  |
 +| 21/A7          | 20       | RB05      | AN5/C1IN+/VBUSON/CN7/RB5                                      | AIN7, P32_VBUSON                            |
 +| 22/A8          | 33       | RB09      | AN9/C2OUT/RB9                                                 | AIN8, GPIO                                  |
 +| 23/A9          | 24       | RB01      | PGEC1/AN1/CN3/RB1                                             | AIN9, GPIO                                  |
 +| 24/A10         | 43       | RB14      | AN14/ERXD2/AETXD3/PMALH/PMA1/RB14                             | AIN10, GPIO                                 |
 +| 25/A11         | 44       | RB15      | AN15/ERXD3/AETXD2/OCFB/PMALL/PMA0/CN12/RB15                   | AIN11, GPIO                                 |
 +| 26             | 93       | RE00      | PMD0/RE0                                                      | GPIO                                        |
 +| 27             | 94       | RE01      | PMD1/RE1                                                      | GPIO                                        |
 +| 28             | 98       | RE02      | PMD2/RE2                                                      | GPIO                                        |
 +| 29             | 99       | RE03      | PMD3/RE3                                                      | GPIO                                        |
 +| 30             | 100      | RE04      | PMD4/RE4                                                      | GPIO                                        |
 +| 31             | 3        | RE05      | PMD5/RE5                                                      | GPIO                                        |
 +| 32             | 4        | RE06      | PMD6/RE6                                                      | GPIO                                        |
 +| 33             | 5        | RE07      | PMD7/RE7                                                      | GPIO                                        |
 +| 34             | 82       | RD05      | PMRD/CN14/RD5                                                 | GPIO                                        |
 +| 35             | 71       | RD11      | EMDC/AEMDC/IC4/PMCS1/PMA14/RD11                               | GPIO                                        |
 +| 36             | 83       | RD06      | ETXEN/PMD14/CN15/RD6                                          | GPIO                                        |
 +| 37             | 84       | RD07      | ETXCLK/PMD15/CN16/RD7                                         | GPIO                                        |
 +| 38             | 9        | RC04      | T5CK/SDI1/RC4                                                 | GPIO                                        |
 +| 39             | 47       | RD14      | AETXD0/SS3/U4RX/U1CTS/CN20/RD14                               | GPIO, UART                                  |
 +| 40             | 48       | RD15      | AETXD1/SCK3/U4TX/U1RTS/CN21/RD15                              | GPIO, UART                                  |
 +| 41             | 28       | RA09      | Vref-/CVref-/AERXD2/PMA7/RA9                                  | GPIO, VREF-                                 |
 +| 42             | 29       | RA10      | Vref+/CVref+/AERXD3/PMA6/RA10                                 | VREF+                                       |
 +| 43             | 87       | RF00      | ETXD1/PMD11/RF0                                               | User LED LD5                                |
 +| 44             | 14       | RG09      | ERXCLK/AERXCLK/EREFCLK/AEREFCLK/SS2/U6RX/U3CTS/PMA2/CN11/RG9  | SPI_SS (JPR to digital pin 10 position)     |
 +| 45             | 58       | RA02      | SCL2/RA2                                                      | I2C, wire (jumper to A5)                    |
 +| 46             | 59       | RA03      | SDA2/RA3                                                      | I2C, wire (jumper to A4)                    |
 +| 47             | 17       | RA00      | TMS/RA0                                                       | User LED LD3                                |
 +| 48             | 38       | RA01      | TCK/RA1                                                       | User LED LD4                                |
 +| 49             | 1        | RG15      | AERXERR/RG15                                                  | SD Card                                     |
 +| 50             | 95       | RG14      | TRD2/RG14                                                     | SD Card                                     |
 +| 51             | 96       | RG12      | TRD1/RG12                                                     | SD Card                                     |
 +| 52             | 97       | RG13      | TRD0/RG13                                                     | SD Card                                     |
 +| 53             | 39       | RF13      | SCK4/U5TX/U2RTS/RF13                                          | MRF24 SPI                                   |
 +| 54             | 40       | RF12      | SS4/U5RX/U2CTS/RF12                                           | MRF24 SPI                                   |
 +| 55             | 49       | RF04      | SDA5/SDI4/U2RX/PMA9/CN17/RF4                                  | MRF24 SPI                                   |
 +| 56             | 50       | RF05      | SCL5/SDO4/U2TX/PMA8/CN18/RF5                                  | MRF24 SPI                                   |
 +| 57             | 67       | RA15      | AETXEN/SDA1/INT4/RA15                                         | MRF24 INT                                   |
 +| 58             | 89       | RG01      | ETXERR/PMD9/RG1                                               | MRF24 HIBERNATE                             |
 +| 59             | 90       | RG00      | PMD8/RG0                                                      | MRF24 RESET                                 |
 +| 60             | 41       | RB12      | AN12/ERXD0/AECRS/PMA11/RB12                                   | power supply input voltage monitor          |
 +| 61             | 42       | RB13      | AN13/ERXD1/AECOL/PMA10/RB13                                   |                                             |
 +| 62             | 60       | RA04      | TDI/RA4                                                       | I2C Pullup (SDA)                            |
 +| 63             | 61       | RA05      | TDO/RA5                                                       | I2C Pullup (SCL)                            |
 +| 64             | 80       | RD13      | ETXD3/PMD13/CN19/RD13                                         | 5V Power Enable                             |
 +| 65             | 91       | RA06      | TRCLK/RA6                                                     | BTN1                                        |
 +| 66             | 92       | RA07      | TRD3/RA7                                                      | BTN2                                        |
 +| 67             | 6        | RC01      | T2CK/RC1                                                      | (shared with digital pin 34)                |
 +| 68             | 7        | RC02      | T3CK/RC2                                                      | (shared with digital pin 35)                |
 +| 69             | 8        | RC03      | T4CK/RC3                                                      | (shared with digital pin 36)                |
 +| 70             | 68       | RD08      | RTCC/EMDIO/AEMDIO/IC1/RD8                                     | (shared with digital pin 2)                 |
 +| 71             | 69       | RD09      | SS1/IC2/RD9                                                   | (shared with digital pin 7)                 |
 +| 72             | 70       | RD10      | SCK1/IC3/PMCS2/PMA15/RD10                                     | (shared with digital pin 8)                 |
 +| 73             | 79       | RD12      | ETXD2/IC5/PMD12/RD12                                          | (shared with digital pin 10)                |
 +| N/A            | 26       | RB06      | PGEC2/AN6/OCFA/RB6                                            | ICSP                                        |
 +| N/A            | 27       | RB07      | PGED2/AN7/RB7                                                 | ICSP                                        |
 +| N/A            | 63       | RC12      | OSC1/CLKI/RC12                                                | XTAL                                        |
 +| N/A            | 73       | RC13      | SOSCI/CN1/RC13                                                | SOSC XTAL                                   |
 +| N/A            | 74       | RC14      | SOSCO/T1CK/CN0/RC14                                           | SOSC XTAL                                   |
 +| N/A            | 64       | RC15      | OSC2/CLKO/RC15                                                | XTAL                                        |
 +| N/A            | 51       | RF03      | USBID/RF3                                                     | P32_USBID                                   |
 +| N/A            | 57       | RG02      | D+/RG2                                                        | P32_USBD+                                   |
 +| N/A            | 56       | RG03      | D-/RG3                                                        | P32_USBD-                                   |
 +| N/A            | 2        |           | VDD                                                           | POWER                                       |
 +| N/A            | 13       |           | MCLR                                                          | ICSP                                        |
 +| N/A            | 15       |           | VSS                                                           | POWER                                       |
 +| N/A            | 16       |           | VDD                                                           | POWER                                       |
 +| N/A            | 30       |           | AVDD                                                          | POWER                                       |
 +| N/A            | 31       |           | AVSS                                                          | POWER                                       |
 +| N/A            | 36       |           | VSS                                                           | POWER                                       |
 +| N/A            | 37       |           | VDD                                                           | POWER                                       |
 +| N/A            | 45       |           | VSS                                                           | POWER                                       |
 +| N/A            | 46       |           | VDD                                                           | POWER                                       |
 +| N/A            | 54       |           | VBUS                                                          | POWER                                       |
 +| N/A            | 55       |           | VUSB                                                          | POWER                                       |
 +| N/A            | 62       |           | VDD                                                           | POWER                                       |
 +| N/A            | 65       |           | VSS                                                           | POWER                                       |
 +| N/A            | 75       |           | VSS                                                           | POWER                                       |
 +| N/A            | 85       |           | VCAP/VDDCORE                                                  | POWER                                       |
 +| N/A            | 86       |           | VDD                                                           | POWER                                       |
  
  
 +===== 12.2 Pinout Table by MCU Port and Bit =====
  
 +^ Port Bit  ^ MCU pin  ^ chipKIT Pin #  ^ PIC32 Signal Name                                             ^ Function                                    ^
 +| RA00      | 17       | 47             | TMS/RA0                                                       | User LED LD3                                |
 +| RA01      | 38       | 48             | TCK/RA1                                                       | User LED LD4                                |
 +| RA02      | 58       | 45             | SCL2/RA2                                                      | I2C, wire (jumper to A5)                    |
 +| RA03      | 59       | 46             | SDA2/RA3                                                      | I2C, wire (jumper to A4)                    |
 +| RA04      | 60       | 62             | TDI/RA4                                                       | I2C Pullup (SDA)                            |
 +| RA05      | 61       | 63             | TDO/RA5                                                       | I2C Pullup (SCL)                            |
 +| RA06      | 91       | 65             | TRCLK/RA6                                                     | BTN1                                        |
 +| RA07      | 92       | 66             | TRD3/RA7                                                      | BTN2                                        |
 +| RA09      | 28       | 41             | Vref-/CVref-/AERXD2/PMA7/RA9                                  | GPIO, VREF-                                 |
 +| RA10      | 29       | 42             | Vref+/CVref+/AERXD3/PMA6/RA10                                 | VREF+                                       |
 +| RA14      | 66       | 8              | AETXCLK/SCL1/INT3/RA14                                        | GPIO, external INT (shared with P32_USBOC)  |
 +| RA15      | 67       | 57             | AETXEN/SDA1/INT4/RA15                                         | MRF24 INT                                   |
 +| RB00      | 25       | 17/A3          | PGED1/AN0/CN2/RB0                                             | AIN3, GPIO                                  |
 +| RB01      | 24       | 23/A9          | PGEC1/AN1/CN3/RB1                                             | AIN9, GPIO                                  |
 +| RB02      | 23       | 14/A0          | AN2/C2IN-/CN4/RB2                                             | AIN0, GPIO                                  |
 +| RB03      | 22       | 20/A6          | AN3/C2IN+/CN5/RB3                                             | AIN6, GPIO                                  |
 +| RB04      | 21       | 15/A1          | AN4/C1IN-/CN6/RB4                                             | AIN1, GPIO                                  |
 +| RB05      | 20       | 21/A7          | AN5/C1IN+/VBUSON/CN7/RB5                                      | AIN7, P32_VBUSON                            |
 +| RB06      | 26       | N/A            | PGEC2/AN6/OCFA/RB6                                            | ICSP                                        |
 +| RB07      | 27       | N/A            | PGED2/AN7/RB7                                                 | ICSP                                        |
 +| RB08      | 32       | 16/A2          | AN8/C1OUT/RB8                                                 | AIN2, GPIO                                  |
 +| RB09      | 33       | 22/A8          | AN9/C2OUT/RB9                                                 | AIN8, GPIO                                  |
 +| RB10      | 34       | 18/A4          | AN10/CVrefout/PMA13/RB10                                      | AIN4, GPIO                                  |
 +| RB11      | 35       | 19/A5          | AN11/ERXERR/AETXERR/PMA12/RB11                                | AIN5, GPIO                                  |
 +| RB12      | 41       | 60             | AN12/ERXD0/AECRS/PMA11/RB12                                   | power supply input voltage monitor          |
 +| RB13      | 42       | 61             | AN13/ERXD1/AECOL/PMA10/RB13                                   |                                             |
 +| RB14      | 43       | 24/A10         | AN14/ERXD2/AETXD3/PMALH/PMA1/RB14                             | AIN10, GPIO                                 |
 +| RB15      | 44       | 25/A11         | AN15/ERXD3/AETXD2/OCFB/PMALL/PMA0/CN12/RB15                   | AIN11, GPIO                                 |
 +| RC01      | 6        | 67             | T2CK/RC1                                                      | (shared with digital pin 34)                |
 +| RC02      | 7        | 68             | T3CK/RC2                                                      | (shared with digital pin 35)                |
 +| RC03      | 8        | 69             | T4CK/RC3                                                      | (shared with digital pin 36)                |
 +| RC04      | 9        | 38             | T5CK/SDI1/RC4                                                 | GPIO                                        |
 +| RC12      | 63       | N/A            | OSC1/CLKI/RC12                                                | XTAL                                        |
 +| RC13      | 73       | N/A            | SOSCI/CN1/RC13                                                | SOSC XTAL                                   |
 +| RC14      | 74       | N/A            | SOSCO/T1CK/CN0/RC14                                           | SOSC XTAL                                   |
 +| RC15      | 64       | N/A            | OSC2/CLKO/RC15                                                | XTAL                                        |
 +| RD00      | 72       | 3              | SDO1/OC1/INT0/RD0                                             | PWM 1                                       |
 +| RD01      | 76       | 5              | OC2/RD1                                                       | PWM 2                                       |
 +| RD02      | 77       | 6              | OC3/RD2                                                       | PWM 3                                       |
 +| RD03      | 78       | 9              | OC4/RD3                                                       | PWM 4                                       |
 +| RD04      | 81       | 10             | OC5/PMWR/CN13/RD4                                             | PWM 5 (JPR to digital pin 10 position)      |
 +| RD05      | 82       | 34             | PMRD/CN14/RD5                                                 | GPIO                                        |
 +| RD06      | 83       | 36             | ETXEN/PMD14/CN15/RD6                                          | GPIO                                        |
 +| RD07      | 84       | 37             | ETXCLK/PMD15/CN16/RD7                                         | GPIO                                        |
 +| RD08      | 68       | 70             | RTCC/EMDIO/AEMDIO/IC1/RD8                                     | (shared with digital pin 2)                 |
 +| RD09      | 69       | 71             | SS1/IC2/RD9                                                   | (shared with digital pin 7)                 |
 +| RD10      | 70       | 72             | SCK1/IC3/PMCS2/PMA15/RD10                                     | (shared with digital pin 8)                 |
 +| RD11      | 71       | 35             | EMDC/AEMDC/IC4/PMCS1/PMA14/RD11                               | GPIO                                        |
 +| RD12      | 79       | 73             | ETXD2/IC5/PMD12/RD12                                          | (shared with digital pin 10)                |
 +| RD13      | 80       | 64             | ETXD3/PMD13/CN19/RD13                                         | 5V Power Enable                             |
 +| RD14      | 47       | 39             | AETXD0/SS3/U4RX/U1CTS/CN20/RD14                               | GPIO, UART                                  |
 +| RD15      | 48       | 40             | AETXD1/SCK3/U4TX/U1RTS/CN21/RD15                              | GPIO, UART                                  |
 +| RE00      | 93       | 26             | PMD0/RE0                                                      | GPIO                                        |
 +| RE01      | 94       | 27             | PMD1/RE1                                                      | GPIO                                        |
 +| RE02      | 98       | 28             | PMD2/RE2                                                      | GPIO                                        |
 +| RE03      | 99       | 29             | PMD3/RE3                                                      | GPIO                                        |
 +| RE04      | 100      | 30             | PMD4/RE4                                                      | GPIO                                        |
 +| RE05      | 3        | 31             | PMD5/RE5                                                      | GPIO                                        |
 +| RE06      | 4        | 32             | PMD6/RE6                                                      | GPIO                                        |
 +| RE07      | 5        | 33             | PMD7/RE7                                                      | GPIO                                        |
 +| RE08      | 18       | 2              | AERXD0/INT1/RE8                                               | GPIO, external INT                          |
 +| RE09      | 19       | 7              | AERXD1/INT2/RE9                                               | GPIO, external INT, USBOC INT               |
 +| RF00      | 87       | 43             | ETXD1/PMD11/RF0                                               | User LED LD5                                |
 +| RF01      | 88       | 4              | ETXD0/PMD10/RF1                                               | GPIO                                        |
 +| RF02      | 52       | 0              | SDA3/SDI3/U1RX/RF2                                            | GPIO, UART                                  |
 +| RF03      | 51       | N/A            | USBID/RF3                                                     | P32_USBID                                   |
 +| RF04      | 49       | 55             | SDA5/SDI4/U2RX/PMA9/CN17/RF4                                  | MRF24 SPI                                   |
 +| RF05      | 50       | 56             | SCL5/SDO4/U2TX/PMA8/CN18/RF5                                  | MRF24 SPI                                   |
 +| RF08      | 53       | 1              | SCL3/SDO3/U1TX/RF8                                            | GPIO, UART                                  |
 +| RF12      | 40       | 54             | SS4/U5RX/U2CTS/RF12                                           | MRF24 SPI                                   |
 +| RF13      | 39       | 53             | SCK4/U5TX/U2RTS/RF13                                          | MRF24 SPI                                   |
 +| RG00      | 90       | 59             | PMD8/RG0                                                      | MRF24 RESET                                 |
 +| RG01      | 89       | 58             | ETXERR/PMD9/RG1                                               | MRF24 HIBERNATE                             |
 +| RG02      | 57       | N/A            | D+/RG2                                                        | P32_USBD+                                   |
 +| RG03      | 56       | N/A            | D-/RG3                                                        | P32_USBD-                                   |
 +| RG06      | 10       | 13             | ECOL/SCK2/U6TX/U3RTS/PMA5/CN8/RG6                             | SPI_SCK, User LED LD6                       |
 +| RG07      | 11       | 12             | ECRS/SDA4/SDI2/U3RX/PMA4/CN9/RG7                              | SPI_SDI                                     |
 +| RG08      | 12       | 11             | ERXDV/AERXDV/ECRSDV/AECRSDV/SCL4/SDO2/U3TX/PMA3/CN10/RG8      | SPI_SDO                                     |
 +| RG09      | 14       | 44             | ERXCLK/AERXCLK/EREFCLK/AEREFCLK/SS2/U6RX/U3CTS/PMA2/CN11/RG9  | SPI_SS (JPR to digital pin 10 position)     |
 +| RG12      | 96       | 51             | TRD1/RG12                                                     | SD Card                                     |
 +| RG13      | 97       | 52             | TRD0/RG13                                                     | SD Card                                     |
 +| RG14      | 95       | 50             | TRD2/RG14                                                     | SD Card                                     |
 +| RG15      | 1        | 49             | AERXERR/RG15                                                  | SD Card                                     |
 +|           | 2        | N/A            | VDD                                                           | POWER                                       |
 +|           | 13       | N/A            | MCLR                                                          | ICSP                                        |
 +|           | 15       | N/A            | VSS                                                           | POWER                                       |
 +|           | 16       | N/A            | VDD                                                           | POWER                                       |
 +|           | 30       | N/A            | AVDD                                                          | POWER                                       |
 +|           | 31       | N/A            | AVSS                                                          | POWER                                       |
 +|           | 36       | N/A            | VSS                                                           | POWER                                       |
 +|           | 37       | N/A            | VDD                                                           | POWER                                       |
 +|           | 45       | N/A            | VSS                                                           | POWER                                       |
 +|           | 46       | N/A            | VDD                                                           | POWER                                       |
 +|           | 54       | N/A            | VBUS                                                          | POWER                                       |
 +|           | 55       | N/A            | VUSB                                                          | POWER                                       |
 +|           | 62       | N/A            | VDD                                                           | POWER                                       |
 +|           | 65       | N/A            | VSS                                                           | POWER                                       |
 +|           | 75       | N/A            | VSS                                                           | POWER                                       |
 +|           | 85       | N/A            | VCAP/VDDCORE                                                  | POWER                                       |
 +|           | 86       | N/A            | VDD                                                           | POWER                                       |
  
  
  
 +===== 12.3 Pinout Table by PIC32 Microcontroller Pin =====
  
 +^ MCU Pin  ^ Port Bit  ^ chipKIT Pin #  ^ PIC32 Signal Name                                             ^ Function                                    ^
 +| 1        | RG15      | 49             | AERXERR/RG15                                                  | SD Card                                     |
 +| 2        |           | N/A            | VDD                                                           | POWER                                       |
 +| 3        | RE05      | 31             | PMD5/RE5                                                      | GPIO                                        |
 +| 4        | RE06      | 32             | PMD6/RE6                                                      | GPIO                                        |
 +| 5        | RE07      | 33             | PMD7/RE7                                                      | GPIO                                        |
 +| 6        | RC01      | 67             | T2CK/RC1                                                      | (shared with digital pin 34)                |
 +| 7        | RC02      | 68             | T3CK/RC2                                                      | (shared with digital pin 35)                |
 +| 8        | RC03      | 69             | T4CK/RC3                                                      | (shared with digital pin 36)                |
 +| 9        | RC04      | 38             | T5CK/SDI1/RC4                                                 | GPIO                                        |
 +| 10       | RG06      | 13             | ECOL/SCK2/U6TX/U3RTS/PMA5/CN8/RG6                             | SPI_SCK, User LED LD6                       |
 +| 11       | RG07      | 12             | ECRS/SDA4/SDI2/U3RX/PMA4/CN9/RG7                              | SPI_SDI                                     |
 +| 12       | RG08      | 11             | ERXDV/AERXDV/ECRSDV/AECRSDV/SCL4/SDO2/U3TX/PMA3/CN10/RG8      | SPI_SDO                                     |
 +| 13       |           | N/A            | MCLR                                                          | ICSP                                        |
 +| 14       | RG09      | 44             | ERXCLK/AERXCLK/EREFCLK/AEREFCLK/SS2/U6RX/U3CTS/PMA2/CN11/RG9  | SPI_SS (JPR to digital pin 10 position)     |
 +| 15       |           | N/A            | VSS                                                           | POWER                                       |
 +| 16       |           | N/A            | VDD                                                           | POWER                                       |
 +| 17       | RA00      | 47             | TMS/RA0                                                       | User LED LD3                                |
 +| 18       | RE08      | 2              | AERXD0/INT1/RE8                                               | GPIO, external INT                          |
 +| 19       | RE09      | 7              | AERXD1/INT2/RE9                                               | GPIO, external INT, USBOC INT               |
 +| 20       | RB05      | 21/A7          | AN5/C1IN+/VBUSON/CN7/RB5                                      | AIN7, P32_VBUSON                            |
 +| 21       | RB04      | 15/A1          | AN4/C1IN-/CN6/RB4                                             | AIN1, GPIO                                  |
 +| 22       | RB03      | 20/A6          | AN3/C2IN+/CN5/RB3                                             | AIN6, GPIO                                  |
 +| 23       | RB02      | 14/A0          | AN2/C2IN-/CN4/RB2                                             | AIN0, GPIO                                  |
 +| 24       | RB01      | 23/A9          | PGEC1/AN1/CN3/RB1                                             | AIN9, GPIO                                  |
 +| 25       | RB00      | 17/A3          | PGED1/AN0/CN2/RB0                                             | AIN3, GPIO                                  |
 +| 26       | RB06      | N/A            | PGEC2/AN6/OCFA/RB6                                            | ICSP                                        |
 +| 27       | RB07      | N/A            | PGED2/AN7/RB7                                                 | ICSP                                        |
 +| 28       | RA09      | 41             | Vref-/CVref-/AERXD2/PMA7/RA9                                  | GPIO, VREF-                                 |
 +| 29       | RA10      | 42             | Vref+/CVref+/AERXD3/PMA6/RA10                                 | VREF+                                       |
 +| 30       |           | N/A            | AVDD                                                          | POWER                                       |
 +| 31       |           | N/A            | AVSS                                                          | POWER                                       |
 +| 32       | RB08      | 16/A2          | AN8/C1OUT/RB8                                                 | AIN2, GPIO                                  |
 +| 33       | RB09      | 22/A8          | AN9/C2OUT/RB9                                                 | AIN8, GPIO                                  |
 +| 34       | RB10      | 18/A4          | AN10/CVrefout/PMA13/RB10                                      | AIN4, GPIO                                  |
 +| 35       | RB11      | 19/A5          | AN11/ERXERR/AETXERR/PMA12/RB11                                | AIN5, GPIO                                  |
 +| 36       |           | N/A            | VSS                                                           | POWER                                       |
 +| 37       |           | N/A            | VDD                                                           | POWER                                       |
 +| 38       | RA01      | 48             | TCK/RA1                                                       | User LED LD4                                |
 +| 39       | RF13      | 53             | SCK4/U5TX/U2RTS/RF13                                          | MRF24 SPI                                   |
 +| 40       | RF12      | 54             | SS4/U5RX/U2CTS/RF12                                           | MRF24 SPI                                   |
 +| 41       | RB12      | 60             | AN12/ERXD0/AECRS/PMA11/RB12                                   | power supply input voltage monitor          |
 +| 42       | RB13      | 61             | AN13/ERXD1/AECOL/PMA10/RB13                                   |                                             |
 +| 43       | RB14      | 24/A10         | AN14/ERXD2/AETXD3/PMALH/PMA1/RB14                             | AIN10, GPIO                                 |
 +| 44       | RB15      | 25/A11         | AN15/ERXD3/AETXD2/OCFB/PMALL/PMA0/CN12/RB15                   | AIN11, GPIO                                 |
 +| 45       |           | N/A            | VSS                                                           | POWER                                       |
 +| 46       |           | N/A            | VDD                                                           | POWER                                       |
 +| 47       | RD14      | 39             | AETXD0/SS3/U4RX/U1CTS/CN20/RD14                               | GPIO, UART                                  |
 +| 48       | RD15      | 40             | AETXD1/SCK3/U4TX/U1RTS/CN21/RD15                              | GPIO, UART                                  |
 +| 49       | RF04      | 55             | SDA5/SDI4/U2RX/PMA9/CN17/RF4                                  | MRF24 SPI                                   |
 +| 50       | RF05      | 56             | SCL5/SDO4/U2TX/PMA8/CN18/RF5                                  | MRF24 SPI                                   |
 +| 51       | RF03      | N/A            | USBID/RF3                                                     | P32_USBID                                   |
 +| 52       | RF02      | 0              | SDA3/SDI3/U1RX/RF2                                            | GPIO, UART                                  |
 +| 53       | RF08      | 1              | SCL3/SDO3/U1TX/RF8                                            | GPIO, UART                                  |
 +| 54       |           | N/A            | VBUS                                                          | POWER                                       |
 +| 55       |           | N/A            | VUSB                                                          | POWER                                       |
 +| 56       | RG03      | N/A            | D-/RG3                                                        | P32_USBD-                                   |
 +| 57       | RG02      | N/A            | D+/RG2                                                        | P32_USBD+                                   |
 +| 58       | RA02      | 45             | SCL2/RA2                                                      | I2C, wire (jumper to A5)                    |
 +| 59       | RA03      | 46             | SDA2/RA3                                                      | I2C, wire (jumper to A4)                    |
 +| 60       | RA04      | 62             | TDI/RA4                                                       | I2C Pullup (SDA)                            |
 +| 61       | RA05      | 63             | TDO/RA5                                                       | I2C Pullup (SCL)                            |
 +| 62       |           | N/A            | VDD                                                           | POWER                                       |
 +| 63       | RC12      | N/A            | OSC1/CLKI/RC12                                                | XTAL                                        |
 +| 64       | RC15      | N/A            | OSC2/CLKO/RC15                                                | XTAL                                        |
 +| 65       |           | N/A            | VSS                                                           | POWER                                       |
 +| 66       | RA14      | 8              | AETXCLK/SCL1/INT3/RA14                                        | GPIO, external INT (shared with P32_USBOC)  |
 +| 67       | RA15      | 57             | AETXEN/SDA1/INT4/RA15                                         | MRF24 INT                                   |
 +| 68       | RD08      | 70             | RTCC/EMDIO/AEMDIO/IC1/RD8                                     | (shared with digital pin 2)                 |
 +| 69       | RD09      | 71             | SS1/IC2/RD9                                                   | (shared with digital pin 7)                 |
 +| 70       | RD10      | 72             | SCK1/IC3/PMCS2/PMA15/RD10                                     | (shared with digital pin 8)                 |
 +| 71       | RD11      | 35             | EMDC/AEMDC/IC4/PMCS1/PMA14/RD11                               | GPIO                                        |
 +| 72       | RD00      | 3              | SDO1/OC1/INT0/RD0                                             | PWM 1                                       |
 +| 73       | RC13      | N/A            | SOSCI/CN1/RC13                                                | SOSC XTAL                                   |
 +| 74       | RC14      | N/A            | SOSCO/T1CK/CN0/RC14                                           | SOSC XTAL                                   |
 +| 75       |           | N/A            | VSS                                                           | POWER                                       |
 +| 76       | RD01      | 5              | OC2/RD1                                                       | PWM 2                                       |
 +| 77       | RD02      | 6              | OC3/RD2                                                       | PWM 3                                       |
 +| 78       | RD03      | 9              | OC4/RD3                                                       | PWM 4                                       |
 +| 79       | RD12      | 73             | ETXD2/IC5/PMD12/RD12                                          | (shared with digital pin 10)                |
 +| 80       | RD13      | 64             | ETXD3/PMD13/CN19/RD13                                         | 5V Power Enable                             |
 +| 81       | RD04      | 10             | OC5/PMWR/CN13/RD4                                             | PWM 5 (JPR to digital pin 10 position)      |
 +| 82       | RD05      | 34             | PMRD/CN14/RD5                                                 | GPIO                                        |
 +| 83       | RD06      | 36             | ETXEN/PMD14/CN15/RD6                                          | GPIO                                        |
 +| 84       | RD07      | 37             | ETXCLK/PMD15/CN16/RD7                                         | GPIO                                        |
 +| 85       |           | N/A            | VCAP/VDDCORE                                                  | POWER                                       |
 +| 86       |           | N/A            | VDD                                                           | POWER                                       |
 +| 87       | RF00      | 43             | ETXD1/PMD11/RF0                                               | User LED LD5                                |
 +| 88       | RF01      | 4              | ETXD0/PMD10/RF1                                               | GPIO                                        |
 +| 89       | RG01      | 58             | ETXERR/PMD9/RG1                                               | MRF24 HIBERNATE                             |
 +| 90       | RG00      | 59             | PMD8/RG0                                                      | MRF24 RESET                                 |
 +| 91       | RA06      | 65             | TRCLK/RA6                                                     | BTN1                                        |
 +| 92       | RA07      | 66             | TRD3/RA7                                                      | BTN2                                        |
 +| 93       | RE00      | 26             | PMD0/RE0                                                      | GPIO                                        |
 +| 94       | RE01      | 27             | PMD1/RE1                                                      | GPIO                                        |
 +| 95       | RG14      | 50             | TRD2/RG14                                                     | SD Card                                     |
 +| 96       | RG12      | 51             | TRD1/RG12                                                     | SD Card                                     |
 +| 97       | RG13      | 52             | TRD0/RG13                                                     | SD Card                                     |
 +| 98       | RE02      | 28             | PMD2/RE2                                                      | GPIO                                        |
 +| 99       | RE03      | 29             | PMD3/RE3                                                      | GPIO                                        |
 +| 10       | RE04      | 30             | PMD4/RE4                                                      | GPIO                                        |