Replies: 2 comments
-
By default, the SPI1 clock is the STM32_SRC_PLL1_Q :
If you select another source clock for the SPI1, PLL2_P for example, the PLL2 must be configured and enabled (in the nucleo_h533re dts or overlay) |
Beta Was this translation helpful? Give feedback.
0 replies
-
WIth the nucleo_h533 I have,
Could you that try on your side ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to use SD card with file system with my project, so I looked at fs_sample project to see how to use SD card over SPI. I copied over the overlay from NUCLEO-F429ZI and set the SPI up for H503RB.
This is what I have in nucleo_h503rb.overlay.
After writing the overlay, it compiles fine. However, when running the sample on the board, the error below is shown.
So I tried changing APB1 and APB2 prescaler as mentioned in issue #63308 and the minimum frequency is still the same.
I think it might be because the clock inputs to SPI on STM32H503RB are pll1_q_clk, pll2_p_clk, and per_clk according to docs.
If that's the case, is there anyway to reduce PLL clock? Or is there's other way to reduce minimum SPI clock?
Beta Was this translation helpful? Give feedback.
All reactions