English
Language : 

P0103 Datasheet, PDF (21/50 Pages) AEL Crystals Ltd – Introduction of the VEEK-MT
Table 3-5 contains the pin names and descriptions of the ambient light sensor module.
Signal Name
FPGA Pin No.
Description
I/O Standard
LSENSOR_ADDR_SEL J25
Chip select
2.5V
LSENSOR_INT
L28
Interrupt output
2.5V
LSENSOR_SCL
J26
Serial Communications Clock 2.5V
LSENSOR_SDA
L27
Serial Data
2.5V
3.7 Using Terasic Multi-touch IP
Terasic Multi-touch IP is provided for developers to retrieve user inputs, including multi-touch
gestures and single-touch. The file name of this IP is i2c_touch_config and it is encrypted. To
compile projects with the IP, users need to install the IP license first. For license installation, please
refer to section 1.2 Setup License for Terasic Multi-touch IP in this document. The license file is
located at:
VEEK-MT System CD\License\license_multi_touch.dat
The IP decodes I2C information and outputs coordinate and gesture information. The IP interface is
shown below:
The signal purpose of the IP is described in Table 3-6. The IP requires a 50 MHz signal as a
reference clock to the iCLK pin and system reset signal to iRSTN. iTRIG, I2C_SCLK, and
IC2_SDAT pins should be connected of the TOUCH_INT_n, TOUCH_I2C_SCL, and
TOUCH_I2C_SDA signals in the 2x20 GPIO header respectively. When oREADY rises, it means
there is touch activity, and associated information is given in the oREG_X1, oREG_Y1, oREG_X2,
oREG_Y2, oREG_TOUCH_COUNT, and oREG_GESTURE pins.
For the control application, when touch activity occurs, it should check whether the value of
oREG_GESTURE matched a pre-defined gesture ID defined in Table 3-7. If it is not a gesture, it
means a single-touch has occurred and the relative X/Y coordinates can be derived from oREG_X1
and oREG_Y1.
VEEK-MT User Manual
18
www.terasic.com
May 20, 2014