-
Notifications
You must be signed in to change notification settings - Fork 984
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
Comments
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 <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Jan 20, 2025
Also prevent to use HSE as it is not operational as oscillator. See Errata sheet. Fixes stm32duino#2598 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Jan 21, 2025
SPI clock selection have to be explicitly done and ensure frequency allows standard SPI freq based on the SPI baudrate prescaler. Also prevent to use HSE as it is not operational as oscillator. See Errata sheet. Fixes stm32duino#2598 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Jan 22, 2025
SPI clock selection have to be explicitly done and ensure frequency allows standard SPI freq based on the SPI baudrate prescaler. Also prevent to use HSE as it is not operational as oscillator. See Errata sheet. Fixes stm32duino#2598 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
that referenced
this issue
Jan 22, 2025
SPI clock selection have to be explicitly done and ensure frequency allows standard SPI freq based on the SPI baudrate prescaler. Also prevent to use HSE as it is not operational as oscillator. See Errata sheet. Fixes #2598 Signed-off-by: Frederic Pillon <[email protected]>
github-project-automation
bot
moved this from To do
to Done
in STM32 core based on ST HAL
Jan 22, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: