GPIO drive strength and *_driver_install
Posted: Sat Mar 02, 2024 3:44 pm
Hello,
I prefer to use lowest possible (working) GPIO drive strength. That's not a problem when directly using the pin, just calling gpio_set_drive_capability after setting pin mode. Some time ago a question came in my mind:
Does gpio_set_drive_capability have any effect if the pin is used by peripheral driver, like I2C or UART?
Does this setting persist forever? I saw there's also gpio_reset_pin but there's no info it will reset driver strength.
Regards,
Chris
I prefer to use lowest possible (working) GPIO drive strength. That's not a problem when directly using the pin, just calling gpio_set_drive_capability after setting pin mode. Some time ago a question came in my mind:
Does gpio_set_drive_capability have any effect if the pin is used by peripheral driver, like I2C or UART?
Does this setting persist forever? I saw there's also gpio_reset_pin but there's no info it will reset driver strength.
Regards,
Chris