Hi team,
I forward the customer's questions as follows
At present, the LCD display is normal.
At the back end of the 924, there is also a touch screen. The IIC signal line and interrupt signal line of the touch screen are connected to the 924 chip.
The connection is shown in the figure above: the I2C address of the touch is 0x24
set the 941 register
SlaveID_0 Register (Address = 0x7) = 0x24 <<1;
SlaveAlias_0 Register (Address = 0x8) = 0x25 << 1;
GENERAL_CFG Register (Address = 3h)= 0xfa;
I2C_CONTROL Register (Address = 0x17) = 0x9e;
After that, use the command to see that the touch device cannot be found
trinket:/ # i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- UU -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- 2c -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Register 3h and register 17h, I set PASS_THROUGH or PASS_ALL respectively, but I can't find touch
How can I drive the touch screen? What's the idea?
Does the driver code of the touch screen need to be combined with the driver code of 941 / 924?
Best Regards,
Amy Luo