Appendix: One-Wire Technology
As for most boards we observed that using CPU's ADC conversion didn't work very well for large-size LCDs (7" and larger) with four-wire resistive touch. Some vendors use an external USB or UART module to connect these LCDs. To save CPU's hardware resources and minimize usage of external modules we developed the one-wire technology which only uses a single GPl0 pin and we have integrated this technology in all our LCD controller boards. This technology uses an MCU to communicate with the touch panel's chip (we use the ADS7843 chip or other chips compatible with ADS7843)and process the four-wire resistor's analog signals and output the filtered stable signals to the board via GPl0. We tested this technology in various LCDs and it worked very well even for a large LCD of 19"and some commonly observed issues such as screen flipping and jittering were not encountered.
Today most LCDs whose size is less than 12" have LED backlight. We use the one-wire's MCU to process the backlight as well. The backlight is set with a range of values. Users can set a value to the backlight and this value is passed to MCU for processing via one-wire's GPl0 pin.
Each FriendlyElec's LCD module has a unique lD which is saved in the one-wire's MCU. When the MCU reads the lD information from GPl0 signals it will recognize the LCD model and instruct the bootloader to load the corresponding LCD driver, making a FriendlyElec LCD plug and play.
As for the one-wire technology for our LCDs with capacitive touch we removed theresistive touch panel's chip but kept the backlight adjusting function and LCD's ID information. Therefore the communication between the capacitive touch and the board is still standard llC.
Please note that the one-wire technology is different from the commonly known single-bus communication. Actually in the board we use a PWM timer (not PWM pins) to generate the communication frequency (9600Hz). For more details please refer to the driver's source code.