Repository navigation
Lower STM32L432 SPI clock to spec - #3493
Merged
Merged
Conversation
pkendall64
approved these changes
Jan 12, 2026
pkendall64
left a comment
Collaborator
There was a problem hiding this comment.
You do realise that STM32 has been removed in the master line. So not being supported in V4 and above
Contributor
Author
I do indeed realize this, and my daily driver IRC Ghost TX is very very sad. 😢 |
Member
|
Yeah I do not think we should be wasting our time reviewing STM32 changes. There's a lot of complexity with the DEBUG_LOG and what pins it should be on and I definitely don't want to unwind all that to review this. What about you take out the DEBUG part and we can consider just the SPI clock change? |
* old code said: `DIV4`, but comment read `72 / 8 = 9Mhz`, but using DIV4 would mean a frequency of 18Mhz (72 / 4). * L432 has a higher system clock (80Mhz) than what was in use when the comment was written (probably F1 @ 72Mhz), so the resulting frequency is 20Mhz on the L4.
* communication error failures were observed at 20Mhz, which is out-of-spec.
Contributor
Author
Sure, one commit removed. |
CapnBry
approved these changes
Jan 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 'DIY_2400_RX_STM32_CCG_Nano_v0.5' uses non-default UART pins.
at 20Mhz, I get:
at 1.25Mhz (DIV64) I get:
at 10Mhz (DIV8) I get:
And yes, I did remove scope probes for the 10 and 20Mhz tests, and yes and kept the breadboard and module wires as short as I could.