DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

XPT2046 查看數據表(PDF) - Unspecified

零件编号
产品描述 (功能)
生产厂家
XPT2046
Unspecified
Unspecified Unspecified
XPT2046 Datasheet PDF : 30 Pages
First Prev 21 22 23 24 25 26 27 28 29 30
XPT2046 Touch Screen Controller
MEASURE
X-POSITION
XP
YP
MEASURE
Z1-POSITION
XP
YP
XP
YP
TOUCH
X-POSITION
TOUCH
Z1-POSITION
TOUCH
Z2-POSITION
XN
YN
XN
YN
XN
YN
Figure 11. Pressure Measurement Block Diagrams
MEASURE
Z2-POSITION
Digital Interface
See Figure 12 for the typical operation of the XPT2046 digital interface. This diagram assumes that the source of
the digital signals is a microcontroller or digital signal processor with a basic serial interface.Each communication
between the processor and the converter,such as SPI, SSI, or Microwire_ synchronous serial interface, consists of
eight clock cycles. One complete conversion can be accomplished with three serial communications for a total of
24 clock cycles on the DCLK input.
The first eight clock cycles are used to provide the control byte via the DIN pin. When the converter has enough
information about the following conversion to set the input multiplexer and reference inputs appropriately, the
converter enters the acquisition (sample) mode and, if needed, the touch panel drivers are turned on. After three
more clock cycles, the control byte is complete and the converter enters the conversion mode. At this point, the
input sample-and-hold goes into the hold mode and the touch panel drivers turn off (in single-ended mode). The
next 12 clock cycles accomplish the actual analogto-digital conversion. If the conversion is ratiometric(SER/DFR
= 0), the drivers are on during the conversion and a 13th clock cycle is needed for the last bit of the conversionr
esult. Three more clock cycles are needed to complete the last byte (DOUT will be low), which are ignored by the
converter.
Control Byte
The control byte (on DIN), as shown in Table 3, provides the start conversion, addressing, ADC resolution,
configuration,and power-down of the XPT2046. Figure 12, Table 3 and Table 4 give detailed information regarding
the order and description of these control bits within the control byte.
Initiate START—The first bit, the S bit, must always be high and initiates the start of the control byte. The
XPT2046 ignores inputs on the DIN pin until the start bit is detected.
Addressing—The next three bits (A2, A1, and A0) select the active input channel(s) of the input multiplexer (see
Table 1, Table 2, and Figure 5), touch screen drivers, and the reference inputs.
MODE—The mode bit sets the resolution of the ADC. With this bit low, the next conversion has 12 bits ofr
esolution,whereas with this bit high, the next conversion has eight bits of resolution.
Copyright©2007, SHENZHEN XPTEK TECHNOLOGY CO.,LTD http://www.xptek.com.cn
21/30

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]