Hi Stefano
If you configure the Pin as input you can set the pullup enable, but if you configure the pin as SPI (MISO in this case) the internal pullup are disable
I hope this will help you.
Have a great day,
Vicente
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------