External Interrupts
External Interrupts
Configuring external interrupts is a two-step process:
Interrupt
XINT1
XINT2
XINT3
XINT4
XINT5
Input X-Bar selects GPIO pins as sources for XINT1-5
XINT1-5 are sources for Input X-Bar signals 4, 5, 6, 13, and 14
respectively
Configuration Register controls the enable/disable and polarity
Counter Register holds the interrupt counter
5 - 18
External Interrupts
5 external interrupt signals: XINT1, XINT2,
XINT3, XINT4 and XINT5
Each can be mapped to any of GPIO pins via
the X-Bar Input architecture
XINT1, XINT2 and XINT3 also each have a
free-running 16-bit counter that measures
the elapsed time between interrupts
The counter resets to zero each time the
interrupt occurs
Configuring External Interrupts
Enable interrupt and set polarity
Select XINT1-5 GPIO pins via Input X-Bar
Pin Selection
(Input X-Bar)
X-Bar INPUT4
X-Bar INPUT5
X-Bar INPUT6
X-Bar INPUT13
X-Bar INPUT14
TMS320F2837xD Microcontroller Workshop - System Initialization
Configuration Register
Counter Register
(XintRegs.register)
(XintRegs.register)
XINT1CR
XINT1CTR
XINT2CR
XINT2CTR
XINT3CR
XINT3CTR
XINT4CR
XINT5CR
Need help?
Do you have a question about the TMS320F2837 D Series and is the answer not in the manual?