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

Example code of using SD card in SDIO mode #16

Open
troibe opened this issue Jun 12, 2021 · 9 comments
Open

Example code of using SD card in SDIO mode #16

troibe opened this issue Jun 12, 2021 · 9 comments

Comments

@troibe
Copy link

troibe commented Jun 12, 2021

I got SPI mode to work in Litex but had no luck with SDIO mode.
Is that supported?
If yes do you have some sample code for it?

@emard
Copy link
Owner

emard commented Jun 12, 2021 via email

@emard
Copy link
Owner

emard commented Jun 13, 2021 via email

@emard
Copy link
Owner

emard commented Jun 13, 2021 via email

@troibe
Copy link
Author

troibe commented Jun 15, 2021

What does this comment mean?

IOBUF PORT "sd_d[2]" PULLMODE=NONE IO_TYPE=LVCMOS33 DRIVE=4; # WiFi GPIO12 pulldown bootstrapping without 3.3V efuse

@emard
Copy link
Owner

emard commented Jun 15, 2021 via email

@troibe
Copy link
Author

troibe commented Jun 15, 2021

Just to make sure I understand correctly:
So my ulx3s is currently still in factory default mode.
If I just want to use the SD card with the FPGA I don't need to set the efuse right?

@goran-mahovlic
Copy link
Collaborator

goran-mahovlic commented Jun 15, 2021

If you have board from CrowdSupply - then efuse is already set (burned) to 3.3V as this is done in the selftest script before delivery

@troibe
Copy link
Author

troibe commented Jun 16, 2021

I got mine on Mouser and the ESP32-WROOM-32 is used if that makes a difference...

@emard
Copy link
Owner

emard commented Jun 16, 2021 via email

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

No branches or pull requests

3 participants