Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| chipkit_wf32:refmanual [2015/04/30 19:07] – [10.1 UART Ports] Martha | chipkit_wf32:refmanual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 48: | Line 48: | ||
| | 1 | IC3- Microchip MRF24WG0MA WiFi Module | | 1 | IC3- Microchip MRF24WG0MA WiFi Module | ||
| | 2 | User Buttons | | 2 | User Buttons | ||
| - | | 3 | + | | 3 |
| | 4 | J6- I2C Signals | | 4 | J6- I2C Signals | ||
| | 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 | | 6 | JP1- Reset Disable | ||
| - | | 7 | + | | 7 |
| | 8 | JP3- Pin 10 Signal Select Jumper | | 8 | JP3- Pin 10 Signal Select Jumper | ||
| | 9 | PIC32 Microcontroller | | 9 | PIC32 Microcontroller | ||
| | 10 | Potentiometer | | 10 | Potentiometer | ||
| - | | 11 | J7- Digital Signal Connector | + | | 11 | J9- Digital Signal 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 | | 13 | JP6,7- SPI Master/ SPI Slave Select | ||
| | 14 | J10- SPI Connector | | 14 | J10- SPI Connector | ||
| | 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: | ||
| + | \\ | ||
| + | \\ | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | \\ | ||
| + | these should be corrected to:\\ | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | \\ | ||
| + | Users can access the board defs file by following the path C: | ||
| + | You can edit the file through a program such as notepad and find the appropriate lines starting on line #102 // | ||
| ---- | ---- | ||
| Line 244: | Line 261: | ||
| </ | </ | ||
| - | The Digilent chipKIT network libraries are available | + | The Digilent chipKIT network libraries are available |
| 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 384: | Line 401: | ||
| - | ==== 10.2 SPI ==== | + | ===== 10.2 SPI ===== |
| Synchronous serial port. Pin 10 (SS), Pin 11 (MOSI), Pin 12 (MISO), Pin 13 (SCK).This can be accessed using the SPI | Synchronous serial port. Pin 10 (SS), Pin 11 (MOSI), Pin 12 (MISO), Pin 13 (SCK).This can be accessed using the SPI | ||
| 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. | + | the PWM position to select PWM output. It should be in the SS position to select the SPI SS function. |
| 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 418: | Line 435: | ||
| - | ==== 10.3 𝐈𝟐C | + | ===== 10.3 I2C ===== |
| Line 429: | Line 446: | ||
| Note: The I2C bus uses open collector drivers to allow multiple devices to drive the bus signals. This means that | Note: The I2C bus uses open collector drivers to allow multiple devices to drive the bus signals. This means that | ||
| pull-up resistors must be provided to supply the logic high state for the signals. These pull-up resistors are labeled | pull-up resistors must be provided to supply the logic high state for the signals. These pull-up resistors are labeled | ||
| - | R18 and R19 on the WF32 board, but they require that chipKIT pin numbers 62 and 63 are driven to a logic high | + | R18 and R19 on the WF32 board, but they require that chipKIT pin numbers 62 and 63 are driven to a logic high ('1') level. |
| - | (‘1’) level. | + | |
| + | **In MPLAB X:** | ||
| + | < | ||
| + | //disables the jtag module | ||
| + | DDPCONbits.JTAGEN = 0; | ||
| + | //Drive RA2 and RA3 to digital high | ||
| + | TRISASET = 0xC; | ||
| + | PORTASET = 0xC; | ||
| + | </ | ||
| + | **In MPIDE:** | ||
| + | < | ||
| + | //the jtag module is disabled by default | ||
| + | pinMode(62, OUTPUT); | ||
| + | pinMode(63, OUTPUT); | ||
| + | digitalWrite(62, | ||
| + | digitalWrite(63, | ||
| + | </ | ||
| - | ==== 10.4 PWM ==== | + | ===== 10.4 PWM ===== |
| Line 442: | Line 474: | ||
| - | ==== 10.5 External Interrupts ==== | + | ===== 10.5 External Interrupts |
| Line 450: | Line 482: | ||
| - | ==== 10.6 User LEDs ==== | + | ===== 10.6 User LEDs ===== |
| - | 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. | ||
| - | ==== 10.7 User Push Buttons ==== | + | ===== 10.7 User Push Buttons |
| Line 465: | 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 472: | Line 504: | ||
| - | ==== 10.9 Potentiometer ==== | + | ===== 10.9 Potentiometer |
| Line 480: | 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 489: | 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 517: | Line 549: | ||
| microcontroller. | microcontroller. | ||
| + | |||
| + | ---- | ||
| - | ===== 11 Microchip Development Tool Compatibility ===== | + | ====== 11 Microchip Development Tool Compatibility |
| Line 544: | 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 556: | 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 567: | 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' |
| 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 | + | ===== 12.1 Pinout Table by chipKIT |
| - | + | ||
| + | ^ chipKIT Pin # ^ MCU Pin ^ Port Bit ^ PIC32 Signal Name ^ Function | ||
| + | | 0 | 52 | RF02 | SDA3/ | ||
| + | | 1 | 53 | RF08 | SCL3/ | ||
| + | | 2 | 18 | RE08 | AERXD0/ | ||
| + | | 3 | 72 | RD00 | SDO1/ | ||
| + | | 4 | 88 | RF01 | ETXD0/ | ||
| + | | 5 | 76 | RD01 | OC2/ | ||
| + | | 6 | 77 | RD02 | OC3/ | ||
| + | | 7 | 19 | RE09 | AERXD1/ | ||
| + | | 8 | 66 | RA14 | AETXCLK/ | ||
| + | | 9 | 78 | RD03 | OC4/ | ||
| + | | 10 | 81 | RD04 | OC5/ | ||
| + | | 11 | 12 | RG08 | ERXDV/ | ||
| + | | 12 | 11 | RG07 | ECRS/ | ||
| + | | 13 | 10 | RG06 | ECOL/ | ||
| + | | 14/A0 | 23 | RB02 | AN2/ | ||
| + | | 15/A1 | 21 | RB04 | AN4/ | ||
| + | | 16/A2 | 32 | RB08 | AN8/ | ||
| + | | 17/A3 | 25 | RB00 | PGED1/ | ||
| + | | 18/A4 | 34 | RB10 | AN10/ | ||
| + | | 19/A5 | 35 | RB11 | AN11/ | ||
| + | | 20/A6 | 22 | RB03 | AN3/ | ||
| + | | 21/A7 | 20 | RB05 | AN5/ | ||
| + | | 22/A8 | 33 | RB09 | AN9/ | ||
| + | | 23/A9 | 24 | RB01 | PGEC1/ | ||
| + | | 24/ | ||
| + | | 25/ | ||
| + | | 26 | 93 | RE00 | PMD0/ | ||
| + | | 27 | 94 | RE01 | PMD1/ | ||
| + | | 28 | 98 | RE02 | PMD2/ | ||
| + | | 29 | 99 | RE03 | PMD3/ | ||
| + | | 30 | 100 | RE04 | PMD4/ | ||
| + | | 31 | 3 | RE05 | PMD5/ | ||
| + | | 32 | 4 | RE06 | PMD6/ | ||
| + | | 33 | 5 | RE07 | PMD7/ | ||
| + | | 34 | 82 | RD05 | PMRD/ | ||
| + | | 35 | 71 | RD11 | EMDC/ | ||
| + | | 36 | 83 | RD06 | ETXEN/ | ||
| + | | 37 | 84 | RD07 | ETXCLK/ | ||
| + | | 38 | 9 | RC04 | T5CK/ | ||
| + | | 39 | 47 | RD14 | AETXD0/ | ||
| + | | 40 | 48 | RD15 | AETXD1/ | ||
| + | | 41 | 28 | RA09 | Vref-/ | ||
| + | | 42 | 29 | RA10 | Vref+/ | ||
| + | | 43 | 87 | RF00 | ETXD1/ | ||
| + | | 44 | 14 | RG09 | ERXCLK/ | ||
| + | | 45 | 58 | RA02 | SCL2/ | ||
| + | | 46 | 59 | RA03 | SDA2/ | ||
| + | | 47 | 17 | RA00 | TMS/ | ||
| + | | 48 | 38 | RA01 | TCK/ | ||
| + | | 49 | 1 | RG15 | AERXERR/ | ||
| + | | 50 | 95 | RG14 | TRD2/ | ||
| + | | 51 | 96 | RG12 | TRD1/ | ||
| + | | 52 | 97 | RG13 | TRD0/ | ||
| + | | 53 | 39 | RF13 | SCK4/ | ||
| + | | 54 | 40 | RF12 | SS4/ | ||
| + | | 55 | 49 | RF04 | SDA5/ | ||
| + | | 56 | 50 | RF05 | SCL5/ | ||
| + | | 57 | 67 | RA15 | AETXEN/ | ||
| + | | 58 | 89 | RG01 | ETXERR/ | ||
| + | | 59 | 90 | RG00 | PMD8/ | ||
| + | | 60 | 41 | RB12 | AN12/ | ||
| + | | 61 | 42 | RB13 | AN13/ | ||
| + | | 62 | 60 | RA04 | TDI/ | ||
| + | | 63 | 61 | RA05 | TDO/ | ||
| + | | 64 | 80 | RD13 | ETXD3/ | ||
| + | | 65 | 91 | RA06 | TRCLK/ | ||
| + | | 66 | 92 | RA07 | TRD3/ | ||
| + | | 67 | 6 | RC01 | T2CK/ | ||
| + | | 68 | 7 | RC02 | T3CK/ | ||
| + | | 69 | 8 | RC03 | T4CK/ | ||
| + | | 70 | 68 | RD08 | RTCC/ | ||
| + | | 71 | 69 | RD09 | SS1/ | ||
| + | | 72 | 70 | RD10 | SCK1/ | ||
| + | | 73 | 79 | RD12 | ETXD2/ | ||
| + | | N/A | 26 | RB06 | PGEC2/ | ||
| + | | N/A | 27 | RB07 | PGED2/ | ||
| + | | N/A | 63 | RC12 | OSC1/ | ||
| + | | N/A | 73 | RC13 | SOSCI/ | ||
| + | | N/A | 74 | RC14 | SOSCO/ | ||
| + | | N/A | 64 | RC15 | OSC2/ | ||
| + | | N/A | 51 | RF03 | USBID/ | ||
| + | | N/A | 57 | RG02 | D+/ | ||
| + | | N/A | 56 | RG03 | D-/ | ||
| + | | N/A | 2 | | VDD | POWER | | ||
| + | | N/A | 13 | ||
| + | | N/A | 15 | ||
| + | | N/A | 16 | ||
| + | | N/A | 30 | ||
| + | | N/A | 31 | ||
| + | | N/A | 36 | ||
| + | | N/A | 37 | ||
| + | | N/A | 45 | ||
| + | | N/A | 46 | ||
| + | | N/A | 54 | ||
| + | | N/A | 55 | ||
| + | | N/A | 62 | ||
| + | | N/A | 65 | ||
| + | | N/A | 75 | ||
| + | | N/A | 85 | ||
| + | | N/A | 86 | ||
| + | ===== 12.2 Pinout Table by MCU Port and Bit ===== | ||
| + | ^ Port Bit ^ MCU pin ^ chipKIT Pin # ^ PIC32 Signal Name ^ Function | ||
| + | | RA00 | 17 | 47 | TMS/ | ||
| + | | RA01 | 38 | 48 | TCK/ | ||
| + | | RA02 | 58 | 45 | SCL2/ | ||
| + | | RA03 | 59 | 46 | SDA2/ | ||
| + | | RA04 | 60 | 62 | TDI/ | ||
| + | | RA05 | 61 | 63 | TDO/ | ||
| + | | RA06 | 91 | 65 | TRCLK/ | ||
| + | | RA07 | 92 | 66 | TRD3/ | ||
| + | | RA09 | 28 | 41 | Vref-/ | ||
| + | | RA10 | 29 | 42 | Vref+/ | ||
| + | | RA14 | 66 | 8 | AETXCLK/ | ||
| + | | RA15 | 67 | 57 | AETXEN/ | ||
| + | | RB00 | 25 | 17/A3 | PGED1/ | ||
| + | | RB01 | 24 | 23/A9 | PGEC1/ | ||
| + | | RB02 | 23 | 14/A0 | AN2/ | ||
| + | | RB03 | 22 | 20/A6 | AN3/ | ||
| + | | RB04 | 21 | 15/A1 | AN4/ | ||
| + | | RB05 | 20 | 21/A7 | AN5/ | ||
| + | | RB06 | 26 | N/A | PGEC2/ | ||
| + | | RB07 | 27 | N/A | PGED2/ | ||
| + | | RB08 | 32 | 16/A2 | AN8/ | ||
| + | | RB09 | 33 | 22/A8 | AN9/ | ||
| + | | RB10 | 34 | 18/A4 | AN10/ | ||
| + | | RB11 | 35 | 19/A5 | AN11/ | ||
| + | | RB12 | 41 | 60 | AN12/ | ||
| + | | RB13 | 42 | 61 | AN13/ | ||
| + | | RB14 | 43 | 24/ | ||
| + | | RB15 | 44 | 25/ | ||
| + | | RC01 | 6 | 67 | T2CK/ | ||
| + | | RC02 | 7 | 68 | T3CK/ | ||
| + | | RC03 | 8 | 69 | T4CK/ | ||
| + | | RC04 | 9 | 38 | T5CK/ | ||
| + | | RC12 | 63 | N/A | OSC1/ | ||
| + | | RC13 | 73 | N/A | SOSCI/ | ||
| + | | RC14 | 74 | N/A | SOSCO/ | ||
| + | | RC15 | 64 | N/A | OSC2/ | ||
| + | | RD00 | 72 | 3 | SDO1/ | ||
| + | | RD01 | 76 | 5 | OC2/ | ||
| + | | RD02 | 77 | 6 | OC3/ | ||
| + | | RD03 | 78 | 9 | OC4/ | ||
| + | | RD04 | 81 | 10 | OC5/ | ||
| + | | RD05 | 82 | 34 | PMRD/ | ||
| + | | RD06 | 83 | 36 | ETXEN/ | ||
| + | | RD07 | 84 | 37 | ETXCLK/ | ||
| + | | RD08 | 68 | 70 | RTCC/ | ||
| + | | RD09 | 69 | 71 | SS1/ | ||
| + | | RD10 | 70 | 72 | SCK1/ | ||
| + | | RD11 | 71 | 35 | EMDC/ | ||
| + | | RD12 | 79 | 73 | ETXD2/ | ||
| + | | RD13 | 80 | 64 | ETXD3/ | ||
| + | | RD14 | 47 | 39 | AETXD0/ | ||
| + | | RD15 | 48 | 40 | AETXD1/ | ||
| + | | RE00 | 93 | 26 | PMD0/ | ||
| + | | RE01 | 94 | 27 | PMD1/ | ||
| + | | RE02 | 98 | 28 | PMD2/ | ||
| + | | RE03 | 99 | 29 | PMD3/ | ||
| + | | RE04 | 100 | 30 | PMD4/ | ||
| + | | RE05 | 3 | 31 | PMD5/ | ||
| + | | RE06 | 4 | 32 | PMD6/ | ||
| + | | RE07 | 5 | 33 | PMD7/ | ||
| + | | RE08 | 18 | 2 | AERXD0/ | ||
| + | | RE09 | 19 | 7 | AERXD1/ | ||
| + | | RF00 | 87 | 43 | ETXD1/ | ||
| + | | RF01 | 88 | 4 | ETXD0/ | ||
| + | | RF02 | 52 | 0 | SDA3/ | ||
| + | | RF03 | 51 | N/A | USBID/ | ||
| + | | RF04 | 49 | 55 | SDA5/ | ||
| + | | RF05 | 50 | 56 | SCL5/ | ||
| + | | RF08 | 53 | 1 | SCL3/ | ||
| + | | RF12 | 40 | 54 | SS4/ | ||
| + | | RF13 | 39 | 53 | SCK4/ | ||
| + | | RG00 | 90 | 59 | PMD8/ | ||
| + | | RG01 | 89 | 58 | ETXERR/ | ||
| + | | RG02 | 57 | N/A | D+/ | ||
| + | | RG03 | 56 | N/A | D-/ | ||
| + | | RG06 | 10 | 13 | ECOL/ | ||
| + | | RG07 | 11 | 12 | ECRS/ | ||
| + | | RG08 | 12 | 11 | ERXDV/ | ||
| + | | RG09 | 14 | 44 | ERXCLK/ | ||
| + | | RG12 | 96 | 51 | TRD1/ | ||
| + | | RG13 | 97 | 52 | TRD0/ | ||
| + | | RG14 | 95 | 50 | TRD2/ | ||
| + | | RG15 | 1 | 49 | AERXERR/ | ||
| + | | | 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/ | ||
| + | | | 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/ | ||
| + | | 2 | | N/A | VDD | POWER | | ||
| + | | 3 | RE05 | 31 | PMD5/ | ||
| + | | 4 | RE06 | 32 | PMD6/ | ||
| + | | 5 | RE07 | 33 | PMD7/ | ||
| + | | 6 | RC01 | 67 | T2CK/ | ||
| + | | 7 | RC02 | 68 | T3CK/ | ||
| + | | 8 | RC03 | 69 | T4CK/ | ||
| + | | 9 | RC04 | 38 | T5CK/ | ||
| + | | 10 | RG06 | 13 | ECOL/ | ||
| + | | 11 | RG07 | 12 | ECRS/ | ||
| + | | 12 | RG08 | 11 | ERXDV/ | ||
| + | | 13 | ||
| + | | 14 | RG09 | 44 | ERXCLK/ | ||
| + | | 15 | ||
| + | | 16 | ||
| + | | 17 | RA00 | 47 | TMS/ | ||
| + | | 18 | RE08 | 2 | AERXD0/ | ||
| + | | 19 | RE09 | 7 | AERXD1/ | ||
| + | | 20 | RB05 | 21/A7 | AN5/ | ||
| + | | 21 | RB04 | 15/A1 | AN4/ | ||
| + | | 22 | RB03 | 20/A6 | AN3/ | ||
| + | | 23 | RB02 | 14/A0 | AN2/ | ||
| + | | 24 | RB01 | 23/A9 | PGEC1/ | ||
| + | | 25 | RB00 | 17/A3 | PGED1/ | ||
| + | | 26 | RB06 | N/A | PGEC2/ | ||
| + | | 27 | RB07 | N/A | PGED2/ | ||
| + | | 28 | RA09 | 41 | Vref-/ | ||
| + | | 29 | RA10 | 42 | Vref+/ | ||
| + | | 30 | ||
| + | | 31 | ||
| + | | 32 | RB08 | 16/A2 | AN8/ | ||
| + | | 33 | RB09 | 22/A8 | AN9/ | ||
| + | | 34 | RB10 | 18/A4 | AN10/ | ||
| + | | 35 | RB11 | 19/A5 | AN11/ | ||
| + | | 36 | ||
| + | | 37 | ||
| + | | 38 | RA01 | 48 | TCK/ | ||
| + | | 39 | RF13 | 53 | SCK4/ | ||
| + | | 40 | RF12 | 54 | SS4/ | ||
| + | | 41 | RB12 | 60 | AN12/ | ||
| + | | 42 | RB13 | 61 | AN13/ | ||
| + | | 43 | RB14 | 24/ | ||
| + | | 44 | RB15 | 25/ | ||
| + | | 45 | ||
| + | | 46 | ||
| + | | 47 | RD14 | 39 | AETXD0/ | ||
| + | | 48 | RD15 | 40 | AETXD1/ | ||
| + | | 49 | RF04 | 55 | SDA5/ | ||
| + | | 50 | RF05 | 56 | SCL5/ | ||
| + | | 51 | RF03 | N/A | USBID/ | ||
| + | | 52 | RF02 | 0 | SDA3/ | ||
| + | | 53 | RF08 | 1 | SCL3/ | ||
| + | | 54 | ||
| + | | 55 | ||
| + | | 56 | RG03 | N/A | D-/ | ||
| + | | 57 | RG02 | N/A | D+/ | ||
| + | | 58 | RA02 | 45 | SCL2/ | ||
| + | | 59 | RA03 | 46 | SDA2/ | ||
| + | | 60 | RA04 | 62 | TDI/ | ||
| + | | 61 | RA05 | 63 | TDO/ | ||
| + | | 62 | ||
| + | | 63 | RC12 | N/A | OSC1/ | ||
| + | | 64 | RC15 | N/A | OSC2/ | ||
| + | | 65 | ||
| + | | 66 | RA14 | 8 | AETXCLK/ | ||
| + | | 67 | RA15 | 57 | AETXEN/ | ||
| + | | 68 | RD08 | 70 | RTCC/ | ||
| + | | 69 | RD09 | 71 | SS1/ | ||
| + | | 70 | RD10 | 72 | SCK1/ | ||
| + | | 71 | RD11 | 35 | EMDC/ | ||
| + | | 72 | RD00 | 3 | SDO1/ | ||
| + | | 73 | RC13 | N/A | SOSCI/ | ||
| + | | 74 | RC14 | N/A | SOSCO/ | ||
| + | | 75 | ||
| + | | 76 | RD01 | 5 | OC2/ | ||
| + | | 77 | RD02 | 6 | OC3/ | ||
| + | | 78 | RD03 | 9 | OC4/ | ||
| + | | 79 | RD12 | 73 | ETXD2/ | ||
| + | | 80 | RD13 | 64 | ETXD3/ | ||
| + | | 81 | RD04 | 10 | OC5/ | ||
| + | | 82 | RD05 | 34 | PMRD/ | ||
| + | | 83 | RD06 | 36 | ETXEN/ | ||
| + | | 84 | RD07 | 37 | ETXCLK/ | ||
| + | | 85 | ||
| + | | 86 | ||
| + | | 87 | RF00 | 43 | ETXD1/ | ||
| + | | 88 | RF01 | 4 | ETXD0/ | ||
| + | | 89 | RG01 | 58 | ETXERR/ | ||
| + | | 90 | RG00 | 59 | PMD8/ | ||
| + | | 91 | RA06 | 65 | TRCLK/ | ||
| + | | 92 | RA07 | 66 | TRD3/ | ||
| + | | 93 | RE00 | 26 | PMD0/ | ||
| + | | 94 | RE01 | 27 | PMD1/ | ||
| + | | 95 | RG14 | 50 | TRD2/ | ||
| + | | 96 | RG12 | 51 | TRD1/ | ||
| + | | 97 | RG13 | 52 | TRD0/ | ||
| + | | 98 | RE02 | 28 | PMD2/ | ||
| + | | 99 | RE03 | 29 | PMD3/ | ||
| + | | 10 | RE04 | 30 | PMD4/ | ||

