For bidirectional, you can't set both pins to input/output.
Only one side should drive the line at any given sample time
don't turn on the output-enable(FPGA) at the same time that an external driver(MCU) is active.
Example: If both pins set to output. If one device tries to pull high while the other tries to pull low which leads to high current flow, this can quickly build up heat to a level that destroys the IC chip.
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
- Please mark the Answer as "Select as Best" if the information provided is helpful.
Thanks Anand. I could able to understand that bidirectional pins can't set to input at the same time on both sides. But in our case, there is situation to set the bidirectional pins at input state in both sides. How could we solve this issue? Is there any solution/suggestion
As a designer, we need to control the IO Buffer output enable on the FPGA side.
The value of OE determines whether bidirectional pins is an input, feeding in input
, or a tri-state, driving out the value.
Refer below links