Hi there, I am looking to interface a larger LCD to the DK-S7G2. The display itself is no problem. The issue is that the display has a different touch controller chip (STMPE811). Digging around the touch controller framework, it looks like I would have to write a modified driver for the chip which the framework would call in place of the ft5x06 or sx8654. The support for these chips is part of the SSP source, so I'd have to create a new BSP based on the current one (using the custom BSP tool and template pack etc). However, it looks like the support for the existing touch controllers are in the files.... ..\ssp\src\framework\sf_touch_panel_i2c\sf_touch_panel_i2c.c ..\ssp\src\framework\sf_touch_panel_i2c\sf_touch_panel_i2c_ft5x06.c ..\ssp\src\framework\sf_touch_panel_i2c\sf_touch_panel_i2c_sx8654.c Unfortunately these are all encrypted. Of course I can read the files in the e2Studio editor...but I can't copy/edit or print the files so using them as templates for a new touch controller is very difficult. I understand why some of the source is encrypted, but it seems strange to encrypt driver files like this as they would be good starting points for board specific custom code. This is especially the case with the touch controller support as it seems the only way to add a new device is to write it completely from scratch. Am I missing something? Is there an easier solution? Many regards, Chris Young.
↧