Using all GPIO pins as general purpose GPIO
Posted: Tue Aug 11, 2020 3:31 am
Hello,
I am working on a project that will required either 18 or 24 GPIO pins. 2/3's of the pins will require the internal pull/up resistor and the other 1/3 will control stepper motors through PUL/DIR.
My question is, despite there being 26 GPIO pins, only 17 are designated as general GPIO, so if I do not enable the SPI/I2C/etc, can all 26 GPIO pins be used reliably, long term, as general function GPIO pins?
I am happy to go through each and test, but I feel like the issue is a bit more complicated and could lead to failures, that might not be immediately obvious.
I guess I am just hoping for some guiding comments: not possible/possible but hard/possible and easy/just use no change necessary/etc.
Thank you in advance for your time and help.
I am working on a project that will required either 18 or 24 GPIO pins. 2/3's of the pins will require the internal pull/up resistor and the other 1/3 will control stepper motors through PUL/DIR.
My question is, despite there being 26 GPIO pins, only 17 are designated as general GPIO, so if I do not enable the SPI/I2C/etc, can all 26 GPIO pins be used reliably, long term, as general function GPIO pins?
I am happy to go through each and test, but I feel like the issue is a bit more complicated and could lead to failures, that might not be immediately obvious.
I guess I am just hoping for some guiding comments: not possible/possible but hard/possible and easy/just use no change necessary/etc.
Thank you in advance for your time and help.