3 Replies Latest reply on Nov 9, 2017 10:55 AM by user_1377889

    Changing direction of pins runtime

    jacob_1632926

      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