ra8806 RAIO Technology Inc., ra8806 Datasheet - Page 48

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-2 Polling Mode
Under the ”Polling Mode”, users need to decide and set the de-bounce time after the touch event, as
well as the sampling time after latch by considering the real situation, thus more flexibilities for users
apply this mode.
The development procedures are explained as follows:
The settings for manual interrupt mode are described in the following table:
Programmer can check the status of Touch Panel Event from the Bit-3 or Bit-0 of INTR, the
difference between those two bits is :
It needs to be noted is that the REG[0Fh] Bit-3 is the direct output from ADC circuit, when touch
panel is touched, the bit will respond with the event. When touch event is not stable, it needs to be
de-bounced to check if it’s legal. The bit is only active at “Manual mode”. When setting RA8806 to
“Auto-mode, the touch event will be automatically checked if it’s legal or not. Only the legal touch
event will cause the interrupt.
TPCR1
TPCR2
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」, i.e., set TPCR2[1:0] to 01b.
4. Read Touch Panel Event status from status register, check if the “Touch event” happens.
5. When touch event happens, confirm the stability of it and set the switch to 「Latch X data」,
6. Set the switch to「Latch Y data」, i.e., TPCR2[1:0] set to 11b, wait for enough time to make
7. Read X, Y data from TPXR, TPYR and TPZR, and clear the interrupt status
1. The Bit-3 of INTR reflects the current Touch status. When Touch event occurs, the Bit-3 is 1.
2. The Bit-0 of INTR records the Touch status. When a Touch event occurs, the Bit-3 will be 1
i.e., TPCR2[1:0] set to 10b, wait for enough time to make the latch data stable and latched
to TPXR and TPZR
the latch data stable and latched to TPYR and TPZR
When there is no Touch event, Bit-3 will be 0 and read only.
and however it won’t be clear automatically, it has to clear by programmer.
Bit_Num
Bit [1:0]
Bit [7:0]
Bit [7:0]
Bit [3:2]
Bit [1:0]
Bit 7
Bit 7
Bit 3
Bit 0
Enable Touch Panel function
Select operation mode to Auto-mode or
Manual-mode.
The switch of ADC controller for manual mode
Touch panel event(Only activate in TP Manual
mode)
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-13
48/184
Description
Two Layers Character/Graphic LCD Controller
Reference
www.raio.com.tw
REG[C0h]
REG[C4h]
REG[C1h]
REG[C2h]
REG[C3h]
REG[0Fh]
RA8806

Related parts for ra8806