The display I am working with is a 3.95" ST7796S (similar to ILI9488) Display Driver and a SPI touch controller. There’s a wiki page for this display (Ref_1) which provides drivers as well as GUI library however I’ve only been able to make it work on 8-bit Mega2560. The software package contains x2 driver libraries (one for 8/16 bit display and other for touch controller) and x1 GUI library.
I need a starting point as to how I can use the LCDWIKI_KBV and LCDWIKI_TOUCH libraries as reference to write a driver library compatible with LVGL and can work on Arduino Due which is a 32 bit controller.
Standard way of writing firmware/driver is to refer to the datasheet of the device and start writing code from scratch. If you have some guide/tutorial on that using LVGL, that too will help. My goal is not just to have this display working with Due but also learn some best practices of writing hardware drivers from more experienced ppl in this forum.
Thanks for your help in advance.