Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| chipkit_wifire:reference_manual_revd [2017/04/05 21:26] – James Colvin | chipkit_wifire:reference_manual_revd [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| This manual applies to [[chipkit_wifire: | This manual applies to [[chipkit_wifire: | ||
| - | |||
| - | FIXME | ||
| =====Production Release===== | =====Production Release===== | ||
| - | The production boards of the Wi-FIRE are manufactured using the Microchip PIC32MZ2048EFG100 MCU. Earlier pre-production, | + | The production boards of the Wi-FIRE are manufactured using the Microchip PIC32MZ2048EFG100 MCU. Earlier pre-production, |
| Rev D boards now include a new header for MIPS JTAG debugging and iFlowtrace and a few hardware changes to support this connector. Most components on the board remained the same, although nearly all of the silk screen designators were changed from Rev C. | Rev D boards now include a new header for MIPS JTAG debugging and iFlowtrace and a few hardware changes to support this connector. Most components on the board remained the same, although nearly all of the silk screen designators were changed from Rev C. | ||
| Line 15: | Line 13: | ||
| ====Overview==== | ====Overview==== | ||
| - | The chipKIT | + | The Wi-FIRE is based on the popular Arduino™ open-source hardware prototyping platform and adds the performance of the Microchip PIC32MZ microcontroller. The Wi-FIRE has a WiFi MRF24 and SD card on the board, both with dedicated SPI signals. The Wi-FIRE board takes advantage of the powerful PIC32MZ2048EFG microcontroller. This microcontroller features a 32-bit MIPS M5150 processor core running at 200 MHhz, 2MB of flash program memory, and 512K of RAM data memory. The Wi-FIRE can be programmed using the Arduino IDE with the Digilent Core. It contains everything needed to start developing embedded applications. The Wi-FIRE features a USB serial port interface for connection to the Arduino IDE and can be powered via USB or by an external power supply. In addition, the Wi-FIRE is fully compatible with the advanced Microchip MPLAB®X IDE and works with all MPLAB ®X compatible in-system programmer/ |
| - | + | ||
| - | + | ||
| - | =====1: | + | |
| - | The Wi-FIRE has the following hardware features: | + | |
| {{: | {{: | ||
| Line 38: | Line 32: | ||
| * 0 V to 3.3 V analog input voltage range | * 0 V to 3.3 V analog input voltage range | ||
| * High efficiency, switching 3.3 V power supply providing low power operation | * High efficiency, switching 3.3 V power supply providing low power operation | ||
| + | |||
| + | |||
| + | =====1: | ||
| + | The Wi-FIRE has the following hardware features: | ||
| + | |||
| + | |||
| {{ : | {{ : | ||
| - | ^ Call Out ^ Component Description | + | ^ Call Out ^ Component Description |
| - | | 1 | + | | 1 | IC3- Microchip MRF24WG0MA WiFi Module |
| - | | 2 | + | | 2 | |
| - | | 3 | + | | 3 | JP7- Reset Disable |
| - | | 4 | + | | 4 | |
| - | | 5 | + | | 5 | JP2- Microchip Debug Tool Connector |
| - | | 6 | + | | 6 | J4- I2C Signals |
| - | | 7 | + | | 7 | J5- Digital Signal Connector |
| - | | 8 | + | | 8 | PIC32 Microcontroller |
| - | | 9 | + | | 9 | J6- Digital Signal Connector |
| - | | 10 | + | | 10 |
| - | | 11 | + | | 11 |
| - | | 12 | + | | 12 |
| - | | 13 | + | | 13 |
| =====2: | =====2: | ||
| - | The Wi-FIRE board is designed to be used with the Arduino IDE with the Digilent core. FIXME to talk about where to get the Arduino IDE and the installation file for the Digilent Core. | + | The Wi-FIRE board is designed to be used with the Arduino IDE with the Digilent core. Users can learn how to download |
| - | + | ||
| - | the MPIDE development platform was created by modifying | + | |
| The Arduino IDE uses a serial communications port to communicate with a boot loader running on the Wi-FIRE board. The serial port on the Wi-FIRE board is implemented using an FTDI FT232RQ USB serial converter. Before attempting to use the Arduino IDE to communicate with the Wi-FIRE, the appropriate USB device driver must be installed; when you connect the Wi-FIRE on a Windows machine, the appropriate driver should install automatically. | The Arduino IDE uses a serial communications port to communicate with a boot loader running on the Wi-FIRE board. The serial port on the Wi-FIRE board is implemented using an FTDI FT232RQ USB serial converter. Before attempting to use the Arduino IDE to communicate with the Wi-FIRE, the appropriate USB device driver must be installed; when you connect the Wi-FIRE on a Windows machine, the appropriate driver should install automatically. | ||
| Line 105: | Line 103: | ||
| Jumper block J15 is used to select these various options and the following diagrams describe the use of J13. This diagram shows the arrangement of the signals on J15: | Jumper block J15 is used to select these various options and the following diagrams describe the use of J13. This diagram shows the arrangement of the signals on J15: | ||
| + | {{ : | ||
| + | ^ Signals | ||
| + | | LDO In | ||
| + | | LDO Out | The output of the on-board regulator. | ||
| + | | VU | ||
| + | | 5V0 | The connection to the VCC5V0 power bus on the Wi-FIRE board. | ||
| + | | EN Ext | ||
| + | | GND | Connection to the digital ground bus on the Wi-FIRE board. | ||
| To completely disable operation of the on-board linear regulator, remove all shorting blocks from J15. To use the on-board 5 V regulator, use the provided shorting blocks to connect VU to LDO In, and to connect LDO Out to 5V0, as follows: | To completely disable operation of the on-board linear regulator, remove all shorting blocks from J15. To use the on-board 5 V regulator, use the provided shorting blocks to connect VU to LDO In, and to connect LDO Out to 5V0, as follows: | ||
| + | {{ : | ||
| Note: In this case, when J13 is in the EXT position, and J15 is jumpered to regulate the external input, do not apply more than 18 V. This can destroy the 5.0 V regulator. | Note: In this case, when J13 is in the EXT position, and J15 is jumpered to regulate the external input, do not apply more than 18 V. This can destroy the 5.0 V regulator. | ||
| To bypass the on-board 5 V regulator when powering the board from an externally regulator 5 V power supply, such as USB, Use one of the provided shorting blocks to connect VU to 5V0, as follows: | To bypass the on-board 5 V regulator when powering the board from an externally regulator 5 V power supply, such as USB, Use one of the provided shorting blocks to connect VU to 5V0, as follows: | ||
| + | |||
| + | {{ : | ||
| An external 5 V regulator can be used. This would be desirable, for example, when operating from batteries. An external switching mode 5 V regulator could be used to provide higher power efficiency than the on-board linear regulator. In this case, use wires as appropriate to connect VU to the unregulated input of the external regulator. Connect the regulated 5 V output to 5V0. Connect GND to the ground connection of the external regulator. Optionally, connect EN Ext to the enable input control of the external regulator, if available. This allows the external regulator to be turned off for low power operation. Digital pin 50 is then used to turn on/off the external regulator. | An external 5 V regulator can be used. This would be desirable, for example, when operating from batteries. An external switching mode 5 V regulator could be used to provide higher power efficiency than the on-board linear regulator. In this case, use wires as appropriate to connect VU to the unregulated input of the external regulator. Connect the regulated 5 V output to 5V0. Connect GND to the ground connection of the external regulator. Optionally, connect EN Ext to the enable input control of the external regulator, if available. This allows the external regulator to be turned off for low power operation. Digital pin 50 is then used to turn on/off the external regulator. | ||
| Line 135: | Line 144: | ||
| There are two issues to consider when dealing with 5 V compatibility for 3.3 V logic. The first is protection of 3.3 V inputs from damage caused by 5 V signals. The second is whether the 3.3 V output is high enough to be recognized as a logic high value by a 5 V input. | There are two issues to consider when dealing with 5 V compatibility for 3.3 V logic. The first is protection of 3.3 V inputs from damage caused by 5 V signals. The second is whether the 3.3 V output is high enough to be recognized as a logic high value by a 5 V input. | ||
| - | The digital I/O pins on the PIC32 microcontroller are 5 V tolerant. The, whereas the analog capable I/O pins are not 5 V tolerant. There are 48 analog capable I/O pins on the PIC32MZ, and this applies to most GPIO pins on the processor. Historically, | + | The digital I/O pins on the PIC32 microcontroller are 5 V tolerant. The, whereas the analog capable I/O pins are not 5 V tolerant. There are 48 analog capable I/O pins on the PIC32MZ, and this applies to most GPIO pins on the processor. Historically, |
| The minimum high-voltage output of the PIC32 microcontroller is rated at 2.4 V when sourcing 12 mA of current. When driving a high impedance input (typical of CMOS logic) the output high voltage will be close to 3.3 V. Some 5 V devices will recognize this voltage as a logic high input, and some won’t. Many 5 V logic devices will work reliably with 3.3 V inputs. | The minimum high-voltage output of the PIC32 microcontroller is rated at 2.4 V when sourcing 12 mA of current. When driving a high impedance input (typical of CMOS logic) the output high voltage will be close to 3.3 V. Some 5 V devices will recognize this voltage as a logic high input, and some won’t. Many 5 V logic devices will work reliably with 3.3 V inputs. | ||
| - | =====5 Input/ | + | =====5: Input/ Output Connections===== |
| + | The Wi-FIRE board provides 43 of the I/O pins from the PIC32 microcontroller at pins on the input/ | ||
| - | The Wi-FIRE board provides 43 of the I/O pins from the PIC32 microcontroller at pins on the input/output | + | The PIC32 microcontroller can source or sink a maximum |
| - | The PIC32 microcontroller can source or sink a maximum of 15 mA on all digital I/O pins; however, some pins can source or sink 25 mA or even 33 mA, check with the PIC32MZ datasheet for more information. To keep the output voltage within the specified output voltage range (VOL 0.4 V, VOH 2.4 V) the pin current must be restricted to +/-10 mA on the 15 mA pins, or for the higher current pins check the PIC32MZ datasheet for the maximum currents. The maximum current that can be sourced or sunk across all I/O pins simultaneously is +/-150 mA. The maximum voltage that can be applied to any I/O pin is 3.6 V. For more detailed specifications, | + | The Arduino system uses logical pin numbers to identify digital I/O pins on the connectors. The logical pin numbers for the I/O pins on the Wi-FIRE are 0-42. These pin numbers are labeled in the silk screen on the board. Additional pins 43-70 allow access to the on board components such as the uSD, MRF24 WiFi radio, User LEDs / BTNs, and POT. |
| - | + | ||
| - | The chipKIT/Arduino system uses logical pin numbers to identify digital I/O pins on the connectors. The logical pin numbers for the I/O pins on the Wi-FIRE are 0-42. These pin numbers are labeled in the silk screen on the board. Additional pins 43-70 allow access to the on board components such as the uSD, MRF24 WiFi radio, User LEDs / BTNs, and POT. | + | |
| Pins 0-7 and 27-33 are available on header J6 on the outer and inner row of pins, respectively. Pins 8-13 and 34-41 are available on header J5 on the outer and inner row of pins, respectively. Pin 42 is also available on the outer pin labeled " | Pins 0-7 and 27-33 are available on header J6 on the outer and inner row of pins, respectively. Pins 8-13 and 34-41 are available on header J5 on the outer and inner row of pins, respectively. Pin 42 is also available on the outer pin labeled " | ||
| Line 173: | Line 181: | ||
| - | The WiFi module on the Wi-FIRE is intended for use with the Digilent Embedded | + | The WiFi module on the Wi-FIRE is intended for use with the Digilent Embedded network libraries, DEIPcK and DEWFcK. The DEIPcK library provides TCP/UDP/IP protocol support for all compatible network interfaces supported by Digilent products, including the Wi-FIRE. The DEWFcK library provides the additional library support required for connecting to and operating with the Microchip MRF24WG0MA wireless network modules. Caution should be used in understanding that the DEIPcK library is different than the DNETcK network libraries. DEIPcK is the Digilent Embedded Open Source IP stack that supports both the MX and MZ processor lines, while the DNETcK IP stack is built on top of the Microchip MLA proprietary stack and only supports the MX processor line, and will not work with the Wi-FIRE. |
| The DEWFcK library supports the MRF24WG0MA WiFi module as loaded on the Wi-FIRE. The correct header file must be used to specify the network hardware being used by the sketch. When writing a network sketch on the Wi-FIRE, use the following hardware library: | The DEWFcK library supports the MRF24WG0MA WiFi module as loaded on the Wi-FIRE. The correct header file must be used to specify the network hardware being used by the sketch. When writing a network sketch on the Wi-FIRE, use the following hardware library: | ||
| Line 179: | Line 187: | ||
| #include < | #include < | ||
| - | The Digilent Embedded | + | The Digilent Embedded network libraries are available as part of the Digilent core (Arduino IDE) download at our [[learn/software/tutorials/digilent-core-install/ |
| There are reference examples demonstrating the use of these libraries as part of the examples code downloaded with the Digilent core (Arduino IDE). | There are reference examples demonstrating the use of these libraries as part of the examples code downloaded with the Digilent core (Arduino IDE). | ||
| Line 220: | Line 228: | ||
| Jumper JP6 is used to provide the required USB host capacitance to the host connector being used. Place the shorting block in the “A” position when using the standard USB type A (host) Connector (J11). Place the shorting block in the “AB” position for use with the USB micro-AB (OTG) connector (J10). | Jumper JP6 is used to provide the required USB host capacitance to the host connector being used. Place the shorting block in the “A” position when using the standard USB type A (host) Connector (J11). Place the shorting block in the “AB” position for use with the USB micro-AB (OTG) connector (J10). | ||
| - | With JP5 shorted, | + | With JP5 shorted, |
| When using the Wi-FIRE outside the Arduino IDE environment, | When using the Wi-FIRE outside the Arduino IDE environment, | ||
| Line 236: | Line 244: | ||
| =====10: | =====10: | ||
| - | |||
| The PIC32 microcontroller on the Wi-FIRE board provides a number of peripheral functions. The provided peripherals are explained in the following sections. | The PIC32 microcontroller on the Wi-FIRE board provides a number of peripheral functions. The provided peripherals are explained in the following sections. | ||
| - | + | ====10.1: | |
| - | =====10.1: | + | |
| UART 4: Asynchronous serial port. Pin 0 (RX), Pin 1 (TX). This is accessed using the runtime object: Serial. These pins are connected to I/O connector J6 and are also connected to the FT232RQ USB serial converter. It is possible to use these pins to connect to an external serial device when not using the FT232RQ USB serial interface. This uses UART4 (U4RX, U4TX) on the PIC32 microcontroller. | UART 4: Asynchronous serial port. Pin 0 (RX), Pin 1 (TX). This is accessed using the runtime object: Serial. These pins are connected to I/O connector J6 and are also connected to the FT232RQ USB serial converter. It is possible to use these pins to connect to an external serial device when not using the FT232RQ USB serial interface. This uses UART4 (U4RX, U4TX) on the PIC32 microcontroller. | ||
| Line 249: | Line 254: | ||
| - | =====10.2: | + | ====10.2: |
| Synchronous serial port. Pin 10 (SS), Pin 11 (MOSI), Pin 12 (MISO), Pin 13 (SCK). This can be accessed using the SPI standard library. It can also be accessed using the DSPI0 object from the DSPI standard library. This uses SPI2 (SS2, SDI2, SDO2, SCK2) on the PIC32 microcontroller. These signals also appear on connector J5. Be aware that pin 13 (SCK) is shared with USER LED1, and that both LED1 and the SPI port cannot be used concurrently. | Synchronous serial port. Pin 10 (SS), Pin 11 (MOSI), Pin 12 (MISO), Pin 13 (SCK). This can be accessed using the SPI standard library. It can also be accessed using the DSPI0 object from the DSPI standard library. This uses SPI2 (SS2, SDI2, SDO2, SCK2) on the PIC32 microcontroller. These signals also appear on connector J5. Be aware that pin 13 (SCK) is shared with USER LED1, and that both LED1 and the SPI port cannot be used concurrently. | ||
| Line 255: | Line 260: | ||
| **SPI1:** Synchronous serial port. This is an additional SPI interface on the PIC32 microcontroller that can be assessed using the DSPI1 object from the DSPI standard library. SS1 is accessed via digital pin number 7. SDO1 is accessed via digital pin 35. SDI1 is accessed via digital pin 36. SCK1 is connected to digital pin 5. | **SPI1:** Synchronous serial port. This is an additional SPI interface on the PIC32 microcontroller that can be assessed using the DSPI1 object from the DSPI standard library. SS1 is accessed via digital pin number 7. SDO1 is accessed via digital pin 35. SDI1 is accessed via digital pin 36. SCK1 is connected to digital pin 5. | ||
| - | + | ====10.3: | |
| - | =====10.3: | + | |
| Synchronous serial interface. The PIC32 microcontroller shares analog pins A4 and A5 with the two I2C signals, SDA and SCL. This uses I2C4 (SDA4, SCL4) on the PIC32 microcontroller. Both SDA4 and SCL4 are accessible on connector J4. | Synchronous serial interface. The PIC32 microcontroller shares analog pins A4 and A5 with the two I2C signals, SDA and SCL. This uses I2C4 (SDA4, SCL4) on the PIC32 microcontroller. Both SDA4 and SCL4 are accessible on connector J4. | ||
| Line 263: | Line 266: | ||
| Note: The I2C bus uses open collector drivers to allow multiple devices to drive the bus signals. This means that external pull-up resistors must be provided to supply the logic high state for the signals. | Note: The I2C bus uses open collector drivers to allow multiple devices to drive the bus signals. This means that external pull-up resistors must be provided to supply the logic high state for the signals. | ||
| - | + | ====10.4: PWM==== | |
| - | =====10.4: PWM===== | + | |
| Pulse width modulated output; Pins 3 (OC1), 5 (OC2), 6 (OC3), 9 (OC4), 10 (OC9), and 11 (OC7). These can be accessed using the analogWrite() runtime function. | Pulse width modulated output; Pins 3 (OC1), 5 (OC2), 6 (OC3), 9 (OC4), 10 (OC9), and 11 (OC7). These can be accessed using the analogWrite() runtime function. | ||
| - | =====10.5: External Interrupts===== | + | ====10.5: External Interrupts==== |
| - | + | ||
| - | + | ||
| - | Pin 3 (INT0), Pin 2 (INT1), Pin 7 (INT2), Pin 8 (INT3), Pin 59 (INT4). Note that the pin numbers for INT0 and INT4 are different than on some other chipKIT boards. INT4 is dedicated for use with the MRF24WG0MA WiFi module and is not brought out to a connector pin. | + | |
| + | Pin 3 (INT0), Pin 2 (INT1), Pin 7 (INT2), Pin 8 (INT3), Pin 59 (INT4). Note that the pin numbers for INT0 and INT4 are different than on some other Digilent boards. INT4 is dedicated for use with the MRF24WG0MA WiFi module and is not brought out to a connector pin. | ||
| - | =====10.6: | + | ====10.6: |
| Line 282: | Line 281: | ||
| - | =====10.7: | + | ====10.7: |
| There are two push button switches, which are labeled BTN1 (pin 46), and BTN2 (pin 47). The digitalRead() function will return LOW if the button is not pressed and HIGH when the button is pressed. | There are two push button switches, which are labeled BTN1 (pin 46), and BTN2 (pin 47). The digitalRead() function will return LOW if the button is not pressed and HIGH when the button is pressed. | ||
| - | =====10.8: | + | ====10.8: |
| Line 293: | Line 292: | ||
| - | =====10.9: | + | ====10.9: |
| - | A potentiometer (pot) is provided on the board to be used as an analog signal source or analog control input. The pot is a 10 kΩ trimmer pot connected between the VCC3V3 supply and ground. The wiper of the pot is connected to analog input A12 or chipKIT | + | A potentiometer (pot) is provided on the board to be used as an analog signal source or analog control input. The pot is a 10 kΩ trimmer pot connected between the VCC3V3 supply and ground. The wiper of the pot is connected to analog input A12 or Digilent |
| - | =====10.10: | + | ====10.10: |
| Line 305: | Line 304: | ||
| - | =====10.11: | + | ====10.11: |
| Line 314: | Line 313: | ||
| - | =====10.12: | + | ====10.12: RESET==== |
| The PIC32 microcontroller is reset by bringing its MCLR pin low. The MCLR pin is connected to the RST pin, as presented on J1. | The PIC32 microcontroller is reset by bringing its MCLR pin low. The MCLR pin is connected to the RST pin, as presented on J1. | ||
| Line 327: | Line 325: | ||
| On Arduino boards, the corresponding connector is also used as an in-system programming connector as well as providing access to some of the SPI signals. On Arduino boards, pin 5 of this connector is connected to the reset net. | On Arduino boards, the corresponding connector is also used as an in-system programming connector as well as providing access to some of the SPI signals. On Arduino boards, pin 5 of this connector is connected to the reset net. | ||
| - | Some Arduino shields, most notably the Ethernet shield, connect pin 5 to the reset net on pin 3 of connector J1. This causes the processor to be reset each time an attempt is made to access the SPI port. Jumper JP3 can be used to break the connection between J8 pin 5 and reset when using Arduino shields that make this connection. JP3 has a cuttable trace on the top of the board that can be cut to break the connection between SPI SS and reset. JP3 is not loaded at the factory. To restore the connection, solder a two pin header at the JP3 position and install a shorting block. | + | Some Arduino shields, most notably the Ethernet shield, connect pin 5 on J8 to the reset net on pin 3 of connector J1. This causes the processor to be reset each time an attempt is made to access the SPI port. Jumper JP3 can be used to break the connection between J8 pin 5 and reset when using Arduino shields that make this connection. JP3 has a cuttable trace on the top of the board that can be cut to break the connection between SPI SS and reset. JP3 is not loaded at the factory. To restore the connection, solder a two pin header at the JP3 position and install a shorting block. |
| A reset button is located to the right of the MRF24WG0MA WiFi module. Pressing this button resets the PIC32 microcontroller. | A reset button is located to the right of the MRF24WG0MA WiFi module. Pressing this button resets the PIC32 microcontroller. | ||
| - | |||
| - | |||
| =====11: | =====11: | ||
| - | |||
| In addition to being used with the Arduino IDE, the Wi-FIRE board can be used as a more traditional microcontroller development board using Microchip Development Tools. | In addition to being used with the Arduino IDE, the Wi-FIRE board can be used as a more traditional microcontroller development board using Microchip Development Tools. | ||
| Line 351: | Line 346: | ||
| - | =====12: Pinout Tables===== | + | =====12: |
| + | OpenOCD (Open On-Chip Debugger) is a system that provides debugging, in-system programming, | ||
| - | The following tables show the relationship between the digital pin numbers, the connector pin numbers, and the microcontroller pin numbers. | + | Header J17 provides a EJTAG header where users may attach a debugging adapter such as the Bus Blaster v3C to use with OpenOCD. |
| - | In the following tables, columns labeled digital pin # refer to the digital pin number. This is the value that is passed to the pinMode(), digitalRead(), digitalWrite() | + | More information on how to use OpenOCD Debug with the Wi-FIRE can be found via MIPS Debug OpenOCD with Bus Blaster Getting Started Guide available on the [[https:// |
| + | |||
| + | =====13: | ||
| + | |||
| + | The following tables | ||
| + | In the following tables, columns labeled Digilent pin # refer to the digital pin number. This is the value that is passed to the pinMode(), digitalRead(), | ||
| - | ====12.1: Pinout Table by Digital | + | ==== 13.1: Pinout Table by Digilent |
| + | ^ Digilent Pin # ^ MCU Pin ^ Port Bit ^ PIC32 Signal Name ^ Function | ||
| + | | 0 | 57 | RF02 | EBIRDY3/ | ||
| + | | 1 | 58 | RF08 | EBIRDY2/ | ||
| + | | 2 | 18 | RE08 | AN25/ | ||
| + | | 3 | 71 | RD00 | EMDIO/ | ||
| + | | 4 | 60 | RA03 | EBIRDY1/ | ||
| + | | 5 | 76 | RD01 | RPD1/ | ||
| + | | 6 | 77 | RD02 | EBID14/ | ||
| + | | 7 | 19 | RE09 | AN26/ | ||
| + | | 8 | 66 | RA14 | AETXCLK/ | ||
| + | | 9 | 78 | RD03 | EBID15/ | ||
| + | | 10 | 16 | RG09 | EBIA2/ | ||
| + | | 11 | 70 | RD11 | EMDC/ | ||
| + | | 12 | 85 | RF00 | EBID11/ | ||
| + | | 13 | 10 | RG06 | AN14/ | ||
| + | | 14 | 20 | RB05 | AN45/ | ||
| + | | 15 | 33 | RB09 | EBIA7/ | ||
| + | | 16 | 7 | RC02 | EBIA12/ | ||
| + | | 17 | 44 | RB15 | EBIA0/ | ||
| + | | 18 | 11 | RG07 | EBIA4/ | ||
| + | | 19 | 12 | RG08 | EBIA3/ | ||
| + | | 20 | 22 | RB03 | AN3/ | ||
| + | | 21 | 23 | RB02 | AN2/ | ||
| + | | 22 | 21 | RB04 | AN4/ | ||
| + | | 23 | 24 | RB01 | PGEC1/ | ||
| + | | 24 | 32 | RB08 | EBIA10/ | ||
| + | | 25 | 25 | RB00 | PGED1/ | ||
| + | | 26 | 91 | RE00 | EBID0/ | ||
| + | | 27 | 94 | RE01 | EBID1/ | ||
| + | | 28 | 98 | RE02 | EBID2/ | ||
| + | | 29 | 99 | RE03 | EBID3/ | ||
| + | | 30 | 100 | RE04 | EBID4/ | ||
| + | | 31 | 3 | RE05 | EBID5/ | ||
| + | | 32 | 4 | RE06 | EBID6/ | ||
| + | | 33 | 5 | RE07 | EBID7/ | ||
| + | | 34 | 82 | RD05 | SQICS1/ | ||
| + | | 35 | 6 | RC01 | EBIA6/ | ||
| + | | 36 | 86 | RF01 | EBID10/ | ||
| + | | 37 | 59 | RA02 | EBICS0/ | ||
| + | | 38 | 79 | RD12 | EBID12/ | ||
| + | | 39 | 47 | RD14 | AN32/ | ||
| + | | 40 | 48 | RD15 | AN33/ | ||
| + | | 41 | 28 | RA09 | VREF-/ | ||
| + | | 42 | 29 | RA10 | VREF+/ | ||
| + | | 43 | 81 | RD04 | SQICS0/ | ||
| + | | 44 | 35 | RB11 | AN6/ | ||
| + | | 45 | 1 | RG15 | AN23/ | ||
| + | | 46 | 2 | RA05 | EBIA5/ | ||
| + | | 47 | 61 | RA04 | EBIA14/ | ||
| + | | 48 | 42 | RB13 | AN8/ | ||
| + | | 49 | 41 | RB12 | EBIA11/ | ||
| + | | 50 | 80 | RD13 | EBID13/ | ||
| + | | 51 | 43 | RB14 | EBIA1/ | ||
| + | | 52 | 8 | RC03 | EBIWE/ | ||
| + | | 53 | 34 | RB10 | EBIA13/ | ||
| + | | 54 | 9 | RC04 | EBIOE/ | ||
| + | | 55 | 69 | RD10 | RPD10/ | ||
| + | | 56 | 68 | RD09 | EBIA15/ | ||
| + | | 57 | 65 | RF05 | EBIA8/ | ||
| + | | 58 | 88 | RG00 | EBID8/ | ||
| + | | 59 | 67 | RA15 | AETXEN/ | ||
| + | | 60 | 87 | RG01 | EBID9/ | ||
| + | | 61 | 64 | RF04 | EBIA9/ | ||
| + | | 62 | 38 | RA01 | TCK/ | ||
| + | | 63 | 17 | RA00 | TMS/ | ||
| + | | 64 | 40 | RF12 | TDO/ | ||
| + | | 65 | 39 | RF13 | TDI/ | ||
| + | | 66 | 89 | RA06 | TRCLK/ | ||
| + | | 67 | 97 | RG13 | TRD0/ | ||
| + | | 68 | 96 | RG12 | TRD1/ | ||
| + | | 69 | 95 | RG14 | TRD2/ | ||
| + | | 70 | 90 | RA07 | TRD3/ | ||
| + | | N/A | 13 | | VSS | POWER | | ||
| + | | N/A | 14 | | VDD | POWER | | ||
| + | | N/A | 15 | | MCLR | MCLR, ICSP | | ||
| + | | N/A | 26 | RB06 | PGEC2/ | ||
| + | | N/A | 27 | RB07 | PGED2/ | ||
| + | | 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 | 49 | RC12 | OSCI/ | ||
| + | | N/A | 50 | RC15 | OSCO/ | ||
| + | | N/A | 51 | | VBUS | POWER | | ||
| + | | N/A | 52 | | VUSB3V3 | ||
| + | | N/A | 53 | | VSS | POWER | | ||
| + | | N/A | 54 | | D- | PIC32_USBD- | ||
| + | | N/A | 55 | | D+ | PIC32_USBD+ | ||
| + | | N/A | 56 | RF03 | USBID/ | ||
| + | | N/A | 62 | | VDD | POWER | | ||
| + | | N/A | 63 | | VSS | POWER | | ||
| + | | N/A | 72 | RC13 | SOSCI/ | ||
| + | | N/A | 73 | RC14 | SOSCO/ | ||
| + | | N/A | 74 | | VDD | POWER | | ||
| + | | N/A | 75 | | VSS | POWER | | ||
| + | | N/A | 83 | | VDD | POWER | | ||
| + | | N/A | 84 | | VSS | POWER | | ||
| + | | N/A | 92 | | VSS | POWER | | ||
| + | | N/A | 93 | | VDD | POWER | | ||
| - | ^ | + | ==== 13.2: Pinout Table by MCU Pin and Port Bit Numbers ==== |
| - | | | + | ^ |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RA03 | 4 | 60 | EBIRDY1/SDA2/ |
| - | | | + | | |
| - | | | + | | RA05 | 46 | 2 | EBIA5/AN34/PMA5/ |
| - | | | + | | |
| - | | 8 | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RA14 |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RB01 | 23 | 24 | PGEC1/AN1/RPB1/RB1 | AIN9, GPIO | |
| - | | 15 | | + | | RB02 | 21 | 23 | AN2/C2INB/RPB2/RB2 |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RB05 | 14 | 20 | AN45/C1INA/RPB5/ |
| - | | | + | | |
| - | | | + | | RB07 | N/A | 27 | PGED2/AN47/ |
| - | | | + | | |
| - | | | + | | RB09 |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RB14 | 51 | 43 | EBIA1/AN9/ERXD2/AETXD3/RPB14/SCK3/PMA1/ |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | 34 | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | 38 | | + | | |
| - | | 39 | | + | | |
| - | | 40 | | + | | |
| - | | | + | | |
| - | | | + | | RD05 |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RD12 |
| - | | | + | | RD13 | 50 | 80 | EBID13/ |
| - | | | + | | RD14 |
| - | | | + | | RD15 |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | 58 | | EBID8/ | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RF01 | 36 | 86 | EBID10/ETXD0/RPF1/ |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RF04 | 61 | 64 | EBIA9/RPF4/SDA5/PMA9/ |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | |
| - | | | + | | RG00 |
| - | | | + | | |
| + | | | ||
| + | | | ||
| + | | | ||
| + | | | ||
| + | | | ||
| + | | RG13 | 67 | 97 | TRD0/SQID0/RG13 | ||
| + | | | ||
| + | | RG15 | 45 | 1 | AN23/ | ||
| + | | | | ||
| + | | | N/A | 14 | VDD | POWER | | ||
| + | | | N/A | 15 | MCLR | MCLR, ICSP | | ||
| + | | | N/A | 30 | AVDD | POWER | | ||
| + | | | N/A | ||
| + | | | ||
| + | | | | ||
| + | | | N/A | ||
| + | | | ||
| + | | | | ||
| + | | | N/A | ||
| + | | | ||
| + | | | | ||
| + | | | N/A | ||
| + | | | ||
| + | | | | ||
| + | | | N/A | ||
| + | | | ||
| + | | | | ||
| + | | | N/A | ||
| + | | | N/A | 92 | VSS | POWER | | ||
| + | | | N/A | 93 | VDD | POWER | | ||
| - | ====12.2: Pinout Table by Different sort of Number==== | + | ==== 13.3: Pinout Table by PIC32 Microcontroller Pin ==== |
| - | FIXME FIXME FIXME !!! | + | ^ MCU Pin ^ Port Bit ^ Digilent Pin # ^ PIC32 Signal Name ^ Function |
| + | | 1 | RG15 | 45 | AN23/ | ||
| + | | 2 | RA05 | 46 | EBIA5/ | ||
| + | | 3 | RE05 | 31 | EBID5/ | ||
| + | | 4 | RE06 | 32 | EBID6/ | ||
| + | | 5 | RE07 | 33 | EBID7/ | ||
| + | | 6 | RC01 | 35 | EBIA6/ | ||
| + | | 7 | RC02 | 16 | EBIA12/ | ||
| + | | 8 | RC03 | 52 | EBIWE/ | ||
| + | | 9 | RC04 | 54 | EBIOE/ | ||
| + | | 10 | ||
| + | | 11 | ||
| + | | 12 | ||
| + | | 13 | ||
| + | | 14 | ||
| + | | 15 | ||
| + | | 16 | ||
| + | | 17 | ||
| + | | 18 | ||
| + | | 19 | ||
| + | | 20 | ||
| + | | 21 | ||
| + | | 22 | ||
| + | | 23 | ||
| + | | 24 | ||
| + | | 25 | ||
| + | | 26 | ||
| + | | 27 | ||
| + | | 28 | ||
| + | | 29 | ||
| + | | 30 | ||
| + | | 31 | ||
| + | | 32 | ||
| + | | 33 | ||
| + | | 34 | ||
| + | | 35 | ||
| + | | 36 | ||
| + | | 37 | ||
| + | | 38 | ||
| + | | 39 | ||
| + | | 40 | ||
| + | | 41 | ||
| + | | 42 | ||
| + | | 43 | ||
| + | | 44 | ||
| + | | 45 | ||
| + | | 46 | ||
| + | | 47 | ||
| + | | 48 | ||
| + | | 49 | ||
| + | | 50 | ||
| + | | 51 | ||
| + | | 52 | ||
| + | | 53 | ||
| + | | 54 | ||
| + | | 55 | ||
| + | | 56 | ||
| + | | 57 | ||
| + | | 58 | ||
| + | | 59 | ||
| + | | 60 | ||
| + | | 61 | ||
| + | | 62 | ||
| + | | 63 | ||
| + | | 64 | ||
| + | | 65 | ||
| + | | 66 | ||
| + | | 67 | ||
| + | | 68 | ||
| + | | 69 | ||
| + | | 70 | ||
| + | | 71 | ||
| + | | 72 | ||
| + | | 73 | ||
| + | | 74 | ||
| + | | 75 | ||
| + | | 76 | ||
| + | | 77 | ||
| + | | 78 | ||
| + | | 79 | ||
| + | | 80 | ||
| + | | 81 | ||
| + | | 82 | ||
| + | | 83 | ||
| + | | 84 | ||
| + | | 85 | ||
| + | | 86 | ||
| + | | 87 | ||
| + | | 88 | ||
| + | | 89 | ||
| + | | 90 | ||
| + | | 91 | ||
| + | | 92 | ||
| + | | 93 | ||
| + | | 94 | ||
| + | | 95 | ||
| + | | 96 | ||
| + | | 97 | ||
| + | | 98 | ||
| + | | 99 | ||
| + | | 100 | RE04 | 30 | EBID4/ | ||

