Non DMA version of the spi_master driver

User avatar
Vader_Mester
Posts: 210
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

Re: Non DMA version of the spi_master driver

Postby Vader_Mester » Fri Apr 13, 2018 7:30 am

Hi Lobo,

What kind of touch screen is this compatible with? Resistive or capacitve? Module is question is ER-TFTM035-6, from buydisplay.com.

Thanks
Vader[BEN]
There are 2 types of programmer people: The Expert programmer and The Smart programmer

The Expert programmer easily writes any code from scratch.
The Smart programmer uses his google/github powers first ;)

User avatar
loboris
Posts: 436
Joined: Wed Dec 21, 2016 7:40 pm

Re: Non DMA version of the spi_master driver

Postby loboris » Fri Apr 13, 2018 7:59 am

Only the restitive touch (XPT2046 controllers) is supported in this example.

BTW, this is a very old example. I'm now using a different approach for non-DMA transfers using the slightly modified official esp-idf spi-master driver.
I hope I'll find some time to update the repository or create the new example of using this approach.
I have the same display with capacitive touch, so I'll include it in the example.

User avatar
Vader_Mester
Posts: 210
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

Re: Non DMA version of the spi_master driver

Postby Vader_Mester » Fri Apr 13, 2018 11:41 am

Nice Loboris

__/|,
------'
There are 2 types of programmer people: The Expert programmer and The Smart programmer

The Expert programmer easily writes any code from scratch.
The Smart programmer uses his google/github powers first ;)

Deouss
Posts: 277
Joined: Tue Mar 20, 2018 11:36 am

Re: Non DMA version of the spi_master driver

Postby Deouss » Wed Aug 01, 2018 5:13 pm

I was just thinking about non-dma spi. That's great since I am testing streaming data to lcd over tcp sockets.
I was trying to load images from DMA memory and annoying thing was the waits for DMA transfers.
The best way would be to use SPI PSRAM 4mb memory on Wrover - wonder how fast it is.
Not sure how to do with non-dma code yet.

Who is online

Users browsing this forum: No registered users and 4 guests