cancel
Showing results for 
Search instead for 
Did you mean: 

output type, pupd, speed of alternative functions

mete
Senior

 

Is there a table of proper settings for the GPIO output type, pull up/down setting and speed of alternative functions ?

3 REPLIES 3
gbm
Lead III

The proper setting depends on you application - schematic, transfer speeds, etc..

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.

gbm
Lead III

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.