Maybe this will help:
https://loboris.eu/forum/showthread.php?tid=210
SDcard in SPI mode using Loboris port?
Re: SDcard in SPI mode using Loboris port?
Thanks con3.
I read that thread and tried internal pullup resistors (I already have external pullups) and that didn't work. So I started my own thread on lobo forum and worked out the problem to be the latest lobo firmware has a higher SPI speed than my board can take. I fell back to an earlier version that I happen to have saved back in March and it worked. I don't know the SPI speed for the March firmware but that must have been slow enough. At a default speed of 20MHz, maybe the multiplexer on ESP32 is not able to handle or my traces have one too many vias or I should have matched impedance on the traces etc.
Anyway, Lobo is making an update to include an SPI speed parameter in sdconfig(). Here is my thread:
https://loboris.eu/forum/showthread.php?tid=216
Hope anyone reading this find the information useful.
I read that thread and tried internal pullup resistors (I already have external pullups) and that didn't work. So I started my own thread on lobo forum and worked out the problem to be the latest lobo firmware has a higher SPI speed than my board can take. I fell back to an earlier version that I happen to have saved back in March and it worked. I don't know the SPI speed for the March firmware but that must have been slow enough. At a default speed of 20MHz, maybe the multiplexer on ESP32 is not able to handle or my traces have one too many vias or I should have matched impedance on the traces etc.
Anyway, Lobo is making an update to include an SPI speed parameter in sdconfig(). Here is my thread:
https://loboris.eu/forum/showthread.php?tid=216
Hope anyone reading this find the information useful.
Re: SDcard in SPI mode using Loboris port?
hi liudr,
Glad you got it sorted!
Can't you change the speed on the SPI lines by changing the SPI baud rate to fit your required speed?
Glad you got it sorted!
Can't you change the speed on the SPI lines by changing the SPI baud rate to fit your required speed?
Re: SDcard in SPI mode using Loboris port?
Not sure where that SPI speed setting is. I could have if I knew a bit more about how they created the whole MicroPython ecosystem.