External Interrupts - Digilent chipKIT Pro MX7 Reference Manual

Table of Contents

Advertisement

chipKIT™ Pro MX7 Board Reference Manual
 IC1 – not available
 IC2 – JD-01, digital pin 24, RD09
 IC3 – JD-04, digital pin 27, RD10
 IC4 – not available
 IC5 – JD-10, digital pin 31, RD12
When using the MPIDE software, the symbols PIN_IC2, PIN_IC3, and PIN_IC5 can be used to access the capture
input pins.
Use of the input capture units is not currently supported in the MPIDE software. This will be added in a future
version.

16 External Interrupts

The PIC32 microcontroller provides five external interrupt inputs. An external interrupt input can be used to
generate an interrupt to the microprocessor CPU when the pin changes state. They can be programmed to
interrupt on a rising edge or a falling edge on the pin.
Refer to the PIC32 Family Reference Manual, Section 8, Interrupts for more information on the operation of the
external interrupts.
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 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 I
pulling the shorting blocks from JP3 or JP4.
 INT0 – JD-02, digital pin 25, RD00
 INT1 – JE-07, digital pin 36, RE08
 INT2 – JF-07, digital pin 44, RE09
 INT3 – J7-1 & J7-2, digital pin 57, RA14
 INT4 – J7-3 & J7-4, digital pin 58, RA15
17 RTCC
The PIC32 microcontroller contains a low frequency oscillator and Real Time Clock/Calendar circuit, RTCC, which
can be used to maintain time and date information. The operation of the RTCC requires a 32.768 KHz frequency
source. The crystal X2 position, just above and on the right of the PIC32 microcontroller, IC1, is provided for the
user to solder in a 32 KHz watch crystal. The Citizen CFS206-32.768KDZF-UB is a crystal part that can be used in this
location.
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
2
C. It may also be necessary to disable the pull-ups by
Page 22 of 35

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents