TMS320F28P650DK: TMS320F28P65 — Need More Than 5 GPIO External Interrupts

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi,
I'm working with the TMS320F28P65 DSP and using SysConfig for setup. I noticed that only 5 GPIO external interrupts are available/configurable in SysConfig. However, my application requires 7 external GPIO interrupts.

Is there a way to configure more than 5 GPIO external interrupts, either through manual setup or another method? Or is 5 the maximum supported by the device?

Thanks in advance for any guidance!

  • Hi Reza,

    As you mentioned, this device only has five XINT interrupts available in the PIE:

    Below are some other options/workarounds you could use:

    1. Use a EPWM TZ interrupt instead - I believe this functions similarly to an XINT interrupt where once the input signal goes low it can trigger an interrupt to the CPU. See more information in the TRM here.
    2. Use CPU2 (which has its own copy of the ePIE module and table). This allows for five more XINT interrupts in your application but would require IPC if the intended ISR functionality involves CPU1-owned peripherals.
    3. Use a periodic CPU timer interrupt and check the GPIO value in each ISR.

    Let me know if any of these options would be feasible for your application. 

    Best Regards,

    Delaney

  • Thanks for your response.