|
AKD4184-A Datasheet, PDF (11/24 Pages) Asahi Kasei Microsystems – Analog I/F IC which includes 4-wire resistive Touch Screen Controller | |||
|
◁ |
ASAHI KASEI
[AKD4184-A]
1. Touch-position and touch-pressure measurement
ɾ[TP START]:
When select âTouch Screen Functionâ and click [TP START] button with pressing
point by the status or finger. The number of measurement is set by âAD
Cycle/meaâ box, and then display measurement results at âAD OUT Sectionâ.
Display all data on an assistant window. The parameter on the âTouch Screen
functionâ corresponds to A1-0 bits and PD bit of the AK4184âs register (Touch
Screen Command).
<Example ʵ Touch-position measurement>
a. Select âDFR X-axisâ from drop-down list of â1st Measurementâ. Check the box of â1st PDâ.
b. Select âDFR Y-axisâ from drop-down list of â2nd Measurementâ. Check the box of â2nd PDâ.
c. Select â16â from drop-down list of âAD Cycle/meaâ.
d. Click [TP START] button with touching any position on Touch Screen, then start the measurement.
e. Display MEAN, MAX, MIN and SIGMA from 16 times of measurement results âAD OUT Sectionâ.
(Left: X-axis measurement results, Right: Y-axis measurement results) The results are displayed in
decimal, and maximum value is â4095â. Display data on sub window. Line up X-axis data at first, next
is Y-axis.
2. Keypad scan
ɾ[Write KEY Control]:
ɾ[Read KEY Control]:
ɾ[Key Scan]:
ɾ[Write Column mask]:
ɾ[Write Key mask]:
ɾ[Read KPDATA1]:
ɾ[Read KPDATA2]:
Select drop-down list of âKEYSTS1..0â, âDebounce Timeâ and âKeypad Hold
Timeâ, then click [Write KEY Control] button. âKEYSTS1..0â, âDebounce Timeâ
and âKeypad Hold Timeâ corresponds to KST1-0 bits, DBN2-0 bits and HLD2-0
bits of the AK4184âs register (Keypad Control Register).
Read current âKeypad Control Registerâ setting, then display it in âPageâ, âAddrâ
and âDataâ.
When select â11â from drop-down list of âKEYSTS1..0â and click [Key Scan]
button, initiate Keypad scan by Host instruction.
Check the box of âC1â â âC6â, mask the column which checked.
Check the box of âKM1â â âKM30â, mask the key which checked.
Read âKeypad Data Register 1â (Addr 00h), then display it in âDataâ and virtual
keys. (Donât display keys masked in âWrite Column maskâ.)
Read âKeypad Data Register 2â (Addr 01h), then display it in âDataâ and virtual
keys. (Donât display keys masked in âWrite Column maskâ and âWrite Key
maskâ.)
<Example ʵ Host Scan>
a. Select â11: Manual Key Scan initiate by Host Scan commandâ from drop-down list of âKEYSTS1..0â.
b. Select â000: 1msecâ from drop-down list of âDebounce Timeâ.
c. Select â000: 100usâ from drop-down list of âKeypad Hold Timeâ. Click [Write KEY Control] button.
d. Click [Key Scan] button while pushing any key of SW1 â SW30 on AKD4184.
e. When click âRead KPDATA1â or âRead KPDATA2â button, display the key status on the screen.
<Example ʵ Key Touch Scan>
a. Select â10: Auto Key Scan initiate by Key Touchâ from drop-down list of âKEYSTS1..0â.
b. Select â000: 1msecâ from drop-down list of âDebounce Timeâ.
c. Select â000: 100usâ from drop-down list of âKeypad Hold Timeâ. Click [Write KEY Control] button.
d. Push any key of SW1 â SW30 on AKD4184.
e. When click âRead KPDATA1â or âRead KPDATA2â button, display the key status on the screen.
* If you check the box, data becomes âHâ or â1â. If not, âLâ or â0â.
<KM085900>
- 11 -
2007/04
|
▷ |