I was provided a sample library from a forum member to drive a tft display via 8 bit parallel using digitalWriteFast() and we can get a full screen update (480x320) in roughly 5-6ms.
Performance wise it's fast, and I use it with LVGL with very good performance.
As I add more tasks to my project, I feel that I will loose out on performance at some point and therefore I was thinking of moving to DMA transfers for the screen update.
This will allow LVGL to write the next portion of the screen and/or other tasks to run while the DMA transfer happens - thus not blocking the rest of the application while the screen writes take place.
Are there any simple examples of how to do DMA transfers from an array to the one of the supported GPIOs? Specifically to match 8080 parallel interface? I don't mind trying to put something together from existing libraries but I have not come across any examples of DMA used with parallel output on the T4.1
I'm kind of lost as to where to start as there is not much info out there on this topic specifically for the T4.x, and actually this might be way more complicated and above my abilities. So if I'm way over my head, feel free to give me the painful truth
Thanks,
Performance wise it's fast, and I use it with LVGL with very good performance.
As I add more tasks to my project, I feel that I will loose out on performance at some point and therefore I was thinking of moving to DMA transfers for the screen update.
This will allow LVGL to write the next portion of the screen and/or other tasks to run while the DMA transfer happens - thus not blocking the rest of the application while the screen writes take place.
Are there any simple examples of how to do DMA transfers from an array to the one of the supported GPIOs? Specifically to match 8080 parallel interface? I don't mind trying to put something together from existing libraries but I have not come across any examples of DMA used with parallel output on the T4.1
I'm kind of lost as to where to start as there is not much info out there on this topic specifically for the T4.x, and actually this might be way more complicated and above my abilities. So if I'm way over my head, feel free to give me the painful truth
Thanks,