-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Sharing SPI bus between TFT and sdcard results in error (IDFGH-4699) #6510
Comments
Oh another note. The sdcard esp-idf example runs correctly (with modified pin configuration). |
ESP-IDF SDSPI driver uses a 20MHz bus clock. Try SPI Clock at 20Mhz. |
I will make time to try this. However, this is an unacceptable solution, as the LCD needs to run at 40MHz -- I'm pretty sure it was working in an earlier version of IDF for the ODROID-GO. |
Sorry for late reply. We have did some tests and found the issue is not very simple and straight. We plan to update some documentation about sharing the same SPI bus among SD card and other devices. Here's the docs for you to preview
|
Thanks for reporting, sorry for late reply, the fix is available 5cc4bce, feel free to reopen if the issue still happens. |
Environment
git describe --tags
to find it):v4.3-dev-2940-g6e776946d
xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Problem Description
Hardware is an ODROID-GO. Sdcard is connected via SPI. Sdcard initializes fine, able to read some files off the card. After user event, reading same files again results in an error.
Expected Behavior
No error. Files read again as expected.
Actual Behavior
Code to reproduce this issue
Source can be found here, in the
wip
branch: https://gitlab.jkent.net/odroid-go/golaunchersdkconfig.txt
The text was updated successfully, but these errors were encountered: