Skip to main content
MReus.2
Associate II
September 21, 2024
Solved

No reaction to detected touch custom H745I-Disco board

  • September 21, 2024
  • 1 reply
  • 982 views

Hello,

i am working on a board that is redrawn from the H745I-Disco which originally has the FT5336 as touch controller. My Display has the FT5426. On an earlier board that recreated the F746-Disco (which also has the FT5336) i noticed that the  FT5426 worked right away. This was not the case on the H745 but was fixed after changing the Device ID. So touches are detected and deliver the proper values for x and y in sampleTouch() but nothing reacts to it. It is like there is no touch functionality at all. Any recommendations?

 

Thanks in advance!

Martin

Best answer by MReus.2

Hi Gaetan,

thank you very much for your reply. You summarized my problem correctly. The thing that didnt catch my eye right away was that x and y coordinates where swapped. As soon as i assigned x to y and y to x it started working. 

The difference between the FT53 and FT54 seems to be quite a bit more but since there is no multi touch in touch gfx it can be a cheap workaround i guess and it works from a user perspective. 

Thanks for your effort!!

1 reply

GaetanGodart
Technical Moderator
September 27, 2024

Hello @MReus.2 ,

 

To summarize:

  • previously you did a redraw of F746-DK to go from FT53 to FT54 and it worked straight away without changing anything
  • now you you did a redraw of F745-DK to go from FT53 to FT54 and you had to change the ID, now you get the right values in sampleTouch()

Are you sure that your GUI has clickable area?

Are you sure that your screen has touch?

Do you hand touch coordinates to the touchgfx framework,

Can you share your sampleTouch() function?

 

Regards,

MReus.2
MReus.2AuthorBest answer
Associate II
September 29, 2024

Hi Gaetan,

thank you very much for your reply. You summarized my problem correctly. The thing that didnt catch my eye right away was that x and y coordinates where swapped. As soon as i assigned x to y and y to x it started working. 

The difference between the FT53 and FT54 seems to be quite a bit more but since there is no multi touch in touch gfx it can be a cheap workaround i guess and it works from a user perspective. 

Thanks for your effort!!

GaetanGodart
Technical Moderator
September 30, 2024

Hello @MReus.2 ,

 

I am glad you resolved your problem! :smiling_face_with_smiling_eyes:

 

Regards,