Advertisement

Quick Links

chipKIT™ MX3 Board Reference Manual
Revised October 11, 2013
This manual applies to the chipKIT MX3 rev. B
Overview
chipKIT MX3 is the new name for Cerebot MX3. This board retains all functionality of the Cerebot MX3.
The chipKIT MX3 is a microcontroller development board based on the Microchip PIC32MX320F128H, a member of
the 32-bit PIC32 microcontroller family. It is compatible with Digilent's line of Pmods™, and is suitable for use with
®
the Microchip® MPLAB
IDE tools. The chipKIT MX3 is also compatible for use with the chipKIT MPIDE development
environment. chipKIT MPIDE is a PIC32 based system compatible with many existing Arduino™ code examples,
reference materials, and other resources.
The chipKIT MX3 board.
The chipKIT MX3 is designed to be easy to use and suitable for beginners to advanced users for experimenting with
electronics and embedded control systems. It is intended to be used with either the multi-platform integrated
development environment (MPIDE, a modified Arduino IDE) or the Microchip MPLAB IDE. The kit contains
everything needed to start developing embedded applications using the MPIDE. In order to use the MPLAB IDE, an
additional programming/debugging device, such as a Microchip PICkit™3 is required.
The chipKIT MX3 provides 42 I/O pins that support a number of peripheral functions, such as UART, SPI, and I
ports, as well as five pulse width modulated outputs and five external interrupt inputs. Eleven of the I/O pins can
be used as analog inputs in addition to their use as digital inputs and outputs.
The chipKIT MX3 can be powered via USB, an external power supply that may be either an AC-DC power adapter,
or batteries.
DOC#: 502-297
Other product and company names mentioned may be trademarks of their respective owners.
Features include:
Microcontroller: PIC32MX320F128H
Flash Memory: 128K
RAM Memory: 16K
Operating Voltage: 3.3V
Max Operating Frequency: 80Mhz
Typical operating current: 75mA
Input Voltage (recommended): 7V to 15V
Input Voltage (maximum): 20V
I/O Pins: 42 total
Analog Inputs: 12
Analog input voltage range: 0V to 3.3V
DC Current per pin: +/-18mA
Copyright Digilent, Inc. All rights reserved.
1300 Henley Court
Pullman, WA 99163
509.334.6306
www.digilentinc.com
2
C
Page 1 of 24

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the chipKIT MX3 and is the answer not in the manual?

Questions and answers

