SDK_2.5.0_MIMXRT1052xxxxB2\..\emwin_gui_demo

cancel
Showing results for 
Search instead for 
Did you mean: 

SDK_2.5.0_MIMXRT1052xxxxB2\..\emwin_gui_demo

877 Views
490538597
Contributor II

Hi NXP community Sir/Madam,

      Now  i use the SDK_2.5.0_MIMXRT1052xxxxB2\boards\evkbimxrt1050\emwin_examples\emwin_gui_demo drive the FT6336U TFT LCD. First I used the demo touchpanel code fsl_ft5406_rt.c, change the I2C_slave_ADDRESS,find the code run into the touch_event != kTouch_Reserved, PLEASE give me some advices. Thank you!

pastedImage_2.pngpastedImage_3.png

3 Replies

421 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I compared FT5406 vs. FT6336, about I2C slave address:

pastedImage_2.png

pastedImage_3.png

I couldn't find any useful info from FT6336 datasheet about I2C slave address.

At first, it need to make sure I2C slave address correct.

Then, it need to check if I2C communication correct (get correct touch data).

I would recommend to use I2C analyzer to check if FT5406 driver also works with FT6336.

I do a search and find below resource for your reference about FT6336 driver:

https://github.com/adafruit/Adafruit_FT6206_Library

And you also could check with FocalTech, if they have suitable driver for FT6336 for your reference.


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

421 Views
490538597
Contributor II

Hi Hui,

 

    I used the board is M1052-16F128AWI-T by ZLG. Use the ZLG SDK can normal run.  The SDK used the FT5x06, I just change the slave address to 0x48. It is ok. But ZLG SDK is not open source. Now i use the NXP SDK , I do  not touch the panel, but the "touch_event ==kTouch_Down". 

The board address  :

http://www.zlg.cn/ipc/down/down/id/92.htmlhttp://www.zlg.cn/ipc/down/down/id/92.html

0 Kudos

421 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Sorry, we don't support ZLG developed board so far.

Please find support from ZLG online support link here.

Thanks for the understanding.


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos