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_pro_mx7:refmanual [2015/04/28 18:49] – [Appendix A: Connector Descriptions and Jumper Settings] Marthachipkit_pro_mx7:refmanual [2021/10/13 21:37] (current) Arthur Brown
Line 5: Line 5:
 **Revised:** January 3, 2014 **Revised:** January 3, 2014
  
-This manual applies to the ChipKIT Pro MX7 rev. B and C+This manual applies to the chipKIT Pro MX7 rev. B and C
  
-{{ :chipkit_pro_mx7:promx7.png?400 |}}+{{:chipkit_pro_mx7:promx7.png?550|}}
  
 ---- ----
Line 17: Line 17:
 chipKIT Pro MX7is the new name for Cerebot MX7. This board retains all functionality of the Cerebot MX7. chipKIT Pro MX7is the new name for Cerebot MX7. This board retains all functionality of the Cerebot MX7.
  
-The chipKIT Pro MX7 is a microcontroller development board based on the Microchip(r) PIC32MX795F512L, a member of the 32-bit PIC32 microcontroller family. It is compatible with Digilent's line of peripheral modules, Pmod™, and is suitable for use with the Microchip MPLAB® IDE tools. The chipKIT Pro MX7 is also compatible for use with the chipKIT(tm) MPIDE development environment. chipKIT MPIDE is a PIC32-based system compatible with many existing Arduino(r) code examples, reference materials, and other resources.+The chipKIT Pro MX7 is a microcontroller development board based on the Microchip(r) PIC32MX795F512L, a member of the 32-bit PIC32 microcontroller family. It is compatible with Digilent's line of peripheral modules, Pmods, and is suitable for use with the Microchip MPLAB® IDE tools. The chipKIT Pro MX7 is also compatible for use with the chipKIT(tm) MPIDE development environment. chipKIT MPIDE is a PIC32-based system compatible with many existing Arduino(r) code examples, reference materials, and other resources.
  
 The chipKIT Pro MX7 is designed to be easy to use and suitable for use by anyone from beginners to advanced users experimenting with embedded control and network communications application. A built-in programming/debugging circuit compatible with the Microchip MPLAB IDE is provided, so no additional hardware is required for use with MPLAB. The kit contains everything needed to start developing embedded applications using either the MPLAB IDE or the MPIDE. The chipKIT Pro MX7 is designed to be easy to use and suitable for use by anyone from beginners to advanced users experimenting with embedded control and network communications application. A built-in programming/debugging circuit compatible with the Microchip MPLAB IDE is provided, so no additional hardware is required for use with MPLAB. The kit contains everything needed to start developing embedded applications using either the MPLAB IDE or the MPIDE.
Line 31: Line 31:
   *  Support for programming and debugging within the Microchip MPLAB development environment   *  Support for programming and debugging within the Microchip MPLAB development environment
   *  Support for programming within the chipKIT MPIDE development environment   *  Support for programming within the chipKIT MPIDE development environment
-  *  Six Pmod connectors for Digilent peripheral module boards+  *  Six Pmod ports for Digilent peripheral module boards
   *  10/100 Ethernet   *  10/100 Ethernet
   *  USB 2.0 compatible Device, Host, and OTG support   *  USB 2.0 compatible Device, Host, and OTG support
Line 65: Line 65:
 The chipKIT Pro MX7 is designed for embedded control and network communications applications as well as general microprocessor experimentation. Firmware suitable for many applications can be downloaded to the chipKIT Pro MX7’s programmable PIC32 microcontroller. The chipKIT Pro MX7 is designed for embedded control and network communications applications as well as general microprocessor experimentation. Firmware suitable for many applications can be downloaded to the chipKIT Pro MX7’s programmable PIC32 microcontroller.
  
