2023-11-05 08:49 PM
Is there a table of proper settings for the GPIO output type, pull up/down setting and speed of alternative functions ?
2023-11-06 12:52 AM
The proper setting depends on you application - schematic, transfer speeds, etc..
2023-11-06 01:16 AM
I partially understand this, primarily for speed, but isnt the output type and pull up/down implied by at least some of the protocols ? i.e. I2C outputs need to be open drain etc.
2023-11-07 04:47 AM
Yes, I2C normally requires OD. In most of other cases, the setting is application-specific. Sometimes OD may be used to provide 5V output signal. Pull-up may be used for key inputs, UART Rx line and for many other purposes. OD might be useful for single wire UART communication.