wm9712l Wolfson Microelectronics plc, wm9712l Datasheet - Page 43

no-image

wm9712l

Manufacturer Part Number
wm9712l
Description
Ac?97 Audio And Touchpanel Codec
Manufacturer
Wolfson Microelectronics plc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm9712lEFL
Manufacturer:
WOLF
Quantity:
4 290
Part Number:
wm9712lEFL/RV
Manufacturer:
WM
Quantity:
20 000
Part Number:
wm9712lGEFL
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm9712lGEFL/RV
Manufacturer:
WM
Quantity:
20 000
Part Number:
wm9712lGEFL/V
Manufacturer:
VISHAY
Quantity:
1 000
Production Data
w
INITIATION OF MEASUREMENTS
The WM9712L touchpanel interface supports both polling routines and DMA (direct memory access)
to control the flow of data from the touchpanel ADC to the host CPU.
In a polling routine, the CPU starts each measurement individually by writing to the POLL bit (register
76h, bit 15). This bit automatically resets itself when the measurement is completed.
Table 27 Touchpanel Digitiser Control (Initiation of Measurements)
In continuous mode (CTC = 1), the WM9712L autonomously initiates measurements at the rate set
by CR, and supplies the measured data to the CPU on one of the unused AC’97 time slots. DMA-
enabled CPUs can write the data directly into a FIFO without any intervention by the CPU core. This
reduces CPU loading and speeds up the execution of user programs in handheld systems.
Note that the measurement frequency in continuous mode is also affected by the DEL bits (see
“Touchpanel Settling Time”). The faster rates achieved when DEL = 1111 may be useful when the
ADC is used for auxiliary measurements.
MEASUREMENT TYPES
The ADCSEL control bits determine which type of measurement is performed (see below).
Table 28 Touchpanel Digitiser Control (Measurement Types)
76h
78h
76h
REGISTER
REGISTER
ADDRESS
ADDRESS
10
15
9:8
11
14:12
11
BIT
BIT
ADCSEL
COO
LABEL
CTC
POLL
CR
PDEN
LABEL
DEFAULT
0
0
00
0
000
0
DEFAULT
Measurement Type (ADC Input Selector)
000: No measurement
001: X co-ordinate measurement
010: Y co-ordinate measurement
011: Pressure measurement
100: COMP1/AUX1 measurement (pin 29)
101: COMP2/AUX2 measurement (pin 30)
110: BMON/AUX3 measurement (pin 31)
111: WIPER/AUX4 measurement (pin 12)
Enable co-ordinate mode
0: Single measurement according to ADCSEL
1: X, then Y, then additional measurement
indicated by ADCSEL
0: Polling mode
1: Continuous mode (for DMA)
Writing “1” initiates a measurement
Continuous mode rate (DEL ≠ 1111)
00: 93.75 Hz (every 512 AC-Link frames)
01: 187.5 Hz (every 256 AC-Link frames)
10: 375Hz (every 128 AC-Link frames)
11: 750Hz (every 64 AC-Link frames)
Continuous mode rate (DEL = 1111)
00: 8 kHz (every six AC-Link frames)
01: 12 kHz (every four AC-Link frames)
10: 24 kHz (every other AC-Link frame)
11: 48 kHz (every AC-Link frame)
0: measure regardless of pen status
1: measure only when pen is down (when
CTC=0 and POLL=1, measurement is
delayed until pen-down; when CTC=1,
measurements are stopped on pen-up)
DESCRIPTION
DESCRIPTION
PD Rev 4.5 August 2006
WM9712L
43

Related parts for wm9712l