beautypg.com

14 external interrupts, 15 rtcc – Digilent 410-297P-KIT User Manual

Page 17

background image

ChipKIT MX3 Board Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 17 of 25


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:

• IC1 – JE-07, digital pin 32, RD08
• IC2 – JB-01, digital pin 8, RD09
• IC3 – JD-03, digital pin 26, RD10
• IC4 – JD-09, digital pin 30, RD11
• IC5 – JB-09, digital pin 14, RD04


Use of the input capture units is not currently supported in the MPIDE software. This will be added in a future
version.

14 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 following gives Pmod connector position, chipKIT pin number, and microcontroller I/O port and bit number:

• INT0 – JB-04, digital pin 11, RF6
• INT1 – JE-07, digital pin 36, RD8
• INT2 – JB-01, digital pin 8, RD9
• INT3 – JD-03, digital pin 26, RD10
• INT4 – JD-09, digital pin 30, RD11

15 RTCC

The PIC32 microcontroller contains a low frequency oscillator and Real Time Clock/Calendar, RTCC, circuit that can
be used to maintain time and date information. The operation of the RTCC requires a 32.768Khz frequency source.
The crystal X2 position, just above and on the left of the PIC32 microcontroller, IC5, is provided for the user to
solder in a 32Khz watch crystal. The Citizen CFS206-32.768KDZF-UB is a crystal part that can be used in this
location.

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.