KINGBRIGHT HFT012

KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
-
HFT012
Table of Contents -
1.
General Description ___________________________________________________________________2
2.
Features _____________________________________________________________________________2
3.
Block Diagram _______________________________________________________________________3
4.
Pin Description _______________________________________________________________________3
5.
Pads Locations _______________________________________________________________________4
6.
Configuration of ADC _________________________________________________________________5
7.
Absolute Maximum Rating ____________________________________________________________11
8.
Recommended Operating Conditions____________________________________________________11
9.
AC/DC Characteristics________________________________________________________________11
10.
Application Circuit_________________________________________________________________12
11.
Updated History ___________________________________________________________________13
August 18, 2003
1
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HFT012
1. General Description
The HFT012 integrates a 12-bit SAR type Analog-to-Digital converter, a synchronous serial interface and
low on-resistance switches on a chip. The X/Y driver is automatically configured for X/Y position,
X-plate resistance and touch pressure measurements for a 4-wire resistive type touch screen. With the
built-in X/Y drivers and the low power design techniques the chip is suitable for battery-operated system
and other portable equipment application. The HFT012 features direct battery measurement, temperature
measurement and touch-pressure measurement. When not in use, the internal reference can be shut down
to conserve power. An external reference can also be applied and can be varied from 1 V to VDD, while
the analog input range is from 0 V to VREF. The device includes a shutdown mode that reduces the
current consumption to less than 1 µA.
2. Features
9
9
9
9
9
9
9
9
9
9
9
Wide Supply Range: 2.4V to 5.5V
4-Wire Touch Screen Interface
125 kSPS Sampling Rate
8/12Bit Resolution Selection
Serial Input Control
Serial Data Output
Single Ended/Differential Reference
Fully Power Down Control
Position Measurement for X/Y
X-Plate Sheet Resistance Measurement
Touch Pressure Measurement
August 18, 2003
2
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
3.
HFT012
Block Diagram
PENIRQL VDD
Y+
X-
12-bit
SAR ADC
Y-
Serial Interface
and Control
Multiplexer
X+
DCLK
CSL
DIN
DOUT
BUSY
Multiplexer
X+, X-, Y+, Y-
VREF
4. Pin Description
SSOP Package
Pin Name
X+
Y+
XYNC
VREF
PENIRQL
DOUT
BUSY
DIN
August 18, 2003
I/O
I
I
I
I
I
I
I
O
O
I
VDD
1
16
DCLK
X+
2
15
CSL
Y+
3
14
DIN
X-
4
13
BUSY
Y-
5
12
DOUT
GND
6
11
PENIRQL
NC
7
10
VDD
NC
8
9
VREF
Description
X+ position input, ADC input channel 1
Y+ position input, ADC input channel 2
X- position input
Y- position input
No Connect
Voltage Reference Input: 1V to VDD
Pen Interrupt (requires 10k~100k ohms pull up resistor externally
Serial Data output. High impedance when CSL is high
Busy Output. High impedance when CSL is high.
Serial Data Input
3
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Pin Name
I/O
CSL
I
DCLK
VDD
GND
I
P
P
HFT012
Description
Chip Select Input (Active Low); this pin is used to initialize the
transmission and ADC conversion, don’t tied to GND directly.
Serial Interface Clock Input
Power Supply: 2.4V to 5.5V
5. Pads Locations
VDD
DCLK
X+
CSL
Y+
X-
DIN
Y
YGND
(0,0)
GND
BUSY
DOUT
X
PENIRQL
VDD
GND
NC1
VDD
NC2
VREF
Pad No. Pad Name X Coord. Y Coord. Pad No. Pad Name X Coord. Y Coord.
1
VDD
-474.2
506.5
11
VREF
503.7
-505.5
2
X+
-503.7
396.5
12
VDD
474.2
-395
3
Y+
-503.7
286.5
13
VDD
474.2
-183.8
4
X-503.7
176.5
14
PENIRQL 503.7
-73.3
5
Y-503.7
66.5
15
DOUT
503.7
36.7
6
GND
-474.2
-53.9
16
BUSY
503.7
146.7
7
GND
-474.2
-163.9
17
DIN
503.7
256.7
8
GND
-474.2
-273.9
18
CSL/RST 503.7
366.7
9
NC1
-503.7
-399.5
19
DCLK
503.7
476.7
10
NC2
-503.7
-509.5
August 18, 2003
4
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HFT012
6. Configuration of ADC
Serial Interface
The CSL signal initiates the data transfer and conversion process, user shall don’t tie this pin to
ground directly. The falling edge of CSL takes the BUSY output and the serial bus out of three-state.
The first eight DCLK cycles are used to write to the Control Register via the DIN pin. The Control
Register is updated in stages as each bit is clocked in and once the converter has enough information
about the following conversion to set the input multiplexer and switches appropriately,
The converter enters the acquisition mode and if required, the internal switches are turned on. During the
acquisition mode the reference input data is updated. After the three DCLK cycles of acquisition, the
control word is complete (the power management bits are now updated) and the converter enters the
conversion mode. At this point the track and hold goes into hold mode and the input signal is sampled and
the BUSY output goes high (BUSY will return low on the next falling edge of DCLK). The internal
switches may also turn off at this point if in single-ended mode or temperature measurement mode. The
next 12 DCLK cycles are used to perform the conversion and to clock out the conversion result. If the
conversion is ratiometric (SER/#DFR Low), the internal switches are on during the conversion. A
thirteenth DCLK cycle is needed to allow the DSP/MCU to clock the LSB in. Three more DCLK cycles
will clock out the three trailing zeroes and complete the 24 DCLK transfer. The 24 DCLK cycles may be
provided from a DSP or via three bursts of eight clock cycles from a microcontroller.
Control Byte Description
The following diagram shows the typical operation of the HFT012 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 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, switches, and reference inputs appropriately, the converter enters the acquisition (sample)
mode and, if needed, the internal switches 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 internal switches may turn off. The next 12th clock cycles accomplish the actual
A/D conversion. If the conversion is ratiometric (SER/#DFR Low), the internal switches are on during the
conversion. A 13th clock cycle is needed for the last bit of the conversion result. Three more clock cycles
are needed to complete the last byte (DOUT will be LOW). These will be ignored by the converter.
August 18, 2003
5
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HFT012
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
tACQ
/CSL
1
DCLK
S
DIN
8
A2
A1
A0
8/12
S/D
1
8
1
8
PD1 PD0
START
IDLE
AQUIRE
CONVERSION
IDLE
(Z)
(Z)
BUSY
(Z)
11
DOUT
X/Y Switches
(SER/#DEF HIGH)
OFF
X/Y Switches
(SER/#DEF LOW)
OFF
10
9
8
ON
7
6
5
4
3
2
1
0
(Z)
ZERO FILLED
OFF
ON
OFF
Diagram: Conversion Timing, 24 DCLKS per Conversion Cycle, 8-bit Bus Interface. No DCLK delay required with dedicated series port.
See the above diagram for the placement and order of the control bits within the control byte. The
following table gives detailed information about these bits. The first bit, the ‘S’ bit, must always be
“HIGH” and indicates the start of the control byte. The HFT012 will ignore inputs on the DIN pin until
the start bit is detected. The next three bits (A2-A0) select the active input channel or channels of the
input multiplexer. The MODE bit determines the number of bits for each conversion, either 12 bits (LOW)
or 8 bits (HIGH). The SER/#DFR bit controls the reference mode: either single ended (HIGH) or
differential (LOW). (The differential mode is also referred to as the ratiometric conversion mode). In
single ended mode, the converter’s reference voltage is always the difference between the VREF and
GND pins. In differential mode, the reference voltage is the difference between the currently enabled
switches. The last two bits (PD1-PD0) select the power-down mode. If both inputs are HIGH, the device
is always powered up. If both inputs are LOW, the device enters a power-down mode between
conversions. When a new conversion is initiated, the device will resume normal operation instantly—no
delay is needed to allow the device to power up and the very first conversion will be valid. There are two
power-down modes: one where PENIRQ is disabled and one where it is enabled.
Bits
Name
7
S
6:4
A[2:0]
August 18, 2003
Description
Start Bit
Control bit starts with first high bit on DIN. A new control byte can start every
16 cycles for 12-bit conversion mode or 12 cycles for 8-bit conversion mode.
Measurement Mode Selection Bits
[111]: Reserved
[110]: Reserved
[101]: X Position / Y+ channel input for single-ended mode
[100]: Reserved
[011]: Reserved
[010]: Reserved
[001]: Y Position / X+ channel input for single-ended mode
[000]: Reserved
6
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HFT012
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Bits
Name
3
8/12
2
S/D
1:0
PD[1:0]
Description
8/12 Bits Output Format Selection Bit
[1]: Select 8-bit conversion mode
[0]: Select 12-bit conversion mode
Single/Differential Mode Selection Bit
[1]: Select single ended reference
[0]: Select differential reference
Power Down Control Bits
[11]: No power down between conversions
[10]: Reserved
[01]: Power down between conversions.
PENIRQ Disable when power down.
[00]: Power down between conversions.
PENIRQ enable when power down.
Digital Timing
The following diagram and table provide detailed timing for the digital interface of the HFT012.
SYMBOL
Description
Min. Typ. Max. Units
tACQ
Acquisition Time
1.5
μs
tDS
DIN valid prior to DCLK Rising
100
ns
tDH
DIN Hold after DCLK High
10
ns
tDO
DCLK Falling to DOUT Valid
200
ns
tDV
/CS Falling to DOUT Enabled
200
ns
tTR
/CS Rising to DOUT Disabled
200
ns
tCSS
/CS Falling to First DCLK Rising
100
ns
tCSH
/CS Rising to DCLK Ignored
0
ns
tCH
DCLK High
200
ns
tCL
DCLK Low
200
ns
tBD
DCLK Falling to BUSY Rising
200
ns
tBDV
/CS Falling to BUSY Enabled
200
ns
TBTR
/CS Rising to BUSY Disabled
200
ns
/CS
tCH
tCSS
tCL
//
tBD
tBD
tDO
//
tCSH
DCLK
tDS
tDH
//
//
//
DIN
//
//
BUSY
tBTR
tBDV
//
DOUT
//
tTR
//
tDV
10
//
11
//
Detailed Timing Diagram
August 18, 2003
7
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HFT012
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
16 Clocks per Cycle
The control bits for the next conversion can be overlapped with the current conversion to allow for a
conversion every 16 DCLK cycles, as shown in following diagram. This timing diagram also allows for
the possibility of communication with other serial peripherals between each byte (eight DCLK) transfer
between the processor and the converter. However the conversion must complete within a short enough
time frames to avoid capacitive droop effects which may distort the conversion result. It should also be
noted that the HFT012 will be fully powered while other serial communications may be taking place
between byte transfers.
Idle
CSL
Acquire
1'st Conversion
2'nd Conversion
Serial Bus Enable
DCLK
DIN
S
A2
A1
A0 8/12 S/D PD1 PD0
S
A2
A1
A0 8/12 S/D PD1 PD0
4
3
2
1
BUSY Z
11
DOUT Z
10
9
8
7
6
5
0
11
S.O.C *
Sample In *
S2
XY on *
Single Ended
S2
Differential mode
XY on *
PD don't care
ADC on *
*--- Internal Signal
16-Clocks Per Conversion
8-Bit Conversion
The HFT012 can be set up to operate in an 8-bit mode rather than 12 bits, by setting the MODE bit in the
control register to 1. This mode allows a faster throughput rate to be achieved assuming 8-bit resolution is
sufficient. When using the 8-bit mode, a conversion is complete four clock cycles earlier than in the
12-bit mode. This could be used with serial interfaces that provide 12 clock transfers, or two conversions
could be completed with three eight-clock transfers. The throughput rate will increase by 25% as a result
of the shorter conversion cycle, but the conversion itself can occur at a faster clock rate because the
internal settling time of the HFT012 is not as critical, as settling to eight bits is all that is required. The
clock rate can be as much as 50% faster. The faster clock rate and fewer clock cycles combine to provide
double the conversion rate.
Reference Input
August 18, 2003
8
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HFT012
The voltage difference between Vref+ and Vref - (shown in following) sets the analog input range. The
HFT012 will operate with a reference in the range of 1V to +VCC. There are several critical items
concerning the reference input and its wide voltage range. As the reference voltage is reduced, the analog
voltage weight of each digital output code is also reduced. This is often referred to as the LSB (least
significant bit) size and is equal to the reference voltage divided by 4096. Any offset or gain error
inherent in the ADC will appear to increase, in terms of LSB size, as the reference voltage is reduced.
There is also a critical item regarding the reference when making measurements where the switch drivers
are on. This particular application shows the device being used to digitize a resistive touch screen. A
measurement of the current Y position of the pointing device is made by connecting the X+ input to the
ADC, turning on the Y+ and Y– drivers, and digitizing the voltage on X+. For this measurement, the
resistance in the X+ lead does not affect the conversion (it does affect the settling time, but the resistance
is usually small enough that this is not a concern). However, since the resistance between Y+ and Y– is
fairly low, the on-resistance of the Y drivers does make a small difference. Under the situation outlined so
far, it would not be possible to achieve a 0V input or a full-scale input regardless of where the pointing
device is on the touch screen because some voltage is lost across the internal switches. In addition, the
internal switch resistance is unlikely to track the resistance of the touch screen, providing an additional
source of error. By setting the SER/DFR bit LOW, the Vref+ and Vref- inputs are connected directly to
Y+ and Y–. This makes the A/D conversion ratiometric (difference mode). The result of the conversion is
always a percentage of the external resistance, regardless of how it changes in relation to the on-resistance
of the internal switches. As a final note about the differential reference mode, it must be used with +VDD
as the source of the Vref+ voltage and cannot be used with VREF. It is possible to use a high precision
reference on VREF and single-ended reference mode for measurements which do not need to be
ratiometric. Or, in some cases, it could be possible to power the converter directly from a precision
reference. Most references can provide enough power for the HFT012, but they might not be able to
supply enough current for the external load (such as a resistive touch screen).
August 18, 2003
9
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HFT012
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
VDD
Y+
VDD
SW+
SW+
Y+
VREF
X+
X+
Vref+
IN+
ADC Core
INVref-
Y-
Vref+
IN+
ADC Core
INVref-
Y-
SW-
SWGND
GND
Single-Ended Reference Mode (SER/#DFR = 1)
Differential Reference Mode (SER/#DFR = 0)
Measurement Modes
There are two measurement modes are available for the HFT012 which are single-ended/differential
modes. The differential mode is usually used for touch screen application and the single-ended mode is
used for the general measurements, like as temperature, pressure, etc. The selection of modes is through
the control bit SER/#DFR, and input channel is selected by the control bits A[2:0].
The input configurations for X/Y drivers and ADC are listed as follow:
Vref+
VrefA[2:0] NAME ADC input X Driver Y Driver
(Single Ended) (Single Ended)
X Position
X+
X101
Y+
ON
OFF
(X+ input)
(VREF)
(GND)
Y Position
Y+
Y001
X+
OFF
ON
(Y+ input)
(VREF)
(GND)
Pen Interrupt
The PENIRQL pin is implemented to detect a touch. By connecting a 10k~100k ohms pulled up resistor
to VDD. The PENIRQL pin output will remain high normally, if PENIRQL has been enabled; when the
touch screen connected to the HFT012 is touched via a pen or finger, the PENIRQL pin output will go
low, initiating an interrupt to a microprocessor which may then instruct a control word to be written to the
HFT012 to initiate a conversion.
This output can also be enabled between conversions during power-down (PD[1:0]=”00”) allowing
power-up to be initiated only when the screen is touched. The result of the first touch screen coordinate
conversion after power-up will be valid assuming any external reference is settled to the 12- or 8-bit level
as required.
August 18, 2003
10
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HFT012
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
7. Absolute Maximum Rating
Item
Symbol
Rating
Condition
Supply Voltage
VDD
-0.5V ~ 6.0V
Input Voltage
VIN
-0.5V ~ VDD+0.5V
Output Voltage
VO
-0.5V ~ VDD+0.5V
Operating Temperature
TOP
0°C ~ 70°C
Storage Temperature
TST
-50°C ~ 100°C
8. Recommended Operating Conditions
Item
Supply Voltage
Symbol
Rating
Condition
VDD
2.4V ~ 5.5V
VIH
0.9 VDD ~ VDD
Input Voltage
0.0V ~ 0.1VDD
VIL
Operating Temperature
TOP
0°C ~ 70°C
Storage Temperature
TST
-50°C ~ 100°C
9. AC/DC Characteristics
Testing Condition: TEMP=25℃, VDD =3V±10%
Parameters
Operation Voltage
Operation Current
Standby current
Throughput Rate
Input Voltage Ranges
Reference Input Range
Resolutions
No Missing Codes
INL
DNL
Offset Errors
Gain Errors
X+/Y+ Resistance
X-/Y- Resistance
Logical High Output Voltage
Logical Low Output Voltage
PENIRQL Low Output Voltage
Operation Temperature
August 18, 2003
Symbol
Min.
VDD
IOP
ISTB
2.4
Typ.
125
0
1.0
12
TBD
TBD
TBD
TBD
TBD
TBD
TBD
0.8VDD
0
11
Unit
Condition
5.5
220
VOH
VOL
VOL
Max.
V
µA
1
µA
kSPS
VREF
V
VDD
V
Bits
Bits
LSB
LSB
LSB
LSB
Ω
Ω
V
0.8
V
0.8
V
℃
70
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HFT012
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
10. Application Circuit
+
VDD
10uF
-
0.1uF
U2
1
VDD
2
X+
3
CSL
Y+
4
DIN
X-
5
TOUCH SCREEN
DCLK
BUSY
Y-
6
DOUT
GND PENIRQL
7
8
NC
VDD
NC
VREF
16
DCLK
15
#CS
14
DIN
13
BUSY
12
DOUT
11
10
#PENIRQ
VDD
R5
10K ~ 100K
9
HFT012
0.1uF
Differential Mode Application
+
VDD
0.1uF
-
10uF
U2
1
2
X+ channel
3
4
5
6
7
8
VDD
DCLK
X+
CSL
Y+
XY-
DIN
BUSY
DOUT
GND PENIRQL
NC
VDD
NC
VREF
16
DCLK
15
#CS
14
DIN
13
BUSY
12
DOUT
11
10
#PENIRQ
VDD
9
R5
10K ~ 100K
HFT012
0.1uF
Single-ended Mode Application
August 18, 2003
12
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HFT012
11. Updated History
Version
V0.9
V1.0
Date
Update History
6/18/03 Preliminary version
8/18/03 Add the detailed timing diagram.
August 18, 2003
13
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.