RVT70HSTNWC00-B (ILI2132A) with MIMXRT1176-evkb Hi, I'm currently working on a project with the MIMXRT1176-EVKB. In this project, I would like to display some screens on the RVT70HSTNWC00-B display and be able to register touch coordinates. I already have a working screen thanks to another NXP forum post: https://community.nxp.com/t5/i-MX-Processors/Creating-a-driver-for-a-MIPI-LCD/m-p/1772322 The only issue I have is that the touch driver (ILI2132A) for this display works slightly differently than other drivers (e.g., the GT911) but still uses I²C as protocol and there are no examples in the SDK that use this driver. Does anyone have a solution for this that can be built on the MIMXRT1170 series? All help and information are welcome. Thanks in advance! Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO) Re: RVT70HSTNWC00-B (ILI2132A) with MIMXRT1176-evkb Hi @KobeV,
We do not currently provide a proper driver for the ILI2132A, but the RT1170-EVKB does support Zephyr, which has a driver for this touch IC called "input_ili2132a.c" (Doc, GitHub).
Considering that the specifics for the ILI2132A touch IC are already implemented on that driver, the migration process to a bare metal driver is quite achievable. All the GPIO and I2C functions that are using on that driver should already have their bare metal equivalent on our SDK, so I suggest migrating or create your own driver based on that one.
Also, since the RT1170-EVKB is already supported by Zephyr, you could do testing scenarios with a Zephyr-based projects to ensure the functionality of the driver and debug its functionality before any migration process.
BR, Edwin. Re: RVT70HSTNWC00-B (ILI2132A) with MIMXRT1176-evkb Hi, After a significant amount of testing and troubleshooting, I am still unable to get the touch functionality working for the RVT70HSTNWC00-B display using the ILI2132A driver. To give you some background on my setup, I am working within an MCUXpresso project that also incorporates Crank Storyboard. My goal is to poll the touch driver and trigger the appropriate Storyboard events (such as motion, press, and release) based on touch inputs. Recently, I found a GitHub repository where the ILI2132A driver is implemented, but it uses an Arduino (.ino) project. I attempted to adapt the additional files and convert the Arduino code into a C file suitable for my environment. Below is the implementation I came up with following code (check: sbengine_task_vglite.c). Despite these changes, I am still not getting any signs of life from the touch display. I am wondering if there are any bugs in my code or if other external configurations and settings in my project need to be adjusted. For reference, the link to the original Arduino project's GitHub page: https://github.com/riverdi/ctp-ilitek-arduino-demo/tree/master I would greatly appreciate any guidance or insights you could provide. Re: RVT70HSTNWC00-B (ILI2132A) with MIMXRT1176-evkb Hi, this is a response to my own reply on this forum. The problem was successfully resolved after struggling with it for a few weeks. The Arduino code from https://github.com/riverdi/ctp-ilitek-arduino-demo works perfectly if you convert it to C code yourself. The problem with the driver and the board is that the MIPI LCD connector J48 does not have its own 3.3V or higher power supply (It does but it's not connected to an external pin). For the display's backlight, you need around 8V (in my opinion), and for the touch, a voltage of 3.3V. As a solution, I provided these voltages using a lab power supply. The backlight then worked perfectly, but the touch displayed weird shapes. The signals were kept at a maximum of 1.8V. You could see a nice square wave on the CLK pin, but with 1.8V instead of 3.3V. Also, the driver chip drew a huge amount of current, and I still don't know what caused this. The problem was resolved by applying a separate 3.3V power supply. This can be made possible by taking the 3.3V from another GPIO pin. Please note that all GNDs of the different power supplies must be connected together along with the GND of the NXP board, otherwise you will get weird situations. The touch is not working optimally yet, but this is more of a firmware issue than a hardware issue. I think that for anyone experiencing this same problem, a different solution will be needed because of timing. Specifically, I am using FreeRTOS in my project, which makes the timing in the firmware slightly different. Hopefully, I can help other people with this information. If not, feel free to ask!
記事全体を表示