墩泰FT6206的TouchPanel调试问题
我们在72平台上用FT6206的TP,power on和reset后读0x00(I2C_smbus_read_i2c_block_data(i2c_CLIent, 0x00, 1, &data)),读到的data是0,
用示波器显示,起始位和地址(read 0x71)都是对的,地址后的ack也对,但是后面接着读的数据是0,ack也不对。请问可能是哪里的问题?
用手指触摸会产生中断,但tpd_touchinfo里读到的数据也全为0,请各路高手不吝解答,万分感谢。
现在修改了一下,TP可以工作了,对i2c的flag做了设置
i2c_client->addr = i2c_client->addr & I2C_MASK_FLAG | I2C_ENEXT_FLAG |I2C_PUSHPULL_FLAG,而且用for循环逐个byte去读TP的前24个寄存器。
不知道这么做会不会有问题,有没有人讨论一下?
MTK的回复是“I2C 读写限制为每次只能8 byes(6575/77除外)”;
how to reset the i2c bus or power/clcsrc for detect TP after transferr error?
Do you have any questions? my friend
Have problem with detect TP ft5x06 in mt6575 kernel 3.0.13.
After disable option MSDC_REMOVABLE in ".flags =" in board.c (not detect SDCARD), the I2C not detect the touchpanel
in log:
mmc-host use the 400MHz for clksrc for reset, resetting, after that use 260MHz and not detect.
Only transferr error
Don't disable option MSDC_REMOVABLE,Is your TPworking order?
Your SD card support host-plus?
Suggest you to send a post, there will be more master answer for you,tks!
Yes, works fine, but not detect the SDcard with this option
What the host-plus?
In fact: the card is not removable in worked phone (the slot is closed by battery)
All worked (TP+SDcard) if rebooted to system from recovery with old 2.6.35 kernel
TP不能用时,量一下TP的供电是不是关掉了?
After power off (battery reconnect) TP and SD not detected, needed to boot in old stock kernel (2.6.35 in recovery)
Check the TP with the MSDC power supply is shared?
How to?
In datasheet used power by the VGP2, but if change in mmc-host/sd.c
the power to VGP2 - situation not changed.
But SDCard in this way worked, touchpanel - NOT
应当是在挂载时没有挂载上。
所以SDCARD可以工作,而TP不能工作了。
What is the solution?
在TP的驱动中将供电在打开一下试试。
what change in the code? in touchpanel/tpd or in mmc-host/ or in i2c source?
I have similar problems with I2C detect the als/ps and accel devices with new kernel 3.4.0 in other phone (works only with charge :) old stock kernel).
ft5206_drive.c应该是io冲突吧
Thanks, but its not worked for me.
I think will need to add the PowerDown both (VGP2+VGP) also?
I can share all needed sources (ft5x06 driver, mt6575_dev.c, mmc-host/*, board.c) for check the wrong code. If anyone can help me...
I can share all needed sources (ft5x06 driver, mt6575_dev.c, mmc-host/*, board.c) for check the wrong code. If anyone can help me...
请问可有datasheet 发一份 万分感谢!
牛逼楼上的人全都用英文进行交流
DINGENGLISH