Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STM32H503] SPI1 does not send anything #2598

Open
fpistm opened this issue Dec 9, 2024 Discussed in #2595 · 0 comments · May be fixed by #2599
Open

[STM32H503] SPI1 does not send anything #2598

fpistm opened this issue Dec 9, 2024 Discussed in #2595 · 0 comments · May be fixed by #2599
Labels
bug 🐛 Something isn't working
Milestone

Comments

@fpistm
Copy link
Member

fpistm commented Dec 9, 2024

Discussed in https://github.com/orgs/stm32duino/discussions/2595

Originally posted by smalcom December 9, 2024
Good day, everyone.

I'm trying to launch SPI1 under Arduino IDE. The transmission didn't work and I switched to direct control of the registers.

The problem is solved. By default, stm32duino sets the system clocking from PLL1P. And SPI1 cannot use this signal as a source. I switched SPI1 to clocking from PER_CK and everything worked.

Copy of the stthread

@fpistm fpistm added this to the 2.10 milestone Dec 9, 2024
@fpistm fpistm added the bug 🐛 Something isn't working label Dec 9, 2024
@fpistm fpistm changed the title [SOLVED] [STM32H503] SPI1 does not send anything [STM32H503] SPI1 does not send anything Dec 9, 2024
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this issue Dec 9, 2024
Also prevent to use HSE as it is not operational
as oscillator. See Errata sheet.

Fixes stm32duino#2598

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm linked a pull request Dec 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant