Confirming that this should work per page 16 of the HW Interfaces Guide: The specified item was not found.
If I were to guess, I problem is most likely linked to the Alternate functions for both pins:
• SPI_CLK for SPI_2
• MISO for SPI_2
We will need to escalate this internally to resolve.
Case 862390 was created by meherkollipara.