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

[optimize] can we have a general spi controller #14

Open
wuxx opened this issue Jan 9, 2021 · 1 comment
Open

[optimize] can we have a general spi controller #14

wuxx opened this issue Jan 9, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@wuxx
Copy link
Contributor

wuxx commented Jan 9, 2021

Hi, Bruno, notice that the SSD1351.v SPIFlash.v SDCard.v are actually all spi bus, can we have a general spi controller with CPOL CPHA configable, so that we can drive misc device like difference size spi lcds, sdcard, spi-flash, and other misc devices.
I usually use the iCEZ0mb1e to test my misc spi devices before
https://github.com/abnoname/iceZ0mb1e/blob/master/rtl/simplespi.v

@BrunoLevy
Copy link
Owner

Hi @wuxx, great idea !
I'll take a look. Cool, simplespi.v is short (the SPI controllers I found before then where way too long/complicated). When I started last March, I did not know enough to do things properly, but now I think it is doable / integrable in FemtoSOC that is cleaner. I was thinking about replacing my bit-banging the SDCard with a cleaner solution. We just need to take care it still fits in the IceStick because I like to have a super-minimalistic SOC that does animated graphic on the OLED screen from the SPI Flash (but since it will factor hardware between the SPI Flash and OLED screen the total LUT count will probably be lower in the end).

@BrunoLevy BrunoLevy added the enhancement New feature or request label Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants