Cannot make HSPI work faster than 8MHz clock
Posted: Fri Apr 30, 2021 6:42 pm
Hi,
I am trying to make ESP32-CAM to stream images over ethernet using ENC28J60 with SPI interface. So far I can only make it to work reliable with 8MHz clock on SPI bus. I am using arduino SPIClass interface with transactions and manual control over CS pin. If I try to use 20MHz or 10MHz clock I have data corrupted when sending data. Does HSPI have some limitations (on this board or in general) or I am missing something?
Thanks
PS This moderation thing is really annoying, you a question to ask but you have to wait days until your message approved. Looks like you do not need too many participans...
I am trying to make ESP32-CAM to stream images over ethernet using ENC28J60 with SPI interface. So far I can only make it to work reliable with 8MHz clock on SPI bus. I am using arduino SPIClass interface with transactions and manual control over CS pin. If I try to use 20MHz or 10MHz clock I have data corrupted when sending data. Does HSPI have some limitations (on this board or in general) or I am missing something?
Thanks
PS This moderation thing is really annoying, you a question to ask but you have to wait days until your message approved. Looks like you do not need too many participans...