GPIO allocation


Can I use all the IO pins as digital GPIO (with PU/PD maybe)? any restrictions?
Specifically I am asking about the DAC/ADC (22-32,35), USB pins (1,36,37).

Any pin that has the letter D in this diagram can be used as digital IO :slight_smile:

Makes sense :grin:. Thanks.
Can I assign the I2S pins to any IO or only the allocated ones?

Only the pins that have I2S as alternative function.

Page 6 of the datasheet has a list: