Can the same GPIO have output and input functions in the same project?

Robbert Lee
Robbert Lee Altair Community Member
edited December 2022 in Community Q&A

I want to create a ps/2 protocol using GPIO therefore it must have the ability to receive a signal and send a signal after a period of time. In Embed, put the 2 same GPIO will report error. Is there any way to achieve my function ? Thanks.

image

Tagged:

Answers

  • Girish Karamadi_21849
    Girish Karamadi_21849 New Altair Community Member
    edited December 2022

    Embed warns the user if they try to use same pin number just to avoid the conflicts. If you ignore and configure it input and as well as output if should work.

    Attached the test diagram.

     

    Regards,

    Girish