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.

TMS320F280049C: External Interrupt Setup

Part Number: TMS320F280049C

Hi

I was just wanting to check on my understanding how to set up external interrupts. I am looking at the technical reference manual for TMS320F28004x Piccolo Microcontrollers (Literature Number: SPRUI33A).

  1. First I have to start with the GPIO Input X-BAR.
  2. I select which GPIO I want to generate the interrupt via one of the INPUTxSELECT registers. I need to select 'x' based on Table 9-1, depending on where this signal needs to be routed. For example, if I wanted it to be used to generate an ePWM Trip Zone event, I could pick x = 1 = INPUT1. In my case, I want to generate XINT1, so I would choose x = 4 = INPUT4.
  3. Unlike the other X-BARS, this selects ONLY ONE GPIO. It is not OR'd like the others.
  4. From there I setup the PIE registers and so on, similar to how other peripherals are set up to generate interrupts.

Straight forward enough, just wanted to make sure I'm not missing anything. Thanks.