AKM AKD4186-A

[AKD4186-A]
AKD4186-A
Evaluation board Rev.1 for AK4186
GENERAL DESCRIPTION
AKD4186-A is the board for evaluation of the touch screen controller AK4186, which adopted the CSP
small package suitable for the cellular phone, the handheld game machine. Since AKD4186-A has a
touch-screen I/F and a digital I/O power supply input terminal, it is easily connectable with a target system
of low power/voltage drive. Furthermore, since the analog input terminal is equipped analog voltage can
also be measured.
■ Ordering guide
AKD4186-A ---
Evaluation board for AK4186
(Cable for connecting with printer port of IBM-AT compatible PC and control software
are packed with this. This control software does not operate on Windows NT.)
FUNCTION
• I2C serial I/F
• Touch-screen I/F (4-wire, 5-wire)
• Analog input terminal
• Digital I/O power supply terminal
VDD AGND
DGND
IFVDD
PORT1
AIN
Control Port
Touch Panel
AK4186ECB
I/F
OPTION
PORT2
Figure 1. AKD4186 Block Diagram
* Circuit diagram and PCB layout are attached at the end of this manual.
<KM095901>
2009/2
-1-
[AKD4186-A]
BOARD OUTLINE CHART
■ Outline Chart
VDD
AIN-P
D1
AGND
DGND
IFVDD
JP1
JP6
JP2
AIN-N
JP7
U3 PORT1
1
J1
8
7
6
5
4
3
2
1
JP3
U1
10
1 2 3
A
B AK4186
C
D
JP4
JP5
U2 PORT2
1
10
JP8
Touch Screen
Figure 2. AKD4186-A Outline Chart
■ Comment
(1) 4/5 WIRE Touch Screen
Connector for the touch screen connection. Match the pins of the screen with these connecters and connect the touch
screen.
(2) AIN-P, AIN-N
AIN-P is an analog input pin. The signal of 0V~VDD can be input.
AIN-N must be left open.
(3) VDD, AGND, DGND, IFVDD
Connect power supply with these pins.
(4) D1
LED turns on when the AK4186 is powered up.
(5) PORT1
Control port. Connect the bundled cable into this port.
(6) PORT2
This Port is for test.
(7) JP1~JP8
Jumper pins. Please refer to the following sections for explanation.
<KM095901>
2009/2
-2-
[AKD4186-A]
■ Operation sequence
(1) Set up the power supply lines.
Set up the jumper pin.
JP2
VDD
(Short)
Set up the power supply lines.
Name
VDD
Color
Red
Voltage
+1.6∼+3.6V(typ1.8V)
IFVDD
Orange
+1.2∼+3.6V(typ3.3V)
AGND
DGND
Black
Black
0V
0V
Comments
Power supply for VDD of AK4186.
Power supply for Digital logic
circuits.
Analog GND.
Digital GND.
Table 1. Set up of power supply lines
* Each supply line should be distributed from the power supply unit.
(2) Set up the evaluation mode and jumper pins. (See the followings.)
(3) Power on.
Run the control soft of the AK4186, and click the “RESET” button.
<KM095901>
2009/2
-3-
[AKD4186-A]
■ Evaluation mode
In case of evaluating a Touch Screen function of the AK4186, it is necessary to connect the Touch Screen
with J1 terminal. Regarding pin assignment of J1, refer to Table 2, Table 3 or circuit diagram in this
manual. As for the AK4186’s register definitions, refer to datasheet of the AK4186.
Applicable Evaluation Mode
(1) 4-Wire Touch Screen position, pressure measurement and evaluation of A/D using the
analog input terminal.
(2) 5-Wire Touch Screen position measurement.
(1-1) 4-Wire Touch Screen position and pressure measurement.
4-wire resistive touch screen must be connected to J1.
The pin assignment of J1 is shown on Table 2.
No.
8
7
6
5
4
3
2
1
Name
Description
YN
4-Wire Touch Screen Y-
YP
4-Wire Touch Screen Y+
XN
4-Wire Touch Screen X-
XP
4-Wire Touch Screen X+
Table 2. J1 (8P Header) pin assign
Set up the jumper pins.
JP3
YP/BL
4-wire
5-wire
JP4
XN/WIPER
4-wire
5-wire
JP5
XP/TR
4-wire
5-wire
The “PANEL” of the AK4186’s Control Soft must be set to “4-Wire”.
The A/D converter converts the voltage measured at the point where the screen is touched.
(1-2) Evaluation of A/D using the analog input terminal.
The analog generator must be connected to AIN-P terminal.
Set up the jumper pin.
JP6
AIN-P
EXTXP
EXTYP
EXTIN
The “SCREEN” of the AK4186’s Control Soft must be set to “4-Wire”.
The A/D converter converts the voltage measured at AIN-P.
<KM095901>
2009/2
-4-
[AKD4186-A]
(2) 5-Wire Touch Screen position measurement.
5-wire resistive touch screen should be connected to J1.
The pin assignment of J1 is shown on Table 3.
No.
Name
Description
8
NC
Nothing is connected to this pin
7
NC
Nothing is connected to this pin
6
NC
Nothing is connected to this pin
5
BL
5-Wire Touch Screen Bottom-Left
4
TL
5-Wire Touch Screen Top-Left
3
WIPER
5-Wire Touch Screen WIPER
2
BR
5-Wire Touch Screen Bottom-Right
1
TR
5-Wire Touch Screen Top-Right
Table 3. J1 (8P Header) pin assign
Set up the jumper pins.
JP3
YP/BL
4-wire
5-wire
JP4
XN/WIPER
4-wire
5-wire
JP5
XP/TR
4-wire
5-wire
The “PANEL” of the AK4186’s Control Soft should be set to “5-Wire”.
The A/D converter converts the voltage measured at the point where the screen is touched.
<KM095901>
2009/2
-5-
[AKD4186-A]
■ Other jumper pins set up
Main Board
[JP1] Analog ground and Digital ground
OPEN:
Separated.
SHORT: Common. (The connector “DGND” can be open.) <Default>
[JP6] (AIN-P): Selection of AIN-P
EXTXP: AIN-P signal is input to XP/BR pin.
EXTYP: AIN-P signal is input to YP/TR pin.
EXTIN:
AIN-P signal is input to IN/WIPER pin. <Default>
[JP7] (AIN-N): Selection of AIN-N
EXTXN: AIN-N signal is input to XN/TL pin. <Default>
EXTYN: AIN-N signal is input to YN/BL pin.
[JP8] (CAD0): Selection of CAD0
OPEN:
Select CAD0 pin to “H” (CAD0 bit = “1”).
SHORT: Select CAD0 pin to “L” (CAD0 bit = “0”). <Default>
<KM095901>
2009/2
-6-
[AKD4186-A]
■ Indication for LED
[D1]: LED turns on when AK4186 power up.
■ Serial Control
The AKD4186 can be connected via the printer port (parallel port) of IBM-AT compatible PC. Connect PORT1
(Control Port) with PC by 10 wire flat cable packed with the AKD4186.
PORT1
PENIRQN
SDA(ACK)
SDA
SCL
AKD4186
Connect
PC
Control
Port
10 wire
10pin
Connector flat cable
Figure 3. Connect of 10 wire flat cable
<KM095901>
2009/2
-7-
[AKD4186-A]
■ Touch Screen Input Circuits
JP6
1
AIN-P
T45-GR
1
AIN-N
R2
EXTXP
EXTY P
EXTIN
J1
8
7
6
5
4
3
2
1
0
AIN-P
JP7
R3
EXTXN
EXTY N
0
T45-BL
AIN-N
4-w ire
YN
YN
YP
YP
XN
XN
XP
XP
5-w ire
NC
NC
NC
BL
TL
WIPER
BR
TR
IN/WPER
J1
XP/BR
Y N/BL
8
Y P/TR
7
6
5
4
3
2
1
TouchScreen
JP3
XN/TL
4-wire
5-wire
Y P/BL
JP4
4-wire
5-wire
XN/WIPER
JP5
4-wire
5-wire
XP/TR
Figure 4. Touch Screen Input Circuits
∗ AKEMD assumes no responsibility for the trouble when using the above circuit examples.
<KM095901>
2009/2
-8-
[AKD4186-A]
CONTROL SOFTWARE MANUAL
■ Set-up of evaluation board and control software
1. Set up the AKD4186 board.
2. Connect IBM-AT compatible PC with AKD4186 by 10-line type flat cable (packed with AKD4186). Take care of
the direction of 10pin header. (Please install the driver in the CD-ROM when this control software is used on
Windows 2000/XP/Vista. Please refer “Installation Manual of Control Software Driver by AKM device control
software”. In case of Windows95/98/ME, this installation is not needed. In case of Windows Vista, please open
the property of the control soft, and set the compatibility to “Windows XP”. This control software does not
operate on Windows NT.)
3. Turn on power supply for the AKD4186 board.
4. Insert the CD-ROM labeled “AK4186 Evaluation Kit” into the CD-ROM drive.
5. Access the CD-ROM drive and double-click the icon of “akd4186.exe” to set up the control program.
6. Click the “RESET” on the top-left of the control soft window to reset the AK4186.
7. Then evaluate according to the follows.
<KM095901>
2009/2
-9-
[AKD4186-A]
■ Explanation of main window
When runs the control program, the window as shown in Figure 5 opens.
Figure 5. Control Soft window
<KM095901>
2009/2
- 10 -
[AKD4186-A]
1.
Initial Setting
[Reset]:
The AK4186 is reset.
[CAD0]:
Please make it fit to the setting of CAD0 pin.
[Port Address]: The setting of Parallel Port. (Normally, this setting is not needed.)
2.
Single Mode Measurement
AK4186 measures the position of 4-wire or 5-wire touch screen and the voltage of analog input.
[PANEL]:
Select the touch screen interface. (PANEL bit)
[1st Measurement]: Select last Measurement Channel for the 1st Measurement.
[2nd Measurement]: Select last Measurement Channel for the 2nd Measurement.
[Continuous]:
Set A/D conversion times and continuously outputs ADC data.
[Repeat]:
Set measurement times of repeat.
[Single Mode Start]: Start the single measurement.
3.
Sequence Mode Measurement
AK4186 measures the position of 4-wire or 5-wire touch screen and the voltage of analog input.
[PANEL]:
Select the touch screen interface. (PANEL bit)
[SCAN Mode]: Select the sequence mode.
[ADC Count]: Set the A/D conversion count. (COUNT bit)
[Interval Time]: Set the sampling interval time. (INTERVAL 2-0 bits)
[Repeat]:
Set the measurement times of repeat.
[Sequence Mode Start]: Start the sequence measurement.
4.
Show the Measurement Result (AD OUT Section)
[MEAN]:
The average value of measurement result is shown.
[MAX]:
The maximum value of measurement result is shown.
[MIN]:
The minimum value of measurement result is shown.
[SIGMA]:
The standard deviation of measurement result is shown.
5.
Show the Measurement Result of Pen Pressure (For 4-wire Touch Screen)
In case of selecting the SCAN Mode to “X→Y→Z1→Z2” at the sequence measurement mode, the measurement
results of pen pressure are shown.
6.
Register Setup
[Add 00H]:
[Add 01H]:
[Write]:
[Read]:
Setup Command.
Status of sequence mode.
Write the register data after setting the register bits.
Read the register data.
*Please refer to the AK4186 datasheet about register command functions.
<KM095901>
2009/2
- 11 -
[AKD4186-A]
■ Explanation of Draw Function
When clicks the “DRAW MODE”, the window as shown in Figure 6 opens.
Figure 6. Draw Function Window
1.
Measurement Mode
[Averaging 6 data]: COUNT bit is set to “0” (6 times).
[Averaging 10 data]: COUNT bit is set to “1” (10 times).
[Software Algorithm]: Predict the movement before and after the measurement of the data based on Averaging (6
data), and invalidate the data out of range.
2.
Panel Sensitivity
Please adjust panel sensitivity regarding to the Touch Screen.
3.
Operation
[START]:
Start scanning of the touch screen. The track that you drew on touch screen is shown on the scren.
Please adjust screen sensitivity to get smooth tracking.
The screen will be cleared when [START] button is clicked again.
[Paint/Locate]: When drawing on a touch screen, a track is shown on the screen if Paint is active.
When drawing on a touch screen, a mouse cursor moves on the screen if Locate is active.
(shortcut key: Ctrl)
[STOP]:
Stop the draw function.
[Pen Color]:
Pen color using is shown. Select the color from a color panel on the touch screen to change the pen
color.
[Close]:
Close the Draw Function Window.
4.
Record
A painting track can be recorded. After clicking the [START] button, pen touch is detected and a recording starts.
If Pen Up is detected, the recording finishes. The recorded file is saved as a time stamp name, without overwrite.
<KM095901>
2009/2
- 12 -
[AKD4186-A]
■ Trouble Shooting
1.
Application error is occurred and doesn’t start up
If the operating system is Windows 2000/XP, Please install AKM port driver first.
2.
As click [START] button, “DEVICE SEND NAK!” is shown that can not have a measure.
(Can not write control command to AK4186.)
Please set the port address to your PC platform environment.
Check the connections of the evaluation board and ensure power up of the AK4186.
3.
The MEAN, MAX, MIN value doesn't change wherever the pen pushes down on the screen.
There is a possibility of the trouble of the contact of the relay connector that connects the touch screen. Please
open JP3, 4, and 5 on the evaluation board, measure screen seat resistance, and check the resistance. Generally,
the screen seat resistance is hundreds of Ω. There is a possibility that the touch screen is not correctly connected
if the value is over thousands of KΩ. Please connect the relay connector and check the resistance value again.
<KM095901>
2009/2
- 13 -
[AKD4186-A]
REVISION HISTORY
Date
(yy/mm/dd)
08/10/08
08/02/02
Manual
Revision
KM095900
KM095901
Board
Revision
0
1
Reason
Page
First Edition
Device Rev. changed
Contents
AK4186: Rev.A → Rev.B
IMPORTANT NOTICE
z These products and their specifications are subject to change without notice.
When you consider any use or application of these products, please make inquiries the sales office of Asahi Kasei
EMD Corporation (AKEMD) or authorized distributors as to current status of the products.
z AKEMD assumes no liability for infringement of any patent, intellectual property, or other rights in the application or
use of any information contained herein.
z Any export of these products, or devices or systems containing them, may require an export license or other official
approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange,
or strategic materials.
z AKEMD products are neither intended nor authorized for use as critical componentsNote1) in any safety, life support, or
other hazard related device or systemNote2), and AKEMD assumes no responsibility for such use, except for the use
approved with the express written consent by Representative Director of AKEMD. As used here:
Note1) A critical component is one whose failure to function or perform may reasonably be expected to result,
whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and
which must therefore meet very high standards of performance and reliability.
Note2) A hazard related device or system is one designed or intended for life support or maintenance of safety or
for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform
may reasonably be expected to result in loss of life or in significant injury or damage to person or property.
z It is the responsibility of the buyer or distributor of AKEMD products, who distributes, disposes of, or otherwise
places the product with a third party, to notify such third party in advance of the above content and conditions, and the
buyer or distributor agrees to assume any and all responsibility and liability for and hold AKEMD harmless from any
and all claims arising from the use of said product in the absence of such notification.
<KM095901>
2009/2
- 14 -
4
3
AGND
1 1
VDD
DGND
T45_BK
IFVDD
T45_BK
1
T45_RED
1
T45_OR
1
VDD
2
1
5
IFVDD
D1
JP1
LED(Red)
D
GND
D
2
C11 +
47u
C12
47u
+
R1
1K
R10 R11 R12
1.5k 1.5k 1.5k
VDD
U3
C
JP6
1
AIN-P
T45-GR
1
AIN-N
EXTXP
EXTYP
EXTIN
R2
0
EXTXN
EXTYN
0
T45-BL
JP2
VDD
CN1
CN2
1
1
1
12
6
2A1
2B1
11
2B2
10
1DIR
3
2DIR
15
1OE
14
2OE
1
CN4
C5
C4
0.001u 0.001u
TP1
IN/WIPER
13
1B2
2
AIN-N
CN3
1B1
1A2
2A2
VDD
JP7
1A1
5
7
AIN-P
R3
4
C9
TP6
CAD0
1
8
2
TP2
XP/BR
B
J1
TouchScreen
8
7
5-wire
YP/BL
JP4
4-wire
4
3
TP5
YN/BL
1
5
6
6
7
YN/BL
VSS
XN/TL
SCL
YP/TR
CAD0
XP/BR
TEST
IN/WIPER
SDA
VDD
PENIRQN
AK4186ECB
+
C2
10u
5-wire
XN/WIPER
2
D3
C3
B3
A3
A1
A2
7
C1
0.1u
1
3
5
7
9
2
4
6
8
10
IFVDD
VCCAVCCB
16
GND
9
GND
PORT2
SDAIO
SCL
C8
0.1u
74AVC4T245
2 SDAOI
4 GND
6 PENIRQN
8
10GND
1
3
5
CAD0 7
TEST 9
R16 R17 R18
47k 47k 47k
OPTION
2
3
D2
D1
B2
C2
C1
B1
PENIRQN
SDA(ACK)
SDA
SCL
Control Port
U2
2
U1
4
5
4-wire
5
3
4
TP4
XN/TL
JP3
6
2
3
TP3
YP/TR
C3
0.001u
R19 51
R20 51
0.1u
R4 51
C
PORT1
TP7
PENIRQN
3
R5 51
4
TP8
SDA
4
R6 51
5
TP9
SCL
5
IFVDD
R7 51
6
TP10
TEST
6
2
1Y
1A
1
4
2Y
2A
3
6
3Y
3A
5
8
4Y
4A
9
10
5Y
5A
11
12
6Y
6A
14
VCC
GND
R13 51
R14 51
B
R15 51
13
JP8
CAD0
7
74LVC07
C10
0.1u
7
7
C6
C7
0.001u 0.001u
JP5
R8
4-wire
7pin
7pin_1
7pin_2
5-wire
XP/TR
7pin_2
51
R9
47k
A
J1
8
7
6
5
4
3
2
1
4-wire
YN
YN
YP
YP
XN
XN
XP
XP
5-wire
NC
NC
NC
BL
TL
WIPER
BR
TR
A
- 15 -
Title
Size
A3
Date:
5
4
3
2
AKD4186-A
Document Number
Rev
0
MAIN_12CSP
Wednesday, July 30, 2008
Sheet
1
1
of
1
- 16 -
- 17 -
- 18 -
- 19 -