MXB7846
2.375V to 5.25V, 4-Wire Touch-Screen Controller
with Internal Reference and Temperature Sensor
16 ______________________________________________________________________________________
The fastest the MXB7846 can run with CS held continu-
ously low is 15 clock conversions. Figure 10 shows the
serial-interface timing necessary to perform a conver-
sion every 15 DCLK cycles. If CS is connected low and
DCLK is continuous, guarantee a start bit by first clock-
ing in 16 zeros.
Most microcontrollers (µCs) require that data transfers
occur in multiples of eight DCLK cycles; 16 clocks per
conversion is typically the fastest that a µC can drive the
MXB7846. Figure 11 shows the serial interface timing nec-
essary to perform a conversion every 16 DCLK cycles.
8-Bit Conversion
The MXB7846 provides an 8-bit conversion mode
selected by setting the MODE bit in the control byte
high. In the 8-bit mode, conversions complete four
clock cycles earlier than in the 12-bit output mode,
resulting in 25% faster throughput. This can be used in
conjunction with serial interfaces that provide 12-bit
transfers, or two conversions could be accomplished
with three 8-bit transfers. Not only does this shorten each
conversion by 4 bits, but each conversion can also
occur at a faster clock rate since settling to better than 8
bits is all that is required. The clock rate can be as much
as 25% faster. The faster clock rate and fewer clock
cycles combine to increase the conversion rate.
SUPPLY CURRENT (typ) (µA)
PD1 PD0 PENIRQ STATUS
DURING
CONVERSION
AFTER
CONVERSION
0 0 Enabled ADC is ON during conversion, OFF between conversion 200 1
0 1 Disabled ADC is always ON, reference is always OFF 200 200
1 0 Disabled ADC is always OFF, reference is always ON 400 400
1 1 Disabled ADC is always ON, reference is always ON 600 600
Table 4. Power-Mode Selection
DCLK
1891216
4567891011 3210
20 244
DOUT
A/D STATE
BUSY
CS
DIN
SA2A1A0
MODE
ON OFF
(MSB) (LSB)
CONVERSION
ACQUIRE
IDLEIDLE
IDLE
t
ACQ
T
B
ACQUIRE CONVERSION IDLE
RB1
OFF
OFF OFFON
PD1 PD0
(START)
SER/
DFR
DRIVERS 1 AND 2
(SER/DFR HIGH)
DRIVERS 1 AND 2
(SER/DFR LOW)
R
B2
R
B3
Figure 9. Conversion Timing, 24-Clock per Conversion, 8-Bit Bus Interface
MXB7846
2.375V to 5.25V, 4-Wire Touch-Screen Controller
with Internal Reference and Temperature Sensor
______________________________________________________________________________________ 17
Data Format
The MXB7846 output data is in straight binary format as
shown in Figure 12. This figure shows the ideal output
code for the given input voltage and does not include
the effects of offset, gain, or noise.
Applications Information
Basic Operation of the MXB7846
The 4-wire touch-screen controller works by creating a
voltage gradient across the vertical or horizontal resis-
tive network connected to the MXB7846, as shown in
the
Typical Application Circuit
. The touch screen is
biased through internal MOSFET switches that connect
each resistive layer to V
DD
and ground on an alternate
basis. For example, to measure the Y position when a
pointing device presses on the touch screen, the Y+
and Y- drivers are turned on, connecting one side of
the vertical resistive layer to V
DD
and the other side to
ground. In this case, the horizontal resistive layer func-
tions as a sense line. One side of this resistive layer
gets connected to the X+ input, while the other side is
left open or floating. The point where the touch screen
is pressed brings the two resistive layers in contact and
forms a voltage-divider at that point. The data converter
senses the voltage at the point of contact through the
X+ input and digitizes it. The horizontal layer resistance
does not introduce any error in the conversion because
no DC current is drawn.
The conversion process of the analog input voltage to
digital output is controlled through the serial interface
between the A/D converter and the µP. The processor
controls the MXB7846 configuration through a control
1 8 16 1 8 16
DCLK
CONTROL BYTE 0 CONTROL BYTE 1SS
CONVERSION RESULT 0 CONVERSION RESULT 1
B11 B10 B9 B8 B7 B6B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
DIN
DOUT
BUSY
. . .
. . .
. . .
. . .
. . .
CS
Figure 11. 16-Clock/Conversion Timing
1 8 15 1 8 15 1
DCLK
DIN
DOUT
BUSY
S CONTROL BYTE 0 CONTROL BYTE 1 CONTROL BYTE 2SS
CONVERSION RESULT 0 CONVERSION RESULT 1
B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
CS
Figure 10. 15-Clock/Conversion Timing
MXB7846
2.375V to 5.25V, 4-Wire Touch-Screen Controller
with Internal Reference and Temperature Sensor
18 ______________________________________________________________________________________
byte (see Tables 3 and 4). Once the processor instructs
the MXB7846 to initiate a conversion, the MXB7846
biases the touch screen through the internal switches at
the beginning of the acquisition period. The voltage
transient at the touch screen needs to settle down to a
stable voltage before the acquisition period is over.
After the acquisition period is over, the A/D converter
goes into a conversion period with all internal switches
turned off if the device is in single-ended mode. If the
device is in differential mode, the internal switches
remain on from the start of the acquisition period to the
end of the conversion period.
Power-On Reset
When power is first applied, internal power-on circuitry
resets the MXB7846. Allow 10µs for the first conversion
after the power supplies stabilize. If CS is low, the first
logic 1 on DIN is interpreted as a start bit. Until a con-
version takes place, DOUT shifts out zeros. On power-
up, allow time for the reference to stabilize.
Power Modes
Save power by placing the converter in one of two low-
current operating modes or in full power down between
conversions. Select the power-down mode through
PD1 and PD0 of the control byte (Tables 3 and 4).
The software power-down modes take effect after the
conversion is completed. The serial interface remains
active while waiting for a new control byte to start a con-
version and switches to full-power mode. After complet-
ing its conversion, the MXB7846 enters the programmed
power mode until a new control byte is received.
The power-up wait before conversion period is depen-
dent on the power-down state. When exiting software
low-power modes, conversion can start immediately
when running at decreased clock rates. Upon power-
on reset, the MXB7846 is in power-down mode with
PD1 = 0 and PD0 = 0. When exiting software shutdown,
the MXB7846 is ready to perform a conversion in 10µs
with an external reference. When using the internal ref-
erence, allow enough time for reference to settle to 12-
bit accuracy when exiting full power-down mode, as
shown in the
Typical Operating Characteristics
.
PD1 = 1, PD0 = 1
In this mode, the MXB7846 is always powered up and
both the reference and the ADC are always on. The
device remains fully powered after the current conver-
sion completes.
PD1 = 0, PD0 = 0
In this mode, the MXB7846 powers down after the cur-
rent conversion completes or on the next rising edge of
CS, whichever occurs first. The next control byte
received on DIN powers up the MXB7846. At the start
of a new conversion, it instantly powers up. When each
conversion is finished, the part enters power-down
mode, unless otherwise indicated. The first conversion
after the ADC returns to full power is valid for differen-
tial conversions and single-ended measurement con-
versions when using an external reference.
When operating at full speed and 16 clocks per conver-
sion, the difference in power consumption between
PD1 = 0, PD0 = 1, and PD1 = 0, PD0 = 0 is negligible.
Also, in the case where the conversion rate is
decreased by slowing the frequency of the DCLK input,
the power consumption between these two modes is
not very different. When the DCLK frequency is kept at
the maximum rate during a conversion, conversions are
done less often. There is a significant difference in
power consumption between these two modes.
PD1 = 1, PD0 = 0
In this mode, the MXB7846 is powered down. This
mode becomes active after the current conversion
completes or on the next rising edge of CS, whichever
occurs first. The next command byte received on the
DIN returns the MXB7846 to full power. The first conver-
sion after the ADC returns to full power is valid.
PD1 = 0, PD0 = 1
This mode turns the internal reference off and leaves
the ADC on to perform conversions using an external
reference.
OUTPUT CODE
FS = (V
REF+
- V
REF-
)
FS-3/2LSB
FULL-SCALE
TRANSITION
INPUT VOLTAGE (LSB) = [(V
+IN
) - (V
-IN
)]
123 FS0
11…111
11…110
11…101
00…011
00…010
00…001
00…000
1LSB =
(V
REF+
- V
REF-
)
4096
Figure 12. Ideal Input Voltages and Output Codes

MXB7846EEE+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Touch Screen Controllers 2.375-5.25V 4-Wire Touch-Screen Ctlr
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet