2026-05-26 12:30 AM - last edited on 2026-05-26 2:19 AM by Andrew Neil
Hi, I have a problem configuring SPI3 on a NUCLEO-H7S3L8 board.
I’m writing directly to registers and not using any ready-made functions. I configured SPI3 and everything works correctly as long as I use PB4 as MISO. However, I wanted to use PC11 instead, and then I only read 0xFF.
I’m using exactly the same settings for PC11 as for PB4, and both are configured with AF6.
My question is: does PC11 require any special configuration, or maybe something on the Nucleo board blocks it from being used this way?
2026-05-26 2:13 AM - edited 2026-05-26 2:22 AM
Hello,
Nothing special from NUCLEO board side. PC11 is exposed to both connectors and nothing already connected to it on the board according to its schematic.
What I suggest is to:
1- Start by toggling PC11 and check if it is toggling as intended.
2- Check if you already enabled RCC clock of PC port.
3- Check if you've selected the correct alienate function for SPI3_MISO on PC11. Did you select AF6? (you said you did it but please check):
2026-05-26 2:17 AM - edited 2026-05-26 2:18 AM
Have you used an oscilloscope and/or logic analyser to see what's actually happening on the wires?
@Dziubasku wrote:I’m writing directly to registers and not using any ready-made functions. ?
So have you tried doing it via CubeMX ?
If the behaviour remains the same, that would rule-out any issues in your code.