Touch panel not work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Touch panel not work

1,125 Views
nxpuserme
Contributor I

I use the MIMXRT1060-EVK and RK043FN02H-CT, run the demo "SDK_2_10_0_MIMXRT1062xxxxA\boards\evkbmimxrt1060\ew_gui_examples\ew_gui_smart_thermostat", in the terminal window shows the log : "EwBspTouchGetEvents: error reading touch controller". what caused this?

0 Kudos
3 Replies

1,114 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello, 

I just made a couple of tests on my end. I wasn't able to replicate the behavior that you mentioned. Please double check that you connect properly the touch cable of the LCD into the RT1060-EVK connector. 

victorjimenez_0-1628263018516.png

Regards,
Victor 

0 Kudos

1,036 Views
abele_barbieri
Contributor I

Hi Victor,

I have same issue using the EVK MIMXRT1050-EVK  with RK043FN02H-CT display (see terminal captured image here below, at end of this post)
I'm trying the sample evkbimxrt1050_ew_gui_smart_thermostat from SDK_2_10_0_EVKB-IMXRT1050, using MCUXpresso IDE v11.4.1_6260.
I checked the good display connection trying with the example on QT https://www.qt.io/microcontrollers-nxp
In this case (as you can see in the photo here) the board works fine. 
Have you any suggest about? Thank you
Abele

Screenshot 2021-11-12 171536.jpgd8e506df-4534-4478-8f97-83c156469948.jpg

 

image.png

0 Kudos

1,013 Views
abele_barbieri
Contributor I

I think I have found the issue.
As on i.MX RT1050 Processor Reference Manual, page 998-999, here below the GPIO registers allowed on RT1050 family

abele_barbieri_0-1637000531810.png

but on evkbimxrt1050_ew_gui_smart_thermostat from SDK_2_10_0_EVKB-IMXRT1050, the IGPIO module is configured to use CLR, SET and TOGGLE register (instead of directly DR register)

abele_barbieri_1-1637000531814.png

I see that GPIO library is provided for both method

abele_barbieri_2-1637000531807.png

I tried to modify the IGPIO module configuration

abele_barbieri_3-1637000531812.png

and now Termo and all Display examples are working

abele_barbieri_4-1637000531813.png

0 Kudos