Skip to content

Conversation

@denenilsson
Copy link

instantiation with Spi::new did not apply IO driver strength from config (speed)

@Dirbaio
Copy link
Member

Dirbaio commented Dec 12, 2025

are you sure it's not working? it's supposed to be applied by these lines

new_pin!(sck, config.sck_af()),
new_pin!(mosi, AfType::output(OutputType::PushPull, config.gpio_speed)),

if it's indeed not getting applied we should look into why these lines aren't applying it, not simply apply it again somewhere else.

@denenilsson
Copy link
Author

Oh, I missed these lines when I dove into it today. I was prepping my board for a run in the EMC lab in the morning, and the scope gave me sharp edges with ringing on the receiving end. When i patched it went away, strange.. I need to verify on Monday when I am back at the bench.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants