- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, During factory testing (on board level - where we have several unconnected ports) we'd like to detect soldering issues on GPIOs. One neat way to do this is to iterate over all the unconnected GPIOs, set one of them to output (digital high), and read in the rest (they should all be 0). However, in order to do this we need to be able to dynamically reconfigure the port direction and drive strength. Is this possible during runtime? We need to be able to turn an input pin to an output pin, and vice versa. Thanks, Jacob
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As long as you don't disable the input buffer in pin's configuration the pins will be input and output. So you can read the pins at any time. Output should be configured as "high impedance digital" when reading.
Bob