-The chipKIT Pro MX7 has a number of input/output connection options, and is designed to work with the Digilent line of Pmods that provide various input and output functions. For more information, visit www.digilentinc.com. In addition to the Pmod connectors, the board provides three push buttons and four LEDs for user I/O, as well as providing connections for two I2C busses. A serial EEPROM is provided on one of the I2C busses.+The chipKIT Pro MX7 has a number of input/output connection options, and is designed to work with the Digilent line of Pmods that provide various input and output functions. For more information, visit [[https://digilent.com/shop/boards-and-components/system-board-expansion-modules/pmods/|digilent.com]]. In addition to the Pmod ports, the board provides three push buttons and four LEDs for user I/O, as well as providing connections for two I2C busses. A serial EEPROM is provided on one of the I2C busses.
  
 The chipKIT Pro MX7 features a flexible power supply system with a number of options for powering the board as well as powering peripheral devices connected to the board. It can be USB powered via the debug USB port, the USB UART serial port, or the USB device port. It can also be powered from an external 5V power supply. The chipKIT Pro MX7 features a flexible power supply system with a number of options for powering the board as well as powering peripheral devices connected to the board. It can be USB powered via the debug USB port, the USB UART serial port, or the USB device port. It can also be powered from an external 5V power supply.
Line 142: Line 142:
 Additional information about the chipKIT Pro MX7 board and the use and operation of the PIC32MX795F512L microcontroller can be obtained from the following sources. Additional information about the chipKIT Pro MX7 board and the use and operation of the PIC32MX795F512L microcontroller can be obtained from the following sources.
  
-The chipKIT Pro MX7 Schematic, various support libraries, and example reference designs are available on the board product page on the Digilent web sitewww.digilentinc.com+The chipKIT Pro MX7 Schematic, various support libraries, and example reference designs are available on the board [[chipkit_pro_mx7:chipkit_pro_mx7#documentation|resource center]].
  
 The PIC32MX5XX/6XX/7XX Family Data Sheet and the PIC32MX Family Reference Manual are available from the Microchip website: www.microchip.com The PIC32MX5XX/6XX/7XX Family Data Sheet and the PIC32MX Family Reference Manual are available from the Microchip website: www.microchip.com
Line 175: Line 175:
 The chipKIT Pro MX7 is rated for external power from 3.6 to 5.5 volts DC. Using a voltage outside this range will damage the board and connected devices. For most purposes when using external power, a regulated 5V supply should be used. If the board is operated from an external supply with a voltage less than 5V, some features won’t work correctly. The chipKIT Pro MX7 is rated for external power from 3.6 to 5.5 volts DC. Using a voltage outside this range will damage the board and connected devices. For most purposes when using external power, a regulated 5V supply should be used. If the board is operated from an external supply with a voltage less than 5V, some features won’t work correctly.
  
-The USB specification requires that USB devices not draw more than 100mA of current until they have enumerated on the USB bus and informed the host that they want to consume more current. To meet this specification, the debugger circuit turns on main board power by driving the PWR_ON signal high after successfully enumerating on the USB bus. The bus labeled on the schematic as VCC5V0 is powered when this occurs. The VCC5V0 bus powers the input to the main board voltage regulator, the input voltage to the USB bus voltage load switch used when using the board as a USB host, the power supply voltage for the CAN transceivers, and the 5V0 side of the power select jumpers for the Pmod connectors. The voltage on the VCC5V0 bus will be 5V when the board is being operated from USB power or an external regulated 5V supply. If a different external supply voltage is used, that voltage will appear on the VCC5V0 bus.+The USB specification requires that USB devices not draw more than 100mA of current until they have enumerated on the USB bus and informed the host that they want to consume more current. To meet this specification, the debugger circuit turns on main board power by driving the PWR_ON signal high after successfully enumerating on the USB bus. The bus labeled on the schematic as VCC5V0 is powered when this occurs. The VCC5V0 bus powers the input to the main board voltage regulator, the input voltage to the USB bus voltage load switch used when using the board as a USB host, the power supply voltage for the CAN transceivers, and the 5V0 side of the power select jumpers for the Pmod ports. The voltage on the VCC5V0 bus will be 5V when the board is being operated from USB power or an external regulated 5V supply. If a different external supply voltage is used, that voltage will appear on the VCC5V0 bus.
  
 The power supply selected by the shorting block on J3 will appear on the input power supply bus, labeled VIN in the schematic. This voltage is regulated to 3.3V to power the licensed debugger circuit by IC11, a Microchip MCP1801 Low Dropout voltage regulator. This regulator is turned on and the debugger circuit is powered whenever the power switch is in the on position. The VIN power bus also supplies power to IC9, a PFET load switch used to turn main board power on or off. The power supply selected by the shorting block on J3 will appear on the input power supply bus, labeled VIN in the schematic. This voltage is regulated to 3.3V to power the licensed debugger circuit by IC11, a Microchip MCP1801 Low Dropout voltage regulator. This regulator is turned on and the debugger circuit is powered whenever the power switch is in the on position. The VIN power bus also supplies power to IC9, a PFET load switch used to turn main board power on or off.
Line 201: Line 201:
 The PIC32 microcontroller and on-board I/O devices operate at a supply voltage of 3.3V provided by the VCC3V3 bus. The main voltage regulator is capable of providing a maximum of 600mA of current. The PIC32 microcontroller will use approximately 85mA when running at 80MHz. The SMSC LAN8720 Ethernet PHY consumes approximately 45mA when operating at 100Mbps. The Microchip MCP2551 CAN transceivers can draw up to 75mA each when operating the CAN busses. The other circuitry on the board will draw 10-20 mA. The remaining current is available to provide power to attached Pmods and I2C devices. The PIC32 microcontroller and on-board I/O devices operate at a supply voltage of 3.3V provided by the VCC3V3 bus. The main voltage regulator is capable of providing a maximum of 600mA of current. The PIC32 microcontroller will use approximately 85mA when running at 80MHz. The SMSC LAN8720 Ethernet PHY consumes approximately 45mA when operating at 100Mbps. The Microchip MCP2551 CAN transceivers can draw up to 75mA each when operating the CAN busses. The other circuitry on the board will draw 10-20 mA. The remaining current is available to provide power to attached Pmods and I2C devices.
  
-The chipKIT Pro MX7 can provide power to any peripheral modules attached to the Pmod connectors, JA-JF, and to I2C devices powered from the I2C daisy chain connectors, J7 and J8.  Each Pmod connector provides power pins that can be powered from either the switched main power bus, VCC5V0, or regulated voltage, VCC3V3, by setting the voltage jumper block to the desired position. The I2C connectors only provide the regulated voltage, VCC3V3.+The chipKIT Pro MX7 can provide power to any peripheral modules attached to the Pmod ports, JA-JF, and to I2C devices powered from the I2C daisy chain connectors, J7 and J8.  Each Pmod port provides power pins that can be powered from either the switched main power bus, VCC5V0, or regulated voltage, VCC3V3, by setting the voltage jumper block to the desired position. The I2C connectors only provide the regulated voltage, VCC3V3.
  
  
Line 213: Line 213:
 ---- ----
  
-====== Pmod™ Connectors ======+====== Pmod Ports ======
  
  
-The chipKIT Pro MX7 has six connectors for connecting Digilent Pmod peripheral modules.  The Pmod connectors labeled JA–JF, are 2x6 pin, right-angle, female pin header connectors. Each connector has an associated power select jumper block labeled JPA–JPF. +The chipKIT Pro MX7 has six connectors for connecting Digilent Pmods.  The Pmod ports labeled JA–JF, are 2x6 pin, right-angle, female pin header ports. Each port has an associated power select jumper block labeled JPA–JPF. 
  
-Digilent Pmods are a line of small peripheral modules that provide various kinds of I/O interfaces. The Pmod product line includes such things as button, switch and LED modules, connector modules, LCD displays, high current output drivers, various kinds of RF interfaces, and many others.+Digilent Pmods are a line of small peripheral modules that provide various kinds of I/O interfaces. The Pmod product line includes such things as buttons, switch and LED modules, connector modules, LCD displays, high current output drivers, various kinds of RF interfaces, and many others.
  
-There are two styles of Pmod connector: six-pin and twelve-pin. Both connectors use standard pin headers with 100mil spaced pins. The six-pin connectors have the pins in a 1x6 configuration, while the twelve-pin connectors use a 2x6 configuration. All of the Pmod connectors on the chipKIT Pro MX7 are twelve pin connectors.+There are two styles of Pmod port: six-pin and twelve-pin. Both ports use standard pin headers with 100mil spaced pins. The six-pin ports have the pins in a 1x6 configuration, while the twelve-pin ports use a 2x6 configuration. All of the Pmod ports on the chipKIT Pro MX7 are twelve pin ports.
  
-Six-pin Pmod connectors provide four I/O signals, ground and a switchable power connection. The twelve-pin connectors provide eight I/O signals, two power pins, and two ground pins. The twelve-pin connectors have the signals arranged so that one twelve-pin connector is equivalent to two of the six-pin connectors. Pins 1–4 and 7–10 are the signal pins, pins 5 and 11 are the ground pins, and pins 6 & 12 are the power supply pins.+Six-pin Pmod ports provide four I/O signals, ground and a switchable power connection. The twelve-pin ports provide eight I/O signals, two power pins, and two ground pins. The twelve-pin ports have the signals arranged so that one twelve-pin port is equivalent to two of the six-pin ports. Pins 1–4 and 7–10 are the signal pins, pins 5 and 11 are the ground pins, and pins 6 & 12 are the power supply pins.
  
-The pin numbering that Digilent uses on the twelve-pin Pmod connectors is non-standard. The upper row of pins are numbered 1–6, left to right (when viewed from the top of the board), and the lower row of pins are numbered 7–12, left to right. This is in keeping with the convention that the upper and lower rows of pins can be considered to be two six-pin connectors stacked. When viewed from the end of the connector, pin 1 is the upper right pin and pin 7 is immediately below it (closer to the PCB).+The pin numbering that Digilent uses on the twelve-pin Pmod ports is non-standard. The upper row of pins are numbered 1–6, left to right (when viewed from the top of the board), and the lower row of pins are numbered 7–12, left to right. This is in keeping with the convention that the upper and lower rows of pins can be considered to be two six-pin ports stacked. When viewed from the end of the port, pin 1 is the upper right pin and pin 7 is immediately below it (closer to the PCB).
  
-Each Pmod connector has an associated power select jumper. These are used to select the power supply voltage supplied to the power supply pins on the Pmod connector. They are switchable between either the unregulated power supply, VCC5V0, or the 3.3V main board supply, VCC3V3. Place the shorting block in the 3V3 position for regulated 3.3V and in the 5V0 position to use the unregulated supply.+Each Pmod port has an associated power select jumper. These are used to select the power supply voltage supplied to the power supply pins on the Pmod port. They are switchable between either the unregulated power supply, VCC5V0, or the 3.3V main board supply, VCC3V3. Place the shorting block in the 3V3 position for regulated 3.3V and in the 5V0 position to use the unregulated supply.
  
-Each signal pin on the Pmod connectors is connected to an input/output pin on the PIC32 microcontroller. Each pin has a 200 ohm series resistor and an ESD protection diode. The series resistor provides short circuit protection to prevent damaging the I/O block in the microcontroller if the pin is inadvertently shorted to VDD or GND, or two outputs are shorted together. The ESD protection diode protects the I/O block from damage due to electro-static discharge.+Each signal pin on the Pmod ports is connected to an input/output pin on the PIC32 microcontroller. Each pin has a 200 ohm series resistor and an ESD protection diode. The series resistor provides short circuit protection to prevent damaging the I/O block in the microcontroller if the pin is inadvertently shorted to VDD or GND, or two outputs are shorted together. The ESD protection diode protects the I/O block from damage due to electro-static discharge.
  
 The 200 ohm resistor in series with each I/O pin limits the amount of current that can be sourced from the microcontroller pins. There will be a 200mV voltage drop per mA of current sourced by the pin. This will not be a problem when driving typical, high impedance, logic inputs, but can be problematic when trying to drive low impedance inputs. In some cases it may be necessary to use external buffers when trying to drive low impedance inputs. The 200 ohm resistor in series with each I/O pin limits the amount of current that can be sourced from the microcontroller pins. There will be a 200mV voltage drop per mA of current sourced by the pin. This will not be a problem when driving typical, high impedance, logic inputs, but can be problematic when trying to drive low impedance inputs. In some cases it may be necessary to use external buffers when trying to drive low impedance inputs.
Line 234: Line 234:
 Although ESD protection is provided between the connector pins and the microcontroller pins, ESD safe handling procedures should be followed when handling the circuit board. The pins on the microcontroller and other circuits on the board are exposed and can be damaged through ESD when handling the board. Although ESD protection is provided between the connector pins and the microcontroller pins, ESD safe handling procedures should be followed when handling the circuit board. The pins on the microcontroller and other circuits on the board are exposed and can be damaged through ESD when handling the board.
  
-Digilent Pmod peripheral modules can either be plugged directly into the connectors on the chipKIT Pro MX7 or attached via cables. Digilent has a variety of Pmod interconnect cables available.+Digilent Pmods can either be plugged directly into the ports on the chipKIT Pro MX7 or attached via cables. Digilent has a variety of Pmod interconnect cables available.
  
 See the Pinout Tables in Appendix C for more information about connecting peripheral modules and other devices to the chipKIT Pro MX7. These tables describe the mapping between pins on the PIC32MX795 microcontroller and the pins on the various connectors. See the Pinout Tables in Appendix C for more information about connecting peripheral modules and other devices to the chipKIT Pro MX7. These tables describe the mapping between pins on the PIC32MX795 microcontroller and the pins on the various connectors.
Line 246: Line 246:
 ====== Digital Inputs and Outputs ====== ====== Digital Inputs and Outputs ======
  
-The chipKIT Pro MX7 board provides access to 48 of the I/O pins from the PIC32MX795 microcontroller via the Pmod connectors. Four additional I/O pins can be accessed via the I2C connectors, J7 and J8. Any of the pins on the Pmod or I2C connectors can be individually accessed for digital input or output. Note that when the I2C signals on J7 or J8 are being used for I2C communications, they are not available for general purpose I/O.+The chipKIT Pro MX7 board provides access to 48 of the I/O pins from the PIC32MX795 microcontroller via the Pmod ports. Four additional I/O pins can be accessed via the I2C connectors, J7 and J8. Any of the pins on the Pmod or I2C ports can be individually accessed for digital input or output. Note that when the I2C signals on J7 or J8 are being used for I2C communications, they are not available for general purpose I/O.
  
 On PIC32 microcontrollers, the input/output pins are grouped into I/O Ports and are accessed via peripheral registers in the microcontroller. There are seven I/O Ports numbered A–G and each of the ports are 16 bits wide. Depending on the particular PIC32 microcontroller, some of the I/O Ports are not present, and not all 16 bits are present in all I/O Ports. On PIC32 microcontrollers, the input/output pins are grouped into I/O Ports and are accessed via peripheral registers in the microcontroller. There are seven I/O Ports numbered A–G and each of the ports are 16 bits wide. Depending on the particular PIC32 microcontroller, some of the I/O Ports are not present, and not all 16 bits are present in all I/O Ports.
Line 262: Line 262:
 Refer to the PIC32MX5XX/6XX/7XX Family Data Sheet, and the PIC32 Family Reference Manual, Section 12, I/O Ports, for more detailed information about the operation of the I/O Ports in the microcontroller. Refer to the PIC32MX5XX/6XX/7XX Family Data Sheet, and the PIC32 Family Reference Manual, Section 12, I/O Ports, for more detailed information about the operation of the I/O Ports in the microcontroller.
  
-Pmod connector JF, pins 8, 9, and 10 are connected to the signals TCK/RA1, TDI/RA4, and TDO/RA5 respectively. These microcontroller pins are shared between general purpose I/O functions and use by the JTAG controller. The JTAG controller is enabled on reset, so these pins are not available for general purpose I/O until the JTAG controller is disabled. The following statement can be used to disable the JTAG controller:+Pmod port JF, pins 8, 9, and 10 are connected to the signals TCK/RA1, TDI/RA4, and TDO/RA5 respectively. These microcontroller pins are shared between general purpose I/O functions and use by the JTAG controller. The JTAG controller is enabled on reset, so these pins are not available for general purpose I/O until the JTAG controller is disabled. The following statement can be used to disable the JTAG controller:
  
 DDPCONbits.JTAGEN = 0; DDPCONbits.JTAGEN = 0;
Line 270: Line 270:
 The MPIDE system uses logical pin numbers to identify digital I/O pins on the connectors. These pin numbers start with pin 0 and are numbered up consecutively.  The MPIDE system uses logical pin numbers to identify digital I/O pins on the connectors. These pin numbers start with pin 0 and are numbered up consecutively. 
  
-On the chipKIT Pro MX7, pin numbers 0-47 are used to access the pins on the Pmod connectors and pin numbers 55-58 are used for the signal pins on the I2C connectors, J7 and J8. The pin numbers are assigned so that connector JA pin 1 (JA-01) is digital pin 0, JA pin 2 (JA-02) is digital pin 1, and so on. +On the chipKIT Pro MX7, pin numbers 0-47 are used to access the pins on the Pmod ports and pin numbers 55-58 are used for the signal pins on the I2C connectors, J7 and J8. The pin numbers are assigned so that connector JA pin 1 (JA-01) is digital pin 0, JA pin 2 (JA-02) is digital pin 1, and so on. 
  
-Pins 0-7 are on connector JA, pins 8-15 on JB, pins 16-23 on JC, pins 24-31 and so on. Refer to the tables in Appendix B for detailed information about the pin mapping between Pmod connector, logical pin number, and PIC32 microcontroller pin number and pin function.+Pins 0-7 are on connector JA, pins 8-15 on JB, pins 16-23 on JC, pins 24-31 and so on. Refer to the tables in Appendix B for detailed information about the pin mapping between Pmod ports, logical pin number, and PIC32 microcontroller pin number and pin function.
  
 When using the chipKIT Pro MX7 with the MPIDE, the functions pinMode(), digitalRead(), and digitalWrite() are used for digital pin I/O. When using the chipKIT Pro MX7 with the MPIDE, the functions pinMode(), digitalRead(), and digitalWrite() are used for digital pin I/O.
Line 318: Line 318:
 Refer to the PIC32MX5XX/6XX/7XX Family Data Sheet for more information about which pins on the device are 5V tolerant before applying input signals higher than 3.3V to any pin on the chipKIT Pro MX7 board. Refer to the PIC32MX5XX/6XX/7XX Family Data Sheet for more information about which pins on the device are 5V tolerant before applying input signals higher than 3.3V to any pin on the chipKIT Pro MX7 board.
  
-If a 5V signal is applied to a non-5V tolerant pin, some external means must be used to limit the applied voltage to 3.6V or less. The chipKIT Pro MX7 board provides 200 ohm series resistors between the microcontroller pins and the Pmod connector pins. These resistors are primarily intended to provide short circuit protection on the outputs, but will also provide limited protection if a 5V signal is inadvertently applied to a non-5V tolerant pin.+If a 5V signal is applied to a non-5V tolerant pin, some external means must be used to limit the applied voltage to 3.6V or less. The chipKIT Pro MX7 board provides 200 ohm series resistors between the microcontroller pins and the Pmod port pins. These resistors are primarily intended to provide short circuit protection on the outputs, but will also provide limited protection if a 5V signal is inadvertently applied to a non-5V tolerant pin.
  
 One technique that can be used to limit an input voltage to a safe level is to use a 200 ohm series resistor and Schottky diode connected to the 3.3V supply to clamp the voltage. One technique that can be used to limit an input voltage to a safe level is to use a 200 ohm series resistor and Schottky diode connected to the 3.3V supply to clamp the voltage.
Line 458: Line 458:
 The MPIDE boot loader sets the configuration variables, and so no action is necessary when using the MPIDE software system. The MPIDE boot loader sets the configuration variables, and so no action is necessary when using the MPIDE software system.
  
-The pins on the PIC32MX795 microcontroller used by signals for the CAN1 controller to connect to its transceiver are shared with two of the signals for the UART2 and SPI4 ports. Jumpers JP1 and JP2 are used to select the use of these two signals. Place JP1 and JP2 in the CAN position for use of the CAN1 network interface. Place JP1 and JP2 in the PMOD position for use of these signals for UART or SPI operation. These signals connect to pins 1 & 4 of Pmod connector JF. When JP1 and JP2 are in the CAN position, Pins 1 & 4 of Pmod connector JF are not useable. In some cases it may be possible to use UART2 at the same time as CAN1 as the RX and TX pins are not used by the CAN interface (only RTS and CTS are used). When JP1 and JP2 are in the CAN position Pmod pins JF-01 and JF-04 are not connected to the PIC32 microcontroller.+The pins on the PIC32MX795 microcontroller used by signals for the CAN1 controller to connect to its transceiver are shared with two of the signals for the UART2 and SPI4 ports. Jumpers JP1 and JP2 are used to select the use of these two signals. Place JP1 and JP2 in the CAN position for use of the CAN1 network interface. Place JP1 and JP2 in the PMOD position for use of these signals for UART or SPI operation. These signals connect to pins 1 & 4 of Pmod port JF. When JP1 and JP2 are in the CAN position, Pins 1 & 4 of Pmod port JF are not useable. In some cases it may be possible to use UART2 at the same time as CAN1 as the RX and TX pins are not used by the CAN interface (only RTS and CTS are used). When JP1 and JP2 are in the CAN position Pmod pins JF-01 and JF-04 are not connected to the PIC32 microcontroller.
  
 There is no standard connector for use with CAN networks. The chipKIT Pro MX7 board provides two 2x6 pin header connectors for access to the CAN signals. Connector J9 provides access to the signals for the CAN1 network controller, and connector J10 provides access to the signals for CAN2. Refer to the chipKIT Pro MX7 schematic, Sheet 6, for information on the connectors and signal assignments. Digilent 6-pin or 2x6 to dual 6-pin cables can be used to daisy chain Digilent boards together in a CAN network. A Digilent 6-Pin cable in combination with a Digilent PmodCON1 Screw Terminal Connector module can be used to connect the chipKIT Pro MX7 board to other network wiring configurations. There is no standard connector for use with CAN networks. The chipKIT Pro MX7 board provides two 2x6 pin header connectors for access to the CAN signals. Connector J9 provides access to the signals for the CAN1 network controller, and connector J10 provides access to the signals for CAN2. Refer to the chipKIT Pro MX7 schematic, Sheet 6, for information on the connectors and signal assignments. Digilent 6-pin or 2x6 to dual 6-pin cables can be used to daisy chain Digilent boards together in a CAN network. A Digilent 6-Pin cable in combination with a Digilent PmodCON1 Screw Terminal Connector module can be used to connect the chipKIT Pro MX7 board to other network wiring configurations.
Line 471: Line 471:
 The PIC32MX795 microcontroller can provide up to six UARTs. Due to conflicting uses of many of the pins used by the UARTs, the chipKIT Pro MX7 is designed to allow use of two of them: UART1 and UART2. The UARTs can provide either a 2-wire or a 4-wire asynchronous serial interface. The 2-wire interface provides receive (RX) and transmit (TX) pins. The 4-wire interface includes request-to-send (RTS), and clear-to-send (CTS), in addition to receive and transmit. The PIC32MX795 microcontroller can provide up to six UARTs. Due to conflicting uses of many of the pins used by the UARTs, the chipKIT Pro MX7 is designed to allow use of two of them: UART1 and UART2. The UARTs can provide either a 2-wire or a 4-wire asynchronous serial interface. The 2-wire interface provides receive (RX) and transmit (TX) pins. The 4-wire interface includes request-to-send (RTS), and clear-to-send (CTS), in addition to receive and transmit.
  
-UART1 can be accessed from Pmod connector JE and UART2 can be accessed from Pmod connector JF using the following pins:+UART1 can be accessed from Pmod port JE and UART2 can be accessed from Pmod port JF using the following pins:
  
   * U1CTS JE-01   * U1CTS JE-01
Line 487: Line 487:
 Detailed information about the operation of the UART peripherals can be found in the PIC32 Family Reference Manual, Section 21, UART. Detailed information about the operation of the UART peripherals can be found in the PIC32 Family Reference Manual, Section 21, UART.
  
-The USB Serial converter is connected to UART1. The MPIDE uses this to communicate with the boot loader. This can also be used for a serial communications interface between the chipKIT Pro MX7 board and other software running on a PC. Resistors are used to decouple the USB serial interface and so UART1 can also be used via Pmod connector JE when not using it to communicate with the USB serial converter.+The USB Serial converter is connected to UART1. The MPIDE uses this to communicate with the boot loader. This can also be used for a serial communications interface between the chipKIT Pro MX7 board and other software running on a PC. Resistors are used to decouple the USB serial interface and so UART1 can also be used via Pmod port JE when not using it to communicate with the USB serial converter.
  
 Note that when using the MPIDE software, devices connected to JE can interfere with the operation of the serial interface and prevent the MPIDE from successfully downloading sketches to the board. If this happens, disconnect the external device from JE until the sketch has been downloaded and then reconnect it. Note that when using the MPIDE software, devices connected to JE can interfere with the operation of the serial interface and prevent the MPIDE from successfully downloading sketches to the board. If this happens, disconnect the external device from JE until the sketch has been downloaded and then reconnect it.
  
-When using the chipKIT Pro MX7 with the MPIDE and the chipKIT system, the UARTs are accessed using the HardwareSerial facility built into the system. UART1 Pmod connector JE, is accessed using the Serial object and UART2 Pmod connector JF, is accessed using Serial1.+When using the chipKIT Pro MX7 with the MPIDE and the chipKIT system, the UARTs are accessed using the HardwareSerial facility built into the system. UART1 Pmod port JE, is accessed using the Serial object and UART2 Pmod port JF, is accessed using Serial1.
  
  
Line 501: Line 501:
  
 An SPI transaction begins with the master device bringing SS low. When the slave sees SS go low it becomes enabled and waits for the master to send data. The master shifts data out on SDO and simultaneously shifts data in on SDI. The slave device receives data from the master on its SDI pin and simultaneously sends data to the master on its SDO pin. Each time the master sends a byte to the slave, it simultaneously receives a byte from the slave. An SPI transaction begins with the master device bringing SS low. When the slave sees SS go low it becomes enabled and waits for the master to send data. The master shifts data out on SDO and simultaneously shifts data in on SDI. The slave device receives data from the master on its SDI pin and simultaneously sends data to the master on its SDO pin. Each time the master sends a byte to the slave, it simultaneously receives a byte from the slave.
-The PIC32MX795 microcontroller provides four Serial Peripheral Interfaces. The chipKIT Pro MX7 supports use of three ports: SPI1, SPI3, and SPI4. These are accessed using Pmod connectors JD, JE, and JF.+The PIC32MX795 microcontroller provides four Serial Peripheral Interfaces. The chipKIT Pro MX7 supports use of three ports: SPI1, SPI3, and SPI4. These are accessed using Pmod ports JD, JE, and JF.
  
 The following gives the mapping between SPI signals and connector pins: The following gives the mapping between SPI signals and connector pins:
Line 527: Line 527:
 When using the chipKIT Pro MX7 with the MPIDE and the chipKIT system, the SPI ports are accessed using either the standard chipKIT SPI library or using the Digilent DSPI library. When using the chipKIT Pro MX7 with the MPIDE and the chipKIT system, the SPI ports are accessed using either the standard chipKIT SPI library or using the Digilent DSPI library.
  
-The standard SPI library supports access to a single SPI port, SPI4, Pmod connector JF. This is accessed using the SPI object.+The standard SPI library supports access to a single SPI port, SPI4, Pmod port JF. This is accessed using the SPI object.
  
-The DSPI library supports access to all three SPI ports. The DSPI0 object class is used to create an object used to access SPI1, Pmod connector JD. The DSPI1 object class is used to access SPI3, Pmod connector JE, and the DSPI2 object class is used to access SPI4, Pmod connector JF. +The DSPI library supports access to all three SPI ports. The DSPI0 object class is used to create an object used to access SPI1, Pmod port JD. The DSPI1 object class is used to access SPI3, Pmod port JE, and the DSPI2 object class is used to access SPI4, Pmod port JF. 
  
  
Line 542: Line 542:
 The PIC32MX795 microcontroller provides for up to five independent I2C interfaces.  The chipKIT Pro MX7 is designed to provide dedicated access to two of these interfaces I2C1 and I2C2 via I2C daisy chain connectors J7 and J8. Connector J7 provides access to I2C1 while connector J8 provides access to I2C2.  The PIC32MX795 microcontroller provides for up to five independent I2C interfaces.  The chipKIT Pro MX7 is designed to provide dedicated access to two of these interfaces I2C1 and I2C2 via I2C daisy chain connectors J7 and J8. Connector J7 provides access to I2C1 while connector J8 provides access to I2C2. 
  
-In addition to I2C1 and I2C2, two other I2C interfaces, I2C3 and I2C5 can be accessed via pins on Pmod connectors. I2C3 can be accessed via Pmod connector JE, pins JE-02 (SCL3) and JE-03 (SDA3). I2C5 can be accessed via Pmod connector JF, pins JF-02 (SCL5) and JF-03 (SDA5)+In addition to I2C1 and I2C2, two other I2C interfaces, I2C3 and I2C5 can be accessed via pins on Pmod ports. I2C3 can be accessed via Pmod port JE, pins JE-02 (SCL3) and JE-03 (SDA3). I2C5 can be accessed via Pmod port JF, pins JF-02 (SCL5) and JF-03 (SDA5)
  
 The I2C daisy chain connectors, J7 and J8, each provide two positions for connecting to the I2C signals, power and ground.  By using two-wire or four-wire MTE cables (available separately from Digilent) a daisy chain of multiple chipKIT Pro MX7 boards or other I2C-capable boards can be created. The I2C daisy chain connectors, J7 and J8, each provide two positions for connecting to the I2C signals, power and ground.  By using two-wire or four-wire MTE cables (available separately from Digilent) a daisy chain of multiple chipKIT Pro MX7 boards or other I2C-capable boards can be created.
Line 550: Line 550:
 On the chipKIT Pro MX7 I2C2, connector J8, has permanently connected 2.2K ohm, pull-up resistors. I2C1, connector J7, provides selectable pull-ups that can be enabled or disabled via jumper blocks JP3 and JP4. The pull-ups are enabled by installing shorting blocks on JP3 and JP4. They are disabled by removing the shorting blocks. Only one device on the bus should have the pull-ups enabled. On the chipKIT Pro MX7 I2C2, connector J8, has permanently connected 2.2K ohm, pull-up resistors. I2C1, connector J7, provides selectable pull-ups that can be enabled or disabled via jumper blocks JP3 and JP4. The pull-ups are enabled by installing shorting blocks on JP3 and JP4. They are disabled by removing the shorting blocks. Only one device on the bus should have the pull-ups enabled.
  
-If the I2C interfaces on Pmod connectors JE or JF are being used, external pull-up resistors must be provided. These resistors can be in the range 1K ohm to 10K ohm, and should be connected to pull the pins to 3.3V.+If the I2C interfaces on Pmod ports JE or JF are being used, external pull-up resistors must be provided. These resistors can be in the range 1K ohm to 10K ohm, and should be connected to pull the pins to 3.3V.
  
 The pull-ups on I2C1 on the chipKIT Pro MX7 board are actually implemented using current mirrors rather than simple resistors. These current mirrors source approximately 1.7mA. The use of current mirrors provides faster rise times on the I2C signals and provides the ability to drive longer cable runs reliably than would be the case with simple pull-up resistors. The pull-ups on I2C1 on the chipKIT Pro MX7 board are actually implemented using current mirrors rather than simple resistors. These current mirrors source approximately 1.7mA. The use of current mirrors provides faster rise times on the I2C signals and provides the ability to drive longer cable runs reliably than would be the case with simple pull-up resistors.
Line 560: Line 560:
 The Wire library supports a single I2C interface, I2C2 on J8. This is accessed using the Wire object. The Wire library supports a single I2C interface, I2C2 on J8. This is accessed using the Wire object.
  
-The DTWI library supports four I2C interfaces. The DTWI0 object class is used to create an object for access to I2C1, connector J7, and the DTWI1 object class is used to access I2C2, connector J8. The DTWI2 object class is used to access I2C3, Pmod connector JE, and the DTWI3 object class is used to access I2C5, Pmod connector JF.+The DTWI library supports four I2C interfaces. The DTWI0 object class is used to create an object for access to I2C1, connector J7, and the DTWI1 object class is used to access I2C2, connector J8. The DTWI2 object class is used to access I2C3, Pmod port JE, and the DTWI3 object class is used to access I2C5, Pmod port JF.
  
 The pinouts of the I2C connectors are as follows: The pinouts of the I2C connectors are as follows:
Line 601: Line 601:
  
  
-The PIC32MX795 microcontroller provides a 10-bit analog to digital (A/D) converter that provides up to sixteen analog inputs. The chipKIT Pro MX7 board provides access to 10 of these inputs via the Pmod connectors. The converted values produced by the A/D converter will be in the range 0–1023.+The PIC32MX795 microcontroller provides a 10-bit analog to digital (A/D) converter that provides up to sixteen analog inputs. The chipKIT Pro MX7 board provides access to 10 of these inputs via the Pmod ports. The converted values produced by the A/D converter will be in the range 0–1023.
  
 For detailed information on the operation and use of the A/D converter, refer to the PIC32 Family Reference Manual, Section 17, 10-bit AD Converter. For detailed information on the operation and use of the A/D converter, refer to the PIC32 Family Reference Manual, Section 17, 10-bit AD Converter.
Line 607: Line 607:
 The analog inputs are accessed using the analogRead() function in the MPIDE software. The analog input pin number is specified using the symbols A0–A9. The digital pin numbers for the pins or the numbers 0–9 can also be used, but using the symbols A0–A9 is recommended. The analog inputs are accessed using the analogRead() function in the MPIDE software. The analog input pin number is specified using the symbols A0–A9. The digital pin numbers for the pins or the numbers 0–9 can also be used, but using the symbols A0–A9 is recommended.
  
-The following gives the Pmod connector position, digital pin number, microcontroller I/O port, and bit number for the analog inputs:+The following gives the Pmod port position, digital pin number, microcontroller I/O port, and bit number for the analog inputs:
  
   * A0 – JA-01, digital pin 0, RB02   * A0 – JA-01, digital pin 0, RB02
Line 634: Line 634:
 When both external references are being used, Vref+ must have a higher voltage applied to in than Vref-. When both external references are being used, Vref+ must have a higher voltage applied to in than Vref-.
  
-The analog reference input pins appear on Pmod connector JE, pins 9 & 10. Vref- is on pin JE-09, and Vref+ is on pin JE-10. These pins are not available to be used for digital I/O when being used as an external reference.+The analog reference input pins appear on Pmod port JE, pins 9 & 10. Vref- is on pin JE-09, and Vref+ is on pin JE-10. These pins are not available to be used for digital I/O when being used as an external reference.
  
 When using the MPIDE software, the use of external analog references is selected using the analogReference() function. The following values can be used with analogReference(): When using the MPIDE software, the use of external analog references is selected using the analogReference() function. The following values can be used with analogReference():
Line 657: Line 657:
 Each timer has an associated input pin. In some operating modes, this pin can be used as an external clock input to the timer, or as a gate input to turn on/off incrementing of the counter register under control of an external signal. Each timer has an associated input pin. In some operating modes, this pin can be used as an external clock input to the timer, or as a gate input to turn on/off incrementing of the counter register under control of an external signal.
  
-The following gives the Pmod connector position, chipKIT pin number, microcontroller I/O port, and bit number for the timer input pins.+The following gives the Pmod port position, chipKIT pin number, microcontroller I/O port, and bit number for the timer input pins.
  
   * T1CK – not available   * T1CK – not available
Line 695: Line 695:
 When using the MPIDE software, these are accessed using the analogWrite() function. The digital pin number, or preferably, the symbols PIN_OC1 through PIN_OC5 are used to specify the pin. The MPIDE software currently only supports using the output compare units to generate PWM outputs. It uses Timer2 to control the output compares. When using the MPIDE software, these are accessed using the analogWrite() function. The digital pin number, or preferably, the symbols PIN_OC1 through PIN_OC5 are used to specify the pin. The MPIDE software currently only supports using the output compare units to generate PWM outputs. It uses Timer2 to control the output compares.
  
-The following gives Pmod connector position, chipKIT pin number, and microcontroller I/O port and bit number for the output compare unit’s output pins:+The following gives Pmod port position, chipKIT pin number, and microcontroller I/O port and bit number for the output compare unit’s output pins:
  
   * OC1 – JD-02, digital pin 25, RD00   * OC1 – JD-02, digital pin 25, RD00
Line 718: Line 718:
 For detailed information on the operation and use of the input capture units, refer to the PIC32 Family Reference Manual, Section 15, Input Capture. For detailed information on the operation and use of the input capture units, refer to the PIC32 Family Reference Manual, Section 15, Input Capture.
  
-The following gives the Pmod connector position, chipKIT pin number, and microcontroller port and bit number for the input capture units input pins:+The following gives the Pmod port position, chipKIT pin number, and microcontroller port and bit number for the input capture units input pins:
  
   * IC1 – not available   * IC1 – not available
Line 742: Line 742:
 These are accessed using the attachInterrupt() and detachInterrupt() functions when using the MPIDE software. The interrupt number is specified using the numbers 0-4, or preferably, the symbols EXT_INT0 through EXT_INT4. The symbols PIN_INT0 through PIN_INT4 are also defined to refer to the digital pin numbers used for the external interrupt inputs. These are accessed using the attachInterrupt() and detachInterrupt() functions when using the MPIDE software. The interrupt number is specified using the numbers 0-4, or preferably, the symbols EXT_INT0 through EXT_INT4. The symbols PIN_INT0 through PIN_INT4 are also defined to refer to the digital pin numbers used for the external interrupt inputs.
  
-The following gives connector position, chipKIT pin number, and microcontroller I/O port and bit number. Note that INT0-INT1 are on Pmod connectors. INT3 and INT4 are on I2C1 daisy chain connector J7. When using these pins as external interrupt inputs, they are not available to use for I2C. It may also be necessary to disable the pull-ups by pulling the shorting blocks from JP3 or JP4.+The following gives connector position, chipKIT pin number, and microcontroller I/O port and bit number. Note that INT0-INT1 are on Pmod ports. INT3 and INT4 are on I2C1 daisy chain connector J7. When using these pins as external interrupt inputs, they are not available to use for I2C. It may also be necessary to disable the pull-ups by pulling the shorting blocks from JP3 or JP4.
  
   * INT0 – JD-02, digital pin 25, RD00   * INT0 – JD-02, digital pin 25, RD00
Line 764: Line 764:
 ====== Appendix A: Connector Descriptions and Jumper Settings ====== ====== Appendix A: Connector Descriptions and Jumper Settings ======
 ^ Label      ^ Function                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^ ^ Label      ^ Function                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
-| JA-JF      | **Pmod Connectors:** These connectors provide access to the I/O pins on the PIC32MX795 microcontroller. Digilent Pmod peripheral modules can be attached to these connectors. These connectors can be used for general access to I/O pins on the PIC32MX795 microcontroller.                                                                                                                                                                                                                                                                                                  | +| JA-JF      | **Pmod Ports:** These connectors provide access to the I/O pins on the PIC32MX795 microcontroller. Digilent Pmod peripheral modules can be attached to these connectors. These connectors can be used for general access to I/O pins on the PIC32MX795 microcontroller.                                                                                                                                                                                                                                                                                                  | 
-| JPA – JPF  | **Pmod header power select:** Any of the Pmod connectors can provide either regulated or unregulated power. To use regulated power, place the jumper block over the center pin and the pin marked 3V3. To use unregulated power, place the jumper block over the center pin and the pin marked 5V0.                                                                                                                                                                                                                                                                           |+| JPA – JPF  | **Pmod header power select:** Any of the Pmod ports can provide either regulated or unregulated power. To use regulated power, place the jumper block over the center pin and the pin marked 3V3. To use unregulated power, place the jumper block over the center pin and the pin marked 5V0.                                                                                                                                                                                                                                                                           |
 | J1         | **USB Serial converter auxiliary signals:** This connector can be used to access the auxiliary RS232 handshaking signals not used on the chipKIT MX4 board.                                                                                                                                                                                                                                                                                                                                                                                                                   | | J1         | **USB Serial converter auxiliary signals:** This connector can be used to access the auxiliary RS232 handshaking signals not used on the chipKIT MX4 board.                                                                                                                                                                                                                                                                                                                                                                                                                   |
 | J2         | **USB Serial converter (UART) connector:** This USB micro-AB connector is used to connect the FT232R serial converter to a USB port on the user PC.                                                                                                                                                                                                                                                                                                                                                                                                                           | | J2         | **USB Serial converter (UART) connector:** This USB micro-AB connector is used to connect the FT232R serial converter to a USB port on the user PC.                                                                                                                                                                                                                                                                                                                                                                                                                           |
Line 780: Line 780:
 | J19        | **USB Device / OTG Connector:** This is a USB micro-AB connector. It is used when using the PIC32MX795 microcontroller to implement a USB device or OTG Host/Device.                                                                                                                                                                                                                                                                                                                                                                                                          | | J19        | **USB Device / OTG Connector:** This is a USB micro-AB connector. It is used when using the PIC32MX795 microcontroller to implement a USB device or OTG Host/Device.                                                                                                                                                                                                                                                                                                                                                                                                          |
 | J20        | **USB Host Connector:** This is a standard sized USB type A connector. This connector is used to connect USB devices to the board when using the PIC32MX795 microcontroller to implement an embedded USB host.                                                                                                                                                                                                                                                                                                                                                                | | J20        | **USB Host Connector:** This is a standard sized USB type A connector. This connector is used to connect USB devices to the board when using the PIC32MX795 microcontroller to implement an embedded USB host.                                                                                                                                                                                                                                                                                                                                                                |
-| JP1 & JP2  | **CAN or Pmod Select:** These jumpers select microcontroller signals RF12 and RF13 for use with CAN #1 or Pmod connector JF. Place these jumpers in the CAN position to use CAN #1. Place the jumpers in the PMOD position to use then with Pmod connector JF.                                                                                                                                                                                                                                                                                                                |+| JP1 & JP2  | **CAN or Pmod Select:** These jumpers select microcontroller signals RF12 and RF13 for use with CAN #1 or Pmod port JF. Place these jumpers in the CAN position to use CAN #1. Place the jumpers in the PMOD position to use then with Pmod port JF.                                                                                                                                                                                                                                                                                                                |
 | JP3 & JP4  | **Pull-up enable for I2C1:** These two jumpers are used to enable/disable the pull-up resistors on I2C1. Insert shorting blocks on these two jumpers to enable the pull-up resistors. Remove the shorting blocks to disable the pull-up resistors. Only a single device on the I2C bus should have the pull-up resistors enabled.                                                                                                                                                                                                                                             | | JP3 & JP4  | **Pull-up enable for I2C1:** These two jumpers are used to enable/disable the pull-up resistors on I2C1. Insert shorting blocks on these two jumpers to enable the pull-up resistors. Remove the shorting blocks to disable the pull-up resistors. Only a single device on the I2C bus should have the pull-up resistors enabled.                                                                                                                                                                                                                                             |
 | JP5        | **CAN #1 Termination:** This jumper is used to enable/disable the 120 ohm termination resistor for CAN #1. Insert the shorting block to enable the termination resistor, remove it to disable the termination resistor.                                                                                                                                                                                                                                                                                                                                                       | | JP5        | **CAN #1 Termination:** This jumper is used to enable/disable the 120 ohm termination resistor for CAN #1. Insert the shorting block to enable the termination resistor, remove it to disable the termination resistor.                                                                                                                                                                                                                                                                                                                                                       |
Line 791: Line 791:
 | JP17       | **Do Not Use.**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | JP17       | **Do Not Use.**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  
 +
 +----
  
  
 ====== Appendix B: Example of Configuration Values ====== ====== Appendix B: Example of Configuration Values ======
  
-The following example illustrates setting the configuration values in the PIC32 microcontroller on the ChipKIT Pro +The following example illustrates setting the configuration values in the PIC32 microcontroller on the chipKIT Pro MX7. The microcontroller configuration should be done in a single source file in the project, and is typically done in the 'mainproject source file. This example sets all configuration values to valid values for the chipKIT Pro MX7 board. It sets the system clock for processor operation at 80 MHz, and the peripheral bus at 10 MHz. 
-MX7. The microcontroller configuration should be done in a single source file in the project, and is typically done in + 
-the main’ project source file. This example sets all configuration values to valid values for the ChipKIT Pro MX7 +<code> 
-board. It sets the system clock for processor operation at 80 MHz, and the peripheral bus at 10 MHz.+/* ------------------------------------------------------------ */ 
 +/* PIC32 Configuration Settings     */ 
 +/* ------------------------------------------------------------ */ 
 + 
 +/* Oscillator Settings 
 +*/ 
 +#pragma config FNOSC = PRIPLL // Oscillator selection 
 +#pragma config POSCMOD = EC // Primary oscillator mode 
 +#pragma config FPLLIDIV = DIV_2 // PLL input divider 
 +#pragma config FPLLMUL = MUL_20 // PLL multiplier 
 +#pragma config FPLLODIV = DIV_1 // PLL output divider 
 +#pragma config FPBDIV = DIV_8 // Peripheral bus clock divider 
 +#pragma config FSOSCEN = OFF // Secondary oscillator enable 
 + 
 +/* Clock control settings 
 +*/ 
 +#pragma config IESO = OFF // Internal/external clock switchover 
 +#pragma config FCKSM = CSDCMD // Clock switching (CSx)/Clock monitor (CMx) 
 +#pragma config OSCIOFNC = OFF // Clock output on OSCO pin enable 
 + 
 +/* USB Settings 
 +*/ 
 +#pragma config UPLLEN = ON // USB PLL enable 
 +#pragma config UPLLIDIV = DIV_2 // USB PLL input divider 
 +#pragma config FVBUSONIO = OFF // VBUS pin control 
 +#pragma config FUSBIDIO = OFF // USBID pin control 
 + 
 +/* Other Peripheral Device settings 
 +*/ 
 +#pragma config FWDTEN = OFF // Watchdog timer enable 
 +#pragma config WDTPS = PS1024 // Watchdog timer post-scaler 
 +#pragma config FSRSSEL = PRIORITY_7 // SRS interrupt priority 
 +#pragma config FCANIO = OFF // Standard/alternate CAN pin select 
 +#pragma config FETHIO = ON // Standard/alternate ETH pin select 
 +#pragma config FMIIEN = OFF // MII/RMII select (OFF=RMII) 
 + 
 +/* Code Protection settings 
 +*/ 
 +#pragma config CP = OFF // Code protection 
 +#pragma config BWP = OFF // Boot flash write protect 
 +#pragma config PWP = OFF // Program flash write protect 
 + 
 +/* Debug settings 
 +*/ 
 +#pragma config ICESEL = ICS_PGx1 // ICE pin selection 
 +</code> 
 + 
 + 
 +---- 
 + 
 +====== Appendix C: Connector Pinout Tables ====== 
 +===== Arranged by Microcontroller Pin Number ===== 
 + 
 +^ PIC32 Pin #  ^ Connector Pin  ^ chipKIT Pin #  ^ MCU Port Bit  ^ PIC32 Signal Name                    ^ Notes                  ^ 
 +| 1            | LD4            | 54             | RG15          | AERXERR/RG15                         | LED4                   | 
 +| 3            | JB-08          | 13             | RE05          | PMD5/RE5                                                    | 
 +| 4            | JB-09          | 14             | RE06          | PMD6/RE6                                                    | 
 +| 5            | JB-10          | 15             | RE07          | PMD7/RE7                                                    | 
 +| 6            | JC-01          | 16             | RC01          | T2CK/RC1                                                    | 
 +| 7            | N/A            | N/A            | RC02          | T3CK/AC2TX/RC2                       | CAN2                   | 
 +| 8            | N/A            | N/A            | RC03          | T4CK/AC2RX/RC3                       | CAN2                   | 
 +| 9            | JD-03          | 26             | RC04          | T5CK/SDI1/RC4                        |                        | 
 +| 10           | BTN1           | 47             | RG06          | .../SCK2A/U2BTX/U2ARTS/PMA5/CN8/RG6  | BTN1                   | 
 +| 11           | BTN2           | 49             | RG07          | .../SDA2A/SDI2A/U2ARX/PMA4/CN9/RG7   | BTN2                   | 
 +| 12           | N/A            | N/A            | RG08          | .../SCL2A/SDO2A/U2ATX/PMA3/CN10/RG8  | Ethernet PHY           | 
 +| 14           | N/A            | N/A            | RG09          | .../SS2A/U2BRX/U2ACTS/PMA2/CN11/RG9  | Ethernet PHY           | 
 +| 17           | BTN3           | 50             | RA00          | TMS/RA0                              | BTN3                   | 
 +| 18           | JE-07          | 36             | RE08          | AERXD0/INT1/RE8                      |                        | 
 +| 19           | JF-07          | 44             | RE09          | AERXD1/INT2/RE9                      |                        | 
 +| 20           | N/A            | 59             | RB05          | AN5/C1IN+/VBUSON/CN7/RB5             | USB VBUSON             | 
 +| 21           | JA-03          | 2              | RB04          | AN4/C1IN-/CN6/RB4                    |                        | 
 +| 22           | JA-02          | 1              | RB03          | AN3/C2IN+/CN5/RB3                    |                        | 
 +| 23           | JA-01          | 0              | RB02          | AN2/C2IN-/CN4/RB2                    |                        | 
 +| 24           | N/A            | N/A            | RB01          | PGEC1/AN1/CN3/RB1                    | debug PGD              | 
 +| 25           | N/A            | N/A            | RB00          | PGED1/AN0/CN2/RB0                    | debug PGC              | 
 +| 26           | JA-04          | 3              | RB06          | PGEC2/AN6/OCFA/RB6                                          | 
 +| 27           | JA-07          | 4              | RB07          | PGED2/AN7/RB7                        |                        | 
 +| 28           | JE-09          | 38             | RA09          | Vref-/CVref-/AERXD2/PMA7/RA9                                | 
 +| 29           | JE-10          | 39             | RA10          | Vref+/CVref+/AERXD3/PMA6/RA10        |                        | 
 +| 32           | JA-08          | 5              | RB08          | AN8/C1OUT/RB8                        |                        | 
 +| 33           | JA-09          | 6              | RB09          | AN9/C2OUT/RB9                        |                        | 
 +| 34           | JA-10          | 7              | RB10          | CVrefout/PMA13/AN10/RB10                                    | 
 +| 35           | N/A            | N/A            | RB11          | AN11/ERXERR/AETXERR/PMA12/RB11       | Ethernet PHY           | 
 +| 38           | JF-08          | 45             | RA01          | TCK/RA1                              |                        | 
 +| 39           | JF-04          | 43             | RF13          | AC1TX/SCK3A/U3BTX/U3ARTS/RF13        | also CAN1  (JP-2)      | 
 +| 40           | JF-01          | 40             | RF12          | AC1RX/SS3A/U3BRX/U3ACTS/RF12         | also  CAN1  (JP-1)     | 
 +| 41           | N/A            | N/A            | RB12          | AN12/ERXD0/AECRS/PMA11/RB12          | Ethernet PHY           | 
 +| 42           | N/A            | N/A            | RB13          | AN13/ERXD1/AECOL/PMA10/RB13          | Ethernet PHY           | 
 +| 43           | JC-10          | 23             | RB14          | AN14/ERXD2/AETXD3/PMALH/PMA1/RB14    |                        | 
 +| 44           | JC-07          | 20             | RB15          | AN15/.../OCFB/PMALL/PMA0/CN12/RB15                          | 
 +| 47           | JE-01          | 32             | RD14          | AETXD0/SS1A/U1BRX/U1ACTS/CN20/RD14                          | 
 +| 48           | JE-04          | 35             | RD15          | AETXD1/SCK1A/U1BTX/U1ARTS/CN21/RD15  |                        | 
 +| 49           | JF-03          | 42             | RF04          | SDA3A/SDI3A/U3ARX/PMA9/CN17/RF4      |                        | 
 +| 50           | JF-02          | 41             | RF05          | SCL3A/SDO3A/U3ATX/PMA8/CN18/RF5      |                        | 
 +| 51           | N/A            | N/A            | RF03          | USBID/RF3                            | USBID (USB-4)          | 
 +| 52           | JE-03          | 34             | RF02          | SDA1A/SDI1A/U1ARX/RF2                |                        | 
 +| 53           | JE-02          | 33             | RF08          | SCL1A/SDO1A/U1ATX/RF8                |                        | 
 +| 56           | N/A            | N/A            | RG03          | D-/RG3                               | D- (USB-2)             | 
 +| 57           | N/A            | N/A            | RG02          | D+/RG2                               | D+ (USB-3)             | 
 +| 58           | J7-1, J7-2     | 55             | RA02          | SCL2/RA2                             | I2C2                   | 
 +| 59           | J7-3, J7-4     | 56             | RA03          | SDA2/RA3                             | I2C2                   | 
 +| 60           | JF-09          | 46             | RA04          | TDI/RA4                              |                        | 
 +| 61           | JF-10          | 48             | RA05          | TDO/RA5                              |                        | 
 +| 63           | N/A            | N/A            | RC12          | OSC1/CLKI/RC12                       | Primary Oscillator     | 
 +| 64           | N/A            | N/A            | RC15          | OSC2/CLKO/RC15                       | Primary Oscillator     | 
 +| 66           | J8-1, J8-2     | 57             | RA14          | AETXCLK/SCL1/INT3/RA14               | I2C1                   | 
 +| 67           | J8-3, J8-4     | 58             | RA15          | AETXEN/SDA1/INT4/RA15                | I2C1                   | 
 +| 68           | N/A            | N/A            | RD08          | RTCC/EMDIO/AEMDIO/IC1/RD8            | Ethernet PHY           | 
 +| 69           | JD-01          | 24             | RD09          | SS1/IC2/RD9                          |                        | 
 +| 70           | JD-04          | 27             | RD10          | SCK1/IC3/PMCS2/PMA15/RD10            |                        | 
 +| 71           | N/A            | N/A            | RD11          | EMDC/AEMDC/IC4/PMCS1/PMA14/RD11      | Ethernet PHY           | 
 +| 72           | JD-02          | 25             | RD00          | SDO1/OC1/INT0/RD0                    |                        | 
 +| 73           | N/A            | N/A            | RC13          | SOSCI/CN1/RC13                       | Secondary Oscillator   | 
 +| 74           | N/A            | N/A            | RC14          | SOSCO/T1CK/CN0/RC14                  | Secondary Oscillator   | 
 +| 76           | JD-07          | 28             | RD01          | OC2/RD1                              |                        | 
 +| 77           | JD-08          | 29             | RD02          | OC3/RD2                              |                        | 
 +| 78           | JD-09          | 30             | RD03          | OC4/RD3                              |                        | 
 +| 79           | JD-10          | 31             | RD12          | ETXD2/IC5/PMD12/RD12                                        | 
 +| 80           | N/A            | 60             | RD13          | ETXD3/PMD13/CN19/RD13                | USB Overcurrent        | 
 +| 81           | JC-09          | 22             | RD04          | OC5/PMWR/CN13/RD4                    |                        | 
 +| 82           | JC-08          | 21             | RD05          | PMRD/CN14/RD5                        |                        | 
 +| 83           | N/A            | N/A            | RD06          | ETXEN/PMD14/CN15/RD6                 | Ethernet PHY           | 
 +| 84           | JC-04          | 19             | RD07          | ETXCLK/PMD15/CN16/RD7                |                        | 
 +| 87           | N/A            | N/A            | RF00          | C1RX/ETXD1/PMD11/RF0                 | Ethernet PHY           | 
 +| 88           | N/A            | N/A            | RF01          | C1TX/ETXD0/PMD10/RF1                 | Ethernet PHY           | 
 +| 89           | JC-03          | 18             | RG01          | C2TX/ETXERR/PMD9/RG1                                        | 
 +| 90           | JC-02          | 17             | RG00          | C2RX/PMD8/RG0                        |                        | 
 +| 91           | N/A            | N/A            | RA06          | TRCLK/RA6                            | Ethernet PHY Reset     | 
 +| 92           | JE-08          | 37             | RA07          | TRD3/RA7                                                    | 
 +| 93           | JB-01          | 8              | RE00          | PMD0/RE0                                                    | 
 +| 94           | JB-02          | 9              | RE01          | PMD1/RE1                                                    | 
 +| 95           | LD3            | 53             | RG14          | TRD2/RG14                            | LED3                   | 
 +| 96           | LD1            | 51             | RG12          | TRD1/RG12                            | LED1                   | 
 +| 97           | LD2            | 52             | RG13          | TRD0/RG13                            | LED2                   | 
 +| 98           | JB-03          | 10             | RE02          | PMD2/RE2                                                    | 
 +| 99           | JB-04          | 11             | RE03          | PMD3/RE3                                                    | 
 +| 100          | JB-07          | 12             | RE04          | PMD4/RE4                                                    | 
 + 
 + 
 + 
 +===== Arranged by Connector Pin Number and Digital Pin Number =====
  
 +^ PIC32 Pin #  ^ Connector Pin #  ^ chipKIT Pin #  ^ MCU Port Bit  ^ PIC32 Signal Name                    ^ Notes                   ^
 +| 23           | JA-01            | 0              | RB02          | AN2/C2IN-/CN4/RB2                    |                         |
 +| 22           | JA-02            | 1              | RB03          | AN3/C2IN+/CN5/RB3                    |                         |
 +| 21           | JA-03            | 2              | RB04          | AN4/C1IN-/CN6/RB4                    |                         |
 +| 26           | JA-04            | 3              | RB06          | PGEC2/AN6/OCFA/RB6                                           |
 +| 27           | JA-07            | 4              | RB07          | PGED2/AN7/RB7                        |                         |
 +| 32           | JA-08            | 5              | RB08          | AN8/C1OUT/RB8                        |                         |
 +| 33           | JA-09            | 6              | RB09          | AN9/C2OUT/RB9                        |                         |
 +| 34           | JA-10            | 7              | RB10          | CVrefout/PMA13/AN10/RB10                                     |
 +| 93           | JB-01            | 8              | RE00          | PMD0/RE0                                                     |
 +| 94           | JB-02            | 9              | RE01          | PMD1/RE1                                                     |
 +| 98           | JB-03            | 10             | RE02          | PMD2/RE2                                                     |
 +| 99           | JB-04            | 11             | RE03          | PMD3/RE3                                                     |
 +| 100          | JB-07            | 12             | RE04          | PMD4/RE4                                                     |
 +| 3            | JB-08            | 13             | RE05          | PMD5/RE5                                                     |
 +| 4            | JB-09            | 14             | RE06          | PMD6/RE6                                                     |
 +| 5            | JB-10            | 15             | RE07          | PMD7/RE7                                                     |
 +| 6            | JC-01            | 16             | RC01          | T2CK/RC1                                                     |
 +| 90           | JC-02            | 17             | RG00          | C2RX/PMD8/RG0                        |                         |
 +| 89           | JC-03            | 18             | RG01          | C2TX/ETXERR/PMD9/RG1                                         |
 +| 84           | JC-04            | 19             | RD07          | ETXCLK/PMD15/CN16/RD7                |                         |
 +| 44           | JC-07            | 20             | RB15          | AN15/.../OCFB/PMALL/PMA0/CN12/RB15                           |
 +| 82           | JC-08            | 21             | RD05          | PMRD/CN14/RD5                        |                         |
 +| 81           | JC-09            | 22             | RD04          | OC5/PMWR/CN13/RD4                    |                         |
 +| 43           | JC-10            | 23             | RB14          | AN14/ERXD2/AETXD3/PMALH/PMA1/RB14    |                         |
 +| 69           | JD-01            | 24             | RD09          | SS1/IC2/RD9                          |                         |
 +| 72           | JD-02            | 25             | RD00          | SDO1/OC1/INT0/RD0                    |                         |
 +| 9            | JD-03            | 26             | RC04          | T5CK/SDI1/RC4                        |                         |
 +| 70           | JD-04            | 27             | RD10          | SCK1/IC3/PMCS2/PMA15/RD10            |                         |
 +| 76           | JD-07            | 28             | RD01          | OC2/RD1                              |                         |
 +| 77           | JD-08            | 29             | RD02          | OC3/RD2                              |                         |
 +| 78           | JD-09            | 30             | RD03          | OC4/RD3                              |                         |
 +| 79           | JD-10            | 31             | RD12          | ETXD2/IC5/PMD12/RD12                                         |
 +| 47           | JE-01            | 32             | RD14          | AETXD0/SS1A/U1BRX/U1ACTS/CN20/RD14                           |
 +| 53           | JE-02            | 33             | RF08          | SCL1A/SDO1A/U1ATX/RF8                |                         |
 +| 52           | JE-03            | 34             | RF02          | SDA1A/SDI1A/U1ARX/RF2                |                         |
 +| 48           | JE-04            | 35             | RD15          | AETXD1/SCK1A/U1BTX/U1ARTS/CN21/RD15  |                         |
 +| 18           | JE-07            | 36             | RE08          | AERXD0/INT1/RE8                      |                         |
 +| 92           | JE-08            | 37             | RA07          | TRD3/RA7                                                     |
 +| 28           | JE-09            | 38             | RA09          | Vref-/CVref-/AERXD2/PMA7/RA9                                 |
 +| 29           | JE-10            | 39             | RA10          | Vref+/CVref+/AERXD3/PMA6/RA10        |                         |
 +| 40           | JF-01            | 40             | RF12          | AC1RX/SS3A/U3BRX/U3ACTS/RF12         | also  CAN1  (JP-1)      |
 +| 50           | JF-02            | 41             | RF05          | SCL3A/SDO3A/U3ATX/PMA8/CN18/RF5      |                         |
 +| 49           | JF-03            | 42             | RF04          | SDA3A/SDI3A/U3ARX/PMA9/CN17/RF4      |                         |
 +| 39           | JF-04            | 43             | RF13          | AC1TX/SCK3A/U3BTX/U3ARTS/RF13        | also CAN1  (JP-2)       |
 +| 19           | JF-07            | 44             | RE09          | AERXD1/INT2/RE9                      |                         |
 +| 38           | JF-08            | 45             | RA01          | TCK/RA1                              |                         |
 +| 60           | JF-09            | 46             | RA04          | TDI/RA4                              |                         |
 +| 10           | BTN1             | 47             | RG06          | .../SCK2A/U2BTX/U2ARTS/PMA5/CN8/RG6  | BTN1                    |
 +| 61           | JF-10            | 48             | RA05          | TDO/RA5                              |                         |
 +| 11           | BTN2             | 49             | RG07          | .../SDA2A/SDI2A/U2ARX/PMA4/CN9/RG7   | BTN2                    |
 +| 17           | BTN3             | 50             | RA00          | TMS/RA0                              | BTN3                    |
 +| 96           | LD1              | 51             | RG12          | TRD1/RG12                            | LED1                    |
 +| 97           | LD2              | 52             | RG13          | TRD0/RG13                            | LED2                    |
 +| 95           | LD3              | 53             | RG14          | TRD2/RG14                            | LED3                    |
 +| 1            | LD4              | 54             | RG15          | AERXERR/RG15                         | LED4                    |
 +| 58           | J7-1, J7-2       | 55             | RA02          | SCL2/RA2                             | I2C2                    |
 +| 59           | J7-3, J7-4       | 56             | RA03          | SDA2/RA3                             | I2C2                    |
 +| 66           | J8-1, J8-2       | 57             | RA14          | AETXCLK/SCL1/INT3/RA14               | I2C1                    |
 +| 67           | J8-3, J8-4       | 58             | RA15          | AETXEN/SDA1/INT4/RA15                | I2C1                    |
 +| 20           | N/A              | 59             | RB05          | AN5/C1IN+/VBUSON/CN7/RB5             | USB VBUSON              |
 +| 80           | N/A              | 60             | RD13          | ETXD3/PMD13/CN19/RD13                | USB Overcurrent detect  |
 +| 7            | N/A              | N/A            | RC02          | T3CK/AC2TX/RC2                       | CAN2                    |
 +| 8            | N/A              | N/A            | RC03          | T4CK/AC2RX/RC3                       | CAN2                    |
 +| 12           | N/A              | N/A            | RG08          | .../SCL2A/SDO2A/U2ATX/PMA3/CN10/RG8  | Ethernet PHY            |
 +| 14           | N/A              | N/A            | RG09          | .../SS2A/U2BRX/U2ACTS/PMA2/CN11/RG9  | Ethernet PHY            |
 +| 24           | N/A              | N/A            | RB01          | PGEC1/AN1/CN3/RB1                    | debug PGD               |
 +| 25           | N/A              | N/A            | RB00          | PGED1/AN0/CN2/RB0                    | debug PGC               |
 +| 35           | N/A              | N/A            | RB11          | AN11/ERXERR/AETXERR/PMA12/RB11       | Ethernet PHY            |
 +| 41           | N/A              | N/A            | RB12          | AN12/ERXD0/AECRS/PMA11/RB12          | Ethernet PHY            |
 +| 42           | N/A              | N/A            | RB13          | AN13/ERXD1/AECOL/PMA10/RB13          | Ethernet PHY            |
 +| 51           | N/A              | N/A            | RF03          | USBID/RF3                            | USBID (USB-4)           |
 +| 56           | N/A              | N/A            | RG03          | D-/RG3                               | D- (USB-2)              |
 +| 57           | N/A              | N/A            | RG02          | D+/RG2                               | D+ (USB-3)              |
 +| 63           | N/A              | N/A            | RC12          | OSC1/CLKI/RC12                       | Primary Oscillator      |
 +| 64           | N/A              | N/A            | RC15          | OSC2/CLKO/RC15                       | Primary Oscillator      |
 +| 68           | N/A              | N/A            | RD08          | RTCC/EMDIO/AEMDIO/IC1/RD8            | Ethernet PHY            |
 +| 71           | N/A              | N/A            | RD11          | EMDC/AEMDC/IC4/PMCS1/PMA14/RD11      | Ethernet PHY            |
 +| 73           | N/A              | N/A            | RC13          | SOSCI/CN1/RC13                       | Secondary Oscillator    |
 +| 74           | N/A              | N/A            | RC14          | SOSCO/T1CK/CN0/RC14                  | Secondary Oscillator    |
 +| 83           | N/A              | N/A            | RD06          | ETXEN/PMD14/CN15/RD6                 | Ethernet PHY            |
 +| 87           | N/A              | N/A            | RF00          | C1RX/ETXD1/PMD11/RF0                 | Ethernet PHY            |
 +| 88           | N/A              | N/A            | RF01          | C1TX/ETXD0/PMD10/RF1                 | Ethernet PHY            |
 +| 91           | N/A              | N/A            | RA06          | TRCLK/RA6                            | Ethernet PHY Reset      |
  
-=== Appendix C: Connector Pinout Tables === 
  
-=== Arranged by Connector Pin Number and Digital Pin Number ===+===== Arranged by MCU Port and Bit Number =====
  
-=== Arranged by MCU Port and Bit Number ===+^ PIC32 Pin #  ^ Connector Pin #  ^ chipKIT Pin #  ^ MCU Port Bit  ^ PIC32 Signal Name                    ^ Notes                   ^ 
 +| 17           | BTN3             | 50             | RA00          | TMS/RA0                              | BTN3                    | 
 +| 38           | JF-08            | 45             | RA01          | TCK/RA1                              |                         | 
 +| 58           | J7-1, J7-2       | 55             | RA02          | SCL2/RA2                             | I2C2                    | 
 +| 59           | J7-3, J7-4       | 56             | RA03          | SDA2/RA3                             | I2C2                    | 
 +| 60           | JF-09            | 46             | RA04          | TDI/RA4                              |                         | 
 +| 61           | JF-10            | 48             | RA05          | TDO/RA5                              |                         | 
 +| 91           | N/A              | 47             | RA06          | TRCLK/RA6                            | Ethernet PHY Reset      | 
 +| 92           | JE-08            | 37             | RA07          | TRD3/RA7                                                     | 
 +| 28           | JE-09            | 38             | RA09          | Vref-/CVref-/AERXD2/PMA7/RA9                                 | 
 +| 29           | JE-10            | 39             | RA10          | Vref+/CVref+/AERXD3/PMA6/RA10        |                         | 
 +| 66           | J8-1, J8-2       | 57             | RA14          | AETXCLK/SCL1/INT3/RA14               | I2C1                    | 
 +| 67           | J8-3, J8-4       | 58             | RA15          | AETXEN/SDA1/INT4/RA15                | I2C1                    | 
 +| 25           | N/A              | N/A            | RB00          | PGED1/AN0/CN2/RB0                    | debug PGC               | 
 +| 24           | N/A              | N/A            | RB01          | PGEC1/AN1/CN3/RB1                    | debug PGD               | 
 +| 23           | JA-01            | 0              | RB02          | AN2/C2IN-/CN4/RB2                    |                         | 
 +| 22           | JA-02            | 1              | RB03          | AN3/C2IN+/CN5/RB3                    |                         | 
 +| 21           | JA-03            | 2              | RB04          | AN4/C1IN-/CN6/RB4                    |                         | 
 +| 20           | N/A              | 59             | RB05          | AN5/C1IN+/VBUSON/CN7/RB5             | USB VBUSON              | 
 +| 26           | JA-04            | 3              | RB06          | PGEC2/AN6/OCFA/RB6                                           | 
 +| 27           | JA-07            | 4              | RB07          | PGED2/AN7/RB7                        |                         | 
 +| 32           | JA-08            | 5              | RB08          | AN8/C1OUT/RB8                        |                         | 
 +| 33           | JA-09            | 6              | RB09          | AN9/C2OUT/RB9                        |                         | 
 +| 34           | JA-10            | 7              | RB10          | CVrefout/PMA13/AN10/RB10                                     | 
 +| 35           | N/A              | N/A            | RB11          | AN11/ERXERR/AETXERR/PMA12/RB11       | Ethernet PHY            | 
 +| 41           | N/A              | N/A            | RB12          | AN12/ERXD0/AECRS/PMA11/RB12          | Ethernet PHY            | 
 +| 42           | N/A              | N/A            | RB13          | AN13/ERXD1/AECOL/PMA10/RB13          | Ethernet PHY            | 
 +| 43           | JC-10            | 23             | RB14          | AN14/ERXD2/AETXD3/PMALH/PMA1/RB14    |                         | 
 +| 44           | JC-07            | 20             | RB15          | AN15/.../OCFB/PMALL/PMA0/CN12/RB15                           | 
 +| 6            | JC-01            | 16             | RC01          | T2CK/RC1                                                     | 
 +| 7            | N/A              | N/A            | RC02          | T3CK/AC2TX/RC2                       | CAN2                    | 
 +| 8            | N/A              | N/A            | RC03          | T4CK/AC2RX/RC3                       | CAN2                    | 
 +| 9            | JD-03            | 26             | RC04          | T5CK/SDI1/RC4                        |                         | 
 +| 63           | N/A              | N/A            | RC12          | OSC1/CLKI/RC12                       | Primary Oscillator      | 
 +| 73           | N/A              | N/A            | RC13          | SOSCI/CN1/RC13                       | Secondary Oscillator    | 
 +| 74           | N/A              | N/A            | RC14          | SOSCO/T1CK/CN0/RC14                  | Secondary Oscillator    | 
 +| 64           | N/A              | N/A            | RC15          | OSC2/CLKO/RC15                       | Primary Oscillator      | 
 +| 72           | JD-02            | 25             | RD00          | SDO1/OC1/INT0/RD0                    |                         | 
 +| 76           | JD-07            | 28             | RD01          | OC2/RD1                              |                         | 
 +| 77           | JD-08            | 29             | RD02          | OC3/RD2                              |                         | 
 +| 78           | JD-09            | 30             | RD03          | OC4/RD3                              |                         | 
 +| 81           | JC-09            | 22             | RD04          | OC5/PMWR/CN13/RD4                    |                         | 
 +| 82           | JC-08            | 21             | RD05          | PMRD/CN14/RD5                        |                         | 
 +| 83           | N/A              | N/A            | RD06          | ETXEN/PMD14/CN15/RD6                 | Ethernet PHY            | 
 +| 84           | JC-04            | 19             | RD07          | ETXCLK/PMD15/CN16/RD7                |                         | 
 +| 68           | N/A              | N/A            | RD08          | RTCC/EMDIO/AEMDIO/IC1/RD8            | Ethernet PHY            | 
 +| 69           | JD-01            | 24             | RD09          | SS1/IC2/RD9                          |                         | 
 +| 70           | JD-04            | 27             | RD10          | SCK1/IC3/PMCS2/PMA15/RD10            |                         | 
 +| 71           | N/A              | N/A            | RD11          | EMDC/AEMDC/IC4/PMCS1/PMA14/RD11      | Ethernet PHY            | 
 +| 79           | JD-10            | 31             | RD12          | ETXD2/IC5/PMD12/RD12                                         | 
 +| 80           | N/A              | 60             | RD13          | ETXD3/PMD13/CN19/RD13                | USB Overcurrent detect 
 +| 47           | JE-01            | 32             | RD14          | AETXD0/SS1A/U1BRX/U1ACTS/CN20/RD14                           | 
 +| 48           | JE-04            | 35             | RD15          | AETXD1/SCK1A/U1BTX/U1ARTS/CN21/RD15  |                         | 
 +| 93           | JB-01            | 8              | RE00          | PMD0/RE0                                                     | 
 +| 94           | JB-02            | 9              | RE01          | PMD1/RE1                                                     | 
 +| 98           | JB-03            | 10             | RE02          | PMD2/RE2                                                     | 
 +| 99           | JB-04            | 11             | RE03          | PMD3/RE3                                                     | 
 +| 100          | JB-07            | 12             | RE04          | PMD4/RE4                                                     | 
 +| 3            | JB-08            | 13             | RE05          | PMD5/RE5                                                     | 
 +| 4            | JB-09            | 14             | RE06          | PMD6/RE6                                                     | 
 +| 5            | JB-10            | 15             | RE07          | PMD7/RE7                                                     | 
 +| 18           | JE-07            | 36             | RE08          | AERXD0/INT1/RE8                      |                         | 
 +| 19           | JF-07            | 44             | RE09          | AERXD1/INT2/RE9                      |                         | 
 +| 87           | N/A              | N/A            | RF00          | C1RX/ETXD1/PMD11/RF0                 | Ethernet PHY            | 
 +| 88           | N/A              | N/A            | RF01          | C1TX/ETXD0/PMD10/RF1                 | Ethernet PHY            | 
 +| 52           | JE-03            | 34             | RF02          | SDA1A/SDI1A/U1ARX/RF2                |                         | 
 +| 51           | N/A              | N/A            | RF03          | USBID/RF3                            | USBID (USB-4)           | 
 +| 49           | JF-03            | 42             | RF04          | SDA3A/SDI3A/U3ARX/PMA9/CN17/RF4      |                         | 
 +| 50           | JF-02            | 41             | RF05          | SCL3A/SDO3A/U3ATX/PMA8/CN18/RF5      |                         | 
 +| 53           | JE-02            | 33             | RF08          | SCL1A/SDO1A/U1ATX/RF8                |                         | 
 +| 40           | JF-01            | 40             | RF12          | AC1RX/SS3A/U3BRX/U3ACTS/RF12         | also  CAN1  (JP-1)      | 
 +| 39           | JF-04            | 43             | RF13          | AC1TX/SCK3A/U3BTX/U3ARTS/RF13        | also CAN1  (JP-2)       | 
 +| 90           | JC-02            | 17             | RG00          | C2RX/PMD8/RG0                        |                         | 
 +| 89           | JC-03            | 18             | RG01          | C2TX/ETXERR/PMD9/RG1                                         | 
 +| 57           | N/A              | N/A            | RG02          | D+/RG2                               | D+ (USB-3)              | 
 +| 56           | N/A              | N/A            | RG03          | D-/RG3                               | D- (USB-2)              | 
 +| 10           | BTN1             | 47             | RG06          | .../SCK2A/U2BTX/U2ARTS/PMA5/CN8/RG6  | BTN1                    | 
 +| 11           | BTN2             | 49             | RG07          | .../SDA2A/SDI2A/U2ARX/PMA4/CN9/RG7   | BTN2                    | 
 +| 12           | N/A              | N/A            | RG08          | .../SCL2A/SDO2A/U2ATX/PMA3/CN10/RG8  | Ethernet PHY            | 
 +| 14           | N/A              | N/A            | RG09          | .../SS2A/U2BRX/U2ACTS/PMA2/CN11/RG9  | Ethernet PHY            | 
 +| 96           | LD1              | 51             | RG12          | TRD1/RG12                            | LED1                    | 
 +| 97           | LD2              | 52             | RG13          | TRD0/RG13                            | LED2                    | 
 +| 95           | LD3              | 53             | RG14          | TRD2/RG14                            | LED3                    | 
 +| 1            | LD4              | 54             | RG15          | AERXERR/RG15                         | LED4                    |