Part Number: TMS320F28069M
Other Parts Discussed in Thread: TMS320F280049C
Am I able to assign multiple GPIOs to trigger an external interrupt with this board? I don't see that this board has Input X-Bar so is there another way?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28069M
Other Parts Discussed in Thread: TMS320F280049C
Am I able to assign multiple GPIOs to trigger an external interrupt with this board? I don't see that this board has Input X-Bar so is there another way?
Andrew,
this device is a little different than our newer devices with X-Bars. It still does have mulitple inputs and multiple external interrupt sources available. Please see the below excerpt from the Datasheet.
8.1.13 External Interrupts (XINT1 to XINT3)
The devices support three masked external interrupts (XINT1–XINT3). Each of the interrupts can be selected for
negative, positive, or both negative and positive edge triggering and can also be enabled or disabled. These
interrupts also contain a 16-bit free-running up counter, which is reset to zero when a valid interrupt edge is
detected. This counter can be used to accurately time-stamp the interrupt. There are no dedicated pins for the
external interrupts. XINT1, XINT2, and XINT3 interrupts can accept inputs from GPIO0–GPIO31 pins.
If you are making a new design, consider TMS320F280049C or TMS32F280025C, they both feature x-Bars, other new enhancements, and are a similar cost point with more features.
Regards,
Cody
I'm already using F28069 so what do I have to do to configure the external interrupt to be triggered by multiple GPIOs?
Andrew,
Sorry to cause confusion, there are three separate external interrupts each of which can be configured to one GPIO at a time.
For XINT1 this is done with the GPIOXINT1SEL register. This register is fully detailed in the Technical Reference Manual, but it only allows for the selection of one GPIO for XINT 1. Think of this as a MUX, not an OR gate. This register can be modified during runtime though if that helps your use case.
Regards,
Cody