Touch panel not work

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Touch panel not work

1,465 次查看
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 项奖励
回复
3 回复数

1,454 次查看
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 项奖励
回复

1,376 次查看
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 项奖励
回复

1,353 次查看
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 项奖励
回复