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
microprocessor:pro-mx7:reference-manual [2021/10/13 21:06] – external edit 127.0.0.1microprocessor:pro-mx7:reference-manual [2023/02/09 00:51] (current) – external edit 127.0.0.1
Line 26: Line 26:
   * {{ :reference:microprocessor:pro-mx7:digilent_pro_mx7_rm.pdf |PDF}}   * {{ :reference:microprocessor:pro-mx7:digilent_pro_mx7_rm.pdf |PDF}}
  
-====== Features ======+===== Features =====
 ---- ----
 Features of the Pro MX7 include: Features of the Pro MX7 include:
Line 63: Line 63:
 ---- ----
  
-======= Functional Description =======+====== Functional Description ======
  
 The 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 Pro MX7’s programmable PIC32 microcontroller. The 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 Pro MX7’s programmable PIC32 microcontroller.
  
-The 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/|www.store.digilentinc.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 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 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 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 75: Line 75:
  
  
-====== Programming Tools ======+===== Programming Tools =====
  
  
Line 159: Line 159:
 ---- ----
  
-====== Board Power Supply ======+===== Board Power Supply =====
  
  
Line 215: Line 215:
 ---- ----
  
-====== Pmod Ports ======+===== Pmod Ports =====
  
  
Line 246: Line 246:
  
  
-====== Digital Inputs and Outputs ======+===== Digital Inputs and Outputs =====
  
 The 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. The 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.
Line 331: Line 331:
 ---- ----
  
-====== CPU Clock Source ======+===== CPU Clock Source =====
  
 The PIC32 microcontroller supports numerous clock source options for the main processor operating clock. The Pro MX7 board is designed to operate with either a silicon resonator from Discera, IC2, for use with the EC oscillator option, or an external crystal, X1, for use with the XT oscillator option. Standard production boards will have an 8 MHz Discera silicon resonator loaded and the EC oscillator option should be used. If IC2 is not loaded, an 8 MHz crystal will be loaded for X1 (on the bottom of the board) and the XT oscillator option should be used. Oscillator options are selected via the configuration settings specified using the #pragma config statement. Use #pragma config POSCMOD=EC to select the EC option and #pragma config POSCMOD=XT to select the XT option. The PIC32 microcontroller supports numerous clock source options for the main processor operating clock. The Pro MX7 board is designed to operate with either a silicon resonator from Discera, IC2, for use with the EC oscillator option, or an external crystal, X1, for use with the XT oscillator option. Standard production boards will have an 8 MHz Discera silicon resonator loaded and the EC oscillator option should be used. If IC2 is not loaded, an 8 MHz crystal will be loaded for X1 (on the bottom of the board) and the XT oscillator option should be used. Oscillator options are selected via the configuration settings specified using the #pragma config statement. Use #pragma config POSCMOD=EC to select the EC option and #pragma config POSCMOD=XT to select the XT option.
Line 399: Line 399:
  
  
-====== USB Interface ======+===== USB Interface =====
  
 The PIC32MX795 microcontroller contains a USB 2.0 Compliant, Full Speed Device and On-The-Go (OTG) controller.  This controller provides the following features: The PIC32MX795 microcontroller contains a USB 2.0 Compliant, Full Speed Device and On-The-Go (OTG) controller.  This controller provides the following features:
Line 444: Line 444:
 ---- ----
  
-====== CAN Interface ======+===== CAN Interface =====
  
 The Controller Area Network (CAN) is a control networking standard originally developed for use in automobile systems, but has since become a standard used in various industrial control and building automation networking applications as well. The Controller Area Network (CAN) is a control networking standard originally developed for use in automobile systems, but has since become a standard used in various industrial control and building automation networking applications as well.
Line 469: Line 469:
 ---- ----
  
-====== UART Interface ======+===== UART Interface =====
  
 The PIC32MX795 microcontroller can provide up to six UARTs. Due to conflicting uses of many of the pins used by the UARTs, the 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 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.
Line 498: Line 498:
 ---- ----
  
-====== Serial Peripheral Interface (SPI) ======+===== Serial Peripheral Interface (SPI) =====
  
 SPI is a four wire synchronous serial interface and SPI devices can operate as either master devices or as slave devices. The PIC32 microcontroller labels the four SPI signals as Slave Select (SS), Serial Data Out (SDO), Serial Data In (SDI), and Serial Clock (SCK). A master device transmits SS, SDO, SCK, and receives SDI. A slave device receives SS, SDI, SCK, and transmits SDO. The SS signal is used to enable the slave device, and this signal is only significant for slave devices. A master device can use any general purpose I/O pin to generate SS to enable the slave. SPI is a four wire synchronous serial interface and SPI devices can operate as either master devices or as slave devices. The PIC32 microcontroller labels the four SPI signals as Slave Select (SS), Serial Data Out (SDO), Serial Data In (SDI), and Serial Clock (SCK). A master device transmits SS, SDO, SCK, and receives SDI. A slave device receives SS, SDI, SCK, and transmits SDO. The SS signal is used to enable the slave device, and this signal is only significant for slave devices. A master device can use any general purpose I/O pin to generate SS to enable the slave.
Line 537: Line 537:
  
  
-====== I2C™ Interface ======+===== I2C™ Interface =====
  
  
Line 600: Line 600:
  
  
-====== Analog Inputs ======+===== Analog Inputs =====
  
  
Line 650: Line 650:
  
  
-====== Timers ======+===== Timers =====
  
  
Line 677: Line 677:
  
  
-====== Output Compare ======+===== Output Compare =====
  
  
Line 709: Line 709:
  
  
-====== Input Capture ======+===== Input Capture =====
  
  
Line 735: Line 735:
 ---- ----
  
-====== External Interrupts ======+===== External Interrupts =====
  
  
Line 756: Line 756:
  
  
-====== RTCC ======+===== RTCC =====
  
  
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 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.                                                                                                                                                                                                                                                                                                  | | 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.                                                                                                                                                                                                                                                                                                  |
Line 797: Line 797:
  
  
-====== 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 Pro 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 Pro MX7 board. It sets the system clock for processor operation at 80 MHz, and the peripheral bus at 10 MHz. The following example illustrates setting the configuration values in the PIC32 microcontroller on the Pro 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 Pro MX7 board. It sets the system clock for processor operation at 80 MHz, and the peripheral bus at 10 MHz.
Line 852: Line 852:
 ---- ----
  
-====== Appendix C: Connector Pinout Tables ======+===== Appendix C: Connector Pinout Tables =====
 ===== Arranged by Microcontroller Pin Number ===== ===== Arranged by Microcontroller Pin Number =====