![]() ![]() Testing was done on an A20 platform and gave exceptionally good results. The interesting thing is that sun4i, sun6i and sun7i have essentially the same RTP controllers so the sun4i_ts driver can work for all of them. Details can be found in the user manuals for Allwinner chips, in the section TP (touch panel). In the other way a resistive touchscreen has 4 wires. Mainly the I2C pins are connected to any i2c port on the CPU and is used to communicate with the touchscreen. Some touchscreen have wakeup pins to allow the touchscreen to go to sleep mode to save battery. INT - Interrupt Pin (Output, can be input during startup), used by the Touchscreen to indicate to the CPU that there are new events.RST - Reset Pin (Input), Used by the CPU to reset the touchscreen.In general a capacitive touchscreen hardware consists of 6 Pins: An example for built in RTP (resistive touch panel) built in controller can be found in the Fex Guide.Ĭtp_used = 1 #enable or disable the touchscreenĬtp_name = "ft5x_ts" #model of the touchscreenĬtp_revert_x_flag = 0 #Set this and ctp_revert_y_flag to 1 to flip x and y axisĬtp_int_port = port:PH21 #INT port settingsĬtp_wakeup = port:PB13 #Wakeup port settingsĬtp_io_port = port:PH21 #IO Port Settings There's also support for resistive touch panels by setting rtp_para in the fex. In general touchscreens are configured by the ctp_para in the fex file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |