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

SPI pullup/pulldown resistors #125

Open
charlespax opened this issue Jan 22, 2017 · 4 comments
Open

SPI pullup/pulldown resistors #125

charlespax opened this issue Jan 22, 2017 · 4 comments

Comments

@charlespax
Copy link
Member

Do we need any pullup or pulldown resistors on the SPI lines?

@charlespax charlespax added this to the Milestone 4 milestone Jan 22, 2017
@electrokean
Copy link

electrokean commented Jan 22, 2017

Generally I'd put a pullup on the SPI_NSS (!CS) signal at the slave. I may also put a pullup on the MISO at the master, but this can usually be done via the internal I/O pin configuration. An external (lower value) may be needed if there are long connecting cables.
A reference to Arduino SPI best practices: https://www.dorkbotpdx.org/blog/paul/better_spi_bus_design_in_3_steps

@charlespax
Copy link
Member Author

In the STM32 datasheet and reference manual I cannot find anything indicating that SPI has any pullup resistors. However, GPIO does. I'm not sure if that also translates to that pin in SPI mode. I'll just keep them for now.

I'm putting this in the ice box for future investigation.

@charlespax charlespax modified the milestones: Ice Box, Milestone 4 Jan 27, 2017
@charlespax
Copy link
Member Author

I'm putting pullups on the board. We can try them.
screen shot 2017-01-27 at 17 28 24

@charlespax charlespax modified the milestones: Milestone 4.1, Ice Box Jan 28, 2017
@charlespax
Copy link
Member Author

Moved to Milestone 4.1 for review after we have the 0.4 boards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants