ra8806 RAIO Technology Inc., ra8806 Datasheet - Page 45

no-image

ra8806

Manufacturer Part Number
ra8806
Description
Two Layers Character/graphic Lcd Controller
Manufacturer
RAIO Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ra8806L2N-S
Manufacturer:
ST
Quantity:
2 100
Part Number:
ra8806L2N-S
Manufacturer:
RAIO
Quantity:
20 000
Part Number:
ra8806P1N-S
Manufacturer:
RAIO
Quantity:
4 000
Preliminary Version 1.2
RAiO
TECHNOLOGY INC.
6-4-2 Manual Mode
6-4-2-1 External Interrupt Mode
TPCR1
TPCR2
The “ Manual Mode” means that the operation process from “Touch event checking function” to
“input Latch X data Y data”, the whole operation and setting process ( includes TPCR2[1:0]) and
receiving data from XY coordinates are manual operated by programmer. The advantage of using
Manual Mode is it allows programmer more flexible applications. In the condition that is over the
range of RA8806 register setting, the user can still use the software method to control the TP
function in a correct way.
Touch Event can be detected from “Interrupt Mode” or “Polling Mode” that depend on the system
configuration. The difference between the “Interrupt Mode” and “Polling Mode” are explained as
following.
Under the “Interrupt Mode” the touch event detecting way is almost the same as “ Auto Mode”. The
major processes are list as follows:
The registers for Interrupt Mode are explained as below:
TPXR
TPYR
TPZR
INTR
Reg.
1. Enable Touch Panel function.
2. Change mode to “Manual mode”.
3. Set the switch to 「Wait for touch event 」, Set TPCR2[1:0] to 01b.
4. When interrupt asserts, check if TP interrupt.
5. If yes, change the switch to 「Latch X data」, Set TPCR2[1:0] to 10b, wait for enough time
6. Change the switch to「Latch Y data」, Set TPCR2[1:0] to 11b, wait for enough time to
7. Read X, Y data from TPXR, TPYR and TPZR, and clear the interrupt status.
to make the latch data stable and latched to TPXR and TPZR.
make the latch data stable and latched to TPYR and TPZR.
Bit_Num
Bit [1:0]
Bit [7:0]
Bit [7:0]
Bit [3:2]
Bit [1:0]
Bit 7
Bit 7
Bit 4
Bit 0
Enable Touch Panel function
TP Manual mode enable
Mode selection for TP manual mode
Touch Panel Interrupt Mask
Touch Panel Detect Status bit
Touch Panel X Data Bit[9:2](Segment)
Touch Panel Y Data Bit[9:2](Common)
Touch Panel Y Data Bit[1:0] (Common)
Touch Panel X Data Bit[1:0] (Segment)
Table 6-12
Description
45/184
Two Layers Character/Graphic LCD Controller
Reference
REG[C0h]
REG[C4h]
REG[C2h]
REG[C3h]
REG[0Fh]
REG[C1h]
www.raio.com.tw
RA8806

Related parts for ra8806