Summary of Contents for Digilent chipKIT MX3

  • Page 1 The chipKIT MX3 board. The chipKIT MX3 is designed to be easy to use and suitable for beginners to advanced users for experimenting with electronics and embedded control systems. It is intended to be used with either the multi-platform integrated development environment (MPIDE, a modified Arduino IDE) or the Microchip MPLAB IDE.
  • Page 2: Programming Tools

    MPIDE to communicate with the MX3, the appropriate USB device driver must be installed. The chipKIT MX3 board uses a standard mini-USB connector for connection to a USB port on the PC. Use a standard USB-A to mini-B cable (not provided) to connect the board to an available USB port on the PC.
  • Page 3 JP1. The shorting block is reinstalled on JP1 to restore operation with the MPIDE. Two red LEDs (LD1 and LD2) will blink when data is being sent or received between the chipKIT MX3 and the PC over the serial connection.
  • Page 4: Additional Reference Documentation

    Digilent at the factory is available for download from the product page for the chipKIT MX3 on the Digilent web site. Additionally, the boot loader source code is available in the chipKIT project repository at www.github.com/chipKIT32/pic32-Arduino-Bootloader.
  • Page 5 425mA from the VCC3V3 bus and up to 925mA from the VCC5V0 bus to power external devices. The combined power used by the VCC5V0 bus and the VCC3V3 bus should not exceed 925mA. The chipKIT MX3 can provide power to any peripheral modules attached to the Pmod connectors, JA-JE, and to I devices connected to the I C daisy chain connector, J2.
  • Page 6: Pmod™ Connectors

    JA–JF, are 2x8 right-angle, female pin header connectors. Each connector 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, and many others.
  • Page 7: Digital Inputs And Outputs

    0 and are numbered up consecutively. On the chipKIT MX3, pin numbers 0–39 are used to access the pins on the Pmod connectors and pin numbers 40 and 41 are used for the two signal pins on the I C connector.
  • Page 8: Signal Compatibility

    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 MX3 board provides 200 ohm series resistors between the microcontroller pins and the Pmod connector pins.
  • Page 9: Cpu Clock Source

    #pragma config FPBDIV. The PBCLK divider can be set to divide by 1, 2, 4, or 8. The following example will set up the chipKIT MX3 for operation with a SYSCLK frequency of 80Mhz and a PBCLK frequency of 10Mhz:...
  • Page 10: Uart Interface

    This is found using the "Help.Topics…" in the MPLAB IDE. Refer to Appendix E for an example of setting the configuration variables. When using the chipKIT MX3 with the MPIDE software, the clock source is automatically set by the boot loader and no action is required.
  • Page 11: Serial Peripheral Interface (Spi)

    Detailed information about the operation of the SPI peripherals can be found in the PIC32 Family Reference Manual, Section 23, Serial Peripheral Interface. When using the chipKIT MX3 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.
  • Page 12 Generally, only one device on the bus will have the pull- ups enabled. There are no pull-up resistors provided on the chipKIT MX3 for I2C2. If I2C2 is to be used, external pull-up resistors must be provided. The operating voltage for the I C busses on the chipKIT MX3 is 3.3V.
  • Page 13: Analog Inputs

    The PIC32MX320 microcontroller provides a 10-bit analog to digital (A/D) converter that provides up to sixteen analog inputs. The chipKIT MX3 board provides access to 11 inputs on the Pmod connectors. The converted values produced by the A/D converter will be in the range 0–1023.
  • Page 14: Output Compare

    The output compare units work in conjunction with a timer. Either Timer2 or Timer3 can be used with any of the five output compare units. Copyright Digilent, Inc. All rights reserved. Page 14 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 15: Input Capture

    CPU when the pin changes state. They can be programmed to interrupt on a rising edge or a falling edge on the pin. Copyright Digilent, Inc. All rights reserved. Page 15 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 16 CHIPKIT and the CHIPKIT Logo are trademarks or registered trademarks of Microchip Technology Incorporated in the U.S. and other countries, and are used under license. Copyright Digilent, Inc. All rights reserved. Page 16 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 17: Appendix A: Connector Description And Jumper Settings

    Auxiliary USB Serial Converter I/O This connector provides access to the additional signals: CTS#, DSR#, DCD#, and RI# provided by the FT232R serial converter. These signals are not used on the chipKIT MX3 board. This connector is not loaded at the factory.
  • Page 18: Appendix B: Example Of Configuration Values

    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 MX3 board. It sets the system clock for processor operation at 80Mhz, and the peripheral bus at 10Mhz. This example is for use with MPLAB.
  • Page 19: Appendix C: Connector Pinout Tables

    JC-04 RB14 PMALH/PMA1/U2RTS/AN14/RB14 RB15 PMALL/PMA0/AN15/OCFB/CN12/RB15 JC-03 RF04 PMA9/U2RX/SDA2/CN17/RF4 JC-02 RF05 PMA8/U2TX/SCL2/CN18/RF5 JB-02 RF03 U1TX/SDO1/RF3 JB-03 RF02 U1RX/SDI1/RF2 Copyright Digilent, Inc. All rights reserved. Page 19 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 20 PIN_LED2, (LD5) JA-01 RE00 PMD0/RE0 JA-02 RE01 PMD1/RE1 JA-03 RE02 PMD2/RE2 JA-04 RE03 PMD3/RE3 JA-07 RE04 PMD4/RE4 Copyright Digilent, Inc. All rights reserved. Page 20 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 21 JE-01 RG09 SS2/PMA2/CN11/RG9 JP8 in M JE-02 RG08 SDO2/PMA3/CN10/RG8 position JP6 in M JE-03 RG07 SDI2/PMA5/CN9/RG7 position Copyright Digilent, Inc. All rights reserved. Page 21 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 22 X2, secondary RC13 SOSCI/CN1/RC13 oscillator X2, secondary RC14 SOSCO/T1CK/CN0/RC14 oscillator VCAP/VDDcore ENVREG RB10 TMS/CVREFOUT/PMA13/AN10/RB10 RB11 TDO/PMA12/AN11/RB11 RB15 PMALL/PMA0/AN15/OCFB/CN12/RB15 Copyright Digilent, Inc. All rights reserved. Page 22 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 23 RD08 IC1/RTCC/INT1/RD8 JB-01 RD09 IC2/U1CTS/INT2/RD9 JD-03 RD10 IC3/PMCS2/PMA15/INT3/RD10 JD-09 RD11 IC4/PMCS1/PMA14/INT4/RD11 JA-01 RE00 PMD0/RE0 JA-02 RE01 PMD1/RE1 Copyright Digilent, Inc. All rights reserved. Page 23 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 24 SDI2/PMA5/CN8/RG7 position JP8 in M JE-02 RG08 SDO2/PMA3/CN10/RG8 position JE-01 RG09 SS2/PMA2/CN11/RG9 MCLR AVDD AVSS VCAP/VDDcore ENVREG Copyright Digilent, Inc. All rights reserved. Page 24 of 24 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 25 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Digilent 410-297P-KIT 410-297...

Table of Contents