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

boards/hifive1b: SiFive HiFive1 rev B no I2C & SPI #12631

Closed
mrusme opened this issue Nov 2, 2019 · 5 comments
Closed

boards/hifive1b: SiFive HiFive1 rev B no I2C & SPI #12631

mrusme opened this issue Nov 2, 2019 · 5 comments
Labels
Area: cpu Area: CPU/MCU ports Platform: RISC-V Platform: This PR/issue effects RISC-V-based platforms Type: new feature The issue requests / The PR implemements a new feature for RIOT

Comments

@mrusme
Copy link

mrusme commented Nov 2, 2019

Description

Even though (according to the specs) the HiFive1 revB does provide I2C and SPI, they don't seem to be implemented and enabled yet in RIOT.

Useful links

@mrusme
Copy link
Author

mrusme commented Nov 2, 2019

@kenrabold do you happen to know about the implementation of I2C and SPI on the HiFive? Maybe you can help out here quickly? :-)

@miri64 miri64 added Type: new feature The issue requests / The PR implemements a new feature for RIOT Platform: RISC-V Platform: This PR/issue effects RISC-V-based platforms Area: cpu Area: CPU/MCU ports labels Nov 2, 2019
@kenrabold
Copy link
Contributor

I actually have a PR ready for SPI and PWM. I just need to test it out a little more.
I'm also working on I2C, but that will take a little longer.
So, those drivers are coming soon

@mrusme
Copy link
Author

mrusme commented Nov 3, 2019

@kenrabold need help on testing? If so, point me to the PR and I can test it as well. SPI is something I could use right away. Could also test PWM with a couple of motors.

@kenrabold
Copy link
Contributor

I tested the PWM driver with the built in tri-color LED on the HiFive 1B, so I'm pretty confident that works. I also started getting the SPI interface to the ESP32-SOLO WiFi module on the HiFive1 1B going with commands and responses, but I don't have the complete handshake working yet. I wanted to connect up a different SPI module (RF reader), but haven't had the time to implement and fully test it out.

PWM and SPI driver PR: https://github.com/kenrabold/RIOT/tree/spi

@fjmolinas
Copy link
Contributor

SPI and I2C is now supported since #12946 and #12957 got in, both in 2020.01 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports Platform: RISC-V Platform: This PR/issue effects RISC-V-based platforms Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

No branches or pull requests

4 participants