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

Disabled GPIO slew rate config, which broke STM32 targets #63

Merged
merged 2 commits into from
Jul 21, 2023
Merged

Disabled GPIO slew rate config, which broke STM32 targets #63

merged 2 commits into from
Jul 21, 2023

Conversation

tornupnegatives
Copy link

@tornupnegatives tornupnegatives commented Jul 21, 2023

This PR addresses #60 and #61. When interfacing with STM32 targets, setting the GPIO slew rate and drive strength seems to hinder yapicoprobe's ability to communicate. I have wrapped the offending configuration lines with #if 0 directives in case they are required for platforms other than the Pico, which I am using.

@rgrr
Copy link
Owner

rgrr commented Jul 21, 2023

That's really the cause for your STM32 problems!? Wow! You are my hero.

And I thought, that I'm doing something good to the interface signals when enabling fast edges with some power behind. But obviously this induces some other effects (reflections?).

Could you please add a comment to the #ifdefs, so that playing around with the IOs will be done next time with more care.

Hmmm... have you tried enabling Schmitt trigger on SWDIO? ;-)

@tornupnegatives
Copy link
Author

Comment added!

@rgrr rgrr merged commit a3859e3 into rgrr:master Jul 21, 2023
@tornupnegatives tornupnegatives deleted the slew_rate branch July 24, 2023 22:13
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