esp-bsp icon indicating copy to clipboard operation
esp-bsp copied to clipboard

feature(ili9341): Add alternative driver configuration for LCD ILI9341 (BSP-638)

Open vvranjek opened this issue 9 months ago • 2 comments

This is an alternative driver option that works with some LCD displays. The same as in TFT_eSPI library here: https://github.com/Bodmer/TFT_eSPI/blob/5793878d24161c1ed23ccb136f8564f332506d53/TFT_Drivers/ILI9341_Init.h#L127

vvranjek avatar Feb 21 '25 10:02 vvranjek

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 21 '25 10:02 CLAassistant

I think, this cannot be part of driver. User can use vendor_config for change initialization commands. It can by part of readme file or something like that.

espzav avatar Mar 18 '25 12:03 espzav

@vvranjek please, did you see my latest comment?

espzav avatar Jun 18 '25 13:06 espzav

@espzav It's been a long time since I was working with this, I just wanted to contribute my findings. Here is my view on this: users probably can use vendor_config to use custom drivers config, but this is nothing custom, the LCD that I got works out-of-the-box with the code that I provided in PR, not with original driver. This is the driver for ili9341, but ili9341 apparently is being manufactured with different specs/config, thus the need for different/alternative drivers. Since we don't know any manufacturing codes or part numbers that would tell us which specific hardware it is, there is no other option but to have alternative versions of the driver and the user must use trial and error to find out which one works for them. I spent days figuring this out, that is why I shared the code. Arduino libs use the same approach with alternative driver.

vvranjek avatar Jun 19 '25 11:06 vvranjek