Hello everyone!
My name is Cheche, I'm from China, I'm an amateur electronic fan, I have a question to ask, I have a LCD with ILI9341 chip, but using softSPI is too slow,so, Can I use ESP32's hardware SPI?(machine,SPI is softSPI ? right?)
Thanks!
By the way, I'm not very good at English!
how to use the hardware SPI?
Re: how to use the hardware SPI?
Did you figure out the hardware SPI?
Re: how to use the hardware SPI?
I have experience with the hardware SPI support that the @loboris port Micropython_ESP32 provides and it works great and you don't have to be using psRAM to use that port. Also, it has a display module display module that supports the ILI9341.
Re: how to use the hardware SPI?
Hi Cheche,cheche wrote: ↑Thu Sep 07, 2017 2:24 amHello everyone!
My name is Cheche, I'm from China, I'm an amateur electronic fan, I have a question to ask, I have a LCD with ILI9341 chip, but using softSPI is too slow,so, Can I use ESP32's hardware SPI?(machine,SPI is softSPI ? right?)
Thanks!
By the way, I'm not very good at English! :D
The hardware SPI is enabled by passing a hardware ID as the first parameter.
machine.SPI(1,miso = machine.Pin(12) ... )
If you use the "native" pin, the you can get much higher speeds.
See my post here: viewtopic.php?f=18&t=4041&p=23178#p23178