Page 1 of 1
how to use the hardware SPI?
Posted: Thu Sep 07, 2017 2:24 am
by cheche
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!

Re: how to use the hardware SPI?
Posted: Sat Nov 11, 2017 7:40 am
by rdagger
Did you figure out the hardware SPI?
Re: how to use the hardware SPI?
Posted: Sat Nov 11, 2017 2:19 pm
by slzatz
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?
Posted: Sun Nov 12, 2017 3:11 am
by MrSurly
cheche wrote: ↑Thu Sep 07, 2017 2:24 am
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! :D
Hi Cheche,
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