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

Jeff_wu
Altair Community Member
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.
Tagged:
0
Answers
-
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
0