Issue with Capture Peripheral Example When Using Different GPIO Pins

Luis Pedro Carvalho
Luis Pedro Carvalho Altair Community Member
edited October 23 in Community Q&A

Hello everyone,

I'm currently trying to use the Capture Peripheral with interrupt  example provided by PSIM, and it works perfectly when I use GPIO 0(the channel set in this example). However, when I attempt to use different GPIO pins (specifically GPIOs 124, 122, and 58), even after configuring these channels in the interrupt, the simulation does not work.

Has anyone encountered a similar issue or have suggestions on how to properly configure these GPIO pins for the Capture Peripheral? Any advice would be appreciated!

Thanks in advance.

Tagged:

Answers

  • Jack_2nd
    Jack_2nd
    Altair Employee
    edited October 14

    Hi

    Can you please give us a simple schematic so I can try it out.

    Thanks,

    Jiakai

  • Luis Pedro Carvalho
    Luis Pedro Carvalho Altair Community Member
    edited October 14

    I'm sending it as an attachment

  • Jack_2nd
    Jack_2nd
    Altair Employee
    edited October 23

    Sorry for replaying late.

    I have tested the schematic on PSIM v2024.0, v2024.1 and v2025.0, all of them work fine.

    Could you please download a newer version of PSIM to try it again?

    Thanks,

    Jiakai