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

DietPi-Config | Add i2c/spi and other hardware options for RPi's #98

Closed
Fourdee opened this issue Oct 24, 2015 · 6 comments · Fixed by #4138
Closed

DietPi-Config | Add i2c/spi and other hardware options for RPi's #98

Fourdee opened this issue Oct 24, 2015 · 6 comments · Fixed by #4138
Milestone

Comments

@Fourdee
Copy link
Collaborator

Fourdee commented Oct 24, 2015

http://fuzon.co.uk/phpbb/posting.php?mode=quote&f=9&p=560#pr560

@Fourdee Fourdee added this to the Feature Requests milestone Oct 24, 2015
@Fourdee
Copy link
Collaborator Author

Fourdee commented Oct 27, 2015

@Fourdee Fourdee closed this as completed Oct 27, 2015
@peg-leg
Copy link

peg-leg commented Oct 26, 2019

I'm seeing i2c, not SPI

@incanus
Copy link

incanus commented Feb 22, 2021

Same here, latest (v6.34.3) only shows I2C.

@MichaIng
Copy link
Owner

G_CONFIG_INJECT 'dtparam=spi=' 'dtparam=spi=on' /boot/config.txt

@incanus
Copy link

incanus commented Feb 22, 2021

Sure, I know how to do it. My point is that, as stated above, the config tool which this issue was opened about does not in fact allow for SPI configuration as stated in the fix.

@MichaIng
Copy link
Owner

I just added the option: #4138

Support for other devices can be easily added when they ship with device tree overlays.

Also there are quite some options and alternative SPI interfaces available on RPi. E.g. RPi 4 theoretically has 7 different SPI interfaces which can use 1-3 chip select lanes. I don't understand these very well currently, but the official RPi documentation is quite clear, so we could add further options to adjust those, based on RPi model. However, the default SPI0 with 2 cs lanes is by far the most used one, which can be seen by some LCD installers which add dtparam=spi=on only.

But that's for a later release.

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

Successfully merging a pull request may close this issue.

4 participants