Skip to content

multiple SPIs on H563vi #2781

Answered by georgedlu
georgedlu asked this question in Q&A
Jul 29, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Thanks! It was indeed the clock config. I followed the instruction on https://github.com/stm32duino/Arduino_Core_STM32/wiki/Add-a-new-variant-(board). From the stm32cube project I copied over the relevant lines in SystemClock_Config() and HAL_SPI_MspInit() into generic_clock.c. That did it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@georgedlu
Comment options

Answer selected by fpistm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants