Touch init fails: no reactions to touch inputs

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

Touch init fails: no reactions to touch inputs

605 Views
LeonTNE
Contributor I

Hello,

I'm using the MIMXRT1064-EVK board with display RK043FN02H-CT. My Problem is, that the touch of the display doesn't work if I try to interact with GUIs. All standard GUI-demos in the MCUXPRESSO SDK doesn't react to touch inputs. I figured out that BOARD_Touch_Init fails with the error code 902 in function GT911_Init (means LPI2C read only failure). Does anybody have an idea how to solve this problem?

Thanks for your help!


Regards

Leon

Labels (1)
0 Kudos
2 Replies

559 Views
LeonTNE
Contributor I

Hey @diego_charles,

all right, thanks for your help!

 

Best Regards,

Leon

575 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @LeonTNE 

Please go to project display_support.h and set your LCD as the DEMO_PANEL.

 

/*******************************************************************************
 * Definitions
 ******************************************************************************/
#define DEMO_PANEL_RK043FN02H  1 /* RK043FN02H-CT */
#define DEMO_PANEL_RK043FN66HS 0 /* RK043FN66HS-CTG */

/* @TEST_ANCHOR */

#ifndef DEMO_PANEL
#define DEMO_PANEL DEMO_PANEL_RK043FN02H
#endif

 

 SDK v2.10 only supported the LCD RK043FN02H-CT . But from SDK v2.11 we included support for the RK043FN66HS.

Actually, the  RK043FN66HS is now the default LCD in our SDK demo examples , because the RK043FN02H-CT is not longer manufactured.

  Both LDCs require different touch panel drivers and initialization, therefore this should explain your issue.

All the best,

Diego.