Can I use an external interrupt to trigger a subsystem?

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Submitted by Joe on Wed, 09/12/2012 - 01:35 

 

Dear sir/madam,

I need to develop a control for my power converter. For that, i have to use external interrupt to trigger different states in my convtroller. My question is is it possible to use external interrupt to trigger a subsystem or block in vissim software.

Regards Ilija

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Wed, 09/12/2012 - 01:50.

    Yes, no problem if you are targeting an F28x or MSP430. Use the following steps:

    1. Ctrl+Right click on the compound to be activated by the interrupt
    2. Check Execute on Interrupt and click the Select... button
    3. In the dropdown choose XINT1, in the GPIO dropdown choose the pin you want, and in Mode choose the edge that will trigger the interrupt

     

    GPIO-interrupt.png