Introduction - If you have any usage issues, please Google them yourself
ADS7846/7843 chip suitable for use in 4-wire touch screen, it is through a standard SPI protocol and CPU communication, simple operation and high precision, when the touch screen is pressed (that is, the incident has touch) are ADS7846 issued to CPU interrupt request, CPU access to the request should be delayed and then respond to their request, aimed at the elimination of jitter in order to make a more accurate sampling. If a sample is not accurate, you can try many times the last time check the results of sampling, whichever it is also aimed at the elimination of jitter.
Packet : 121114128ads7846ads7843_dirver.rar filelist
ADS7846ADS7843_dirver.txt