cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

How can i make a tri state output on a regular IO pin ?

if yes:

How?

0 Likes
1 Solution
Anonymous
Not applicable

Yes; If you change the drive mode of the IO pin, you can set it to "HIGH-Z" which is high impedance as the "disconnected" state, and then set it for Pulled-High or Pulled-Low to associate it with the high or low output values for the tri-state. Although, changing the drive mode frequently is probably not the greatest solution. (Instead of setting the drive mode to high or low, you can set it to one of the modes that allows you to write a 0 or 1 to it, and it will output as a digital pin instead pretty easily.)

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Yes; If you change the drive mode of the IO pin, you can set it to "HIGH-Z" which is high impedance as the "disconnected" state, and then set it for Pulled-High or Pulled-Low to associate it with the high or low output values for the tri-state. Although, changing the drive mode frequently is probably not the greatest solution. (Instead of setting the drive mode to high or low, you can set it to one of the modes that allows you to write a 0 or 1 to it, and it will output as a digital pin instead pretty easily.)

View solution in original post

0 Likes
JoMe_264151
Expert II

Another choice would be to configure the pin using "output enable". You can use that signal to tristate the pin.

Bob