14
Table 3-4 contains the pin names and descriptions of the G sensor module.
Signal Name
FPGA Pin No.
Description
I/O Standard
GSENSOR_INT1
E3
Interrupt 1 output
2.5V
GSENSOR_INT2
E2
Interrupt 2 output
2.5V
GSENSOR_CS_n
D4
Chip Select
2.5V
GSENSOR_ALT_ADDR
E1
I2C Address Select
2.5V
GSENSOR_SDA_SDI_SDIO D1
Serial Data
2.5V
GSENSOR_SCL_SCLK
D2
Serial Communications Clock 2.5V
3
3
.
.
5
5
U
U
s
s
i
i
n
n
g
g
t
t
h
h
e
e
A
A
m
m
b
b
i
i
e
e
n
n
t
t
L
L
i
i
g
g
h
h
t
t
S
S
e
e
n
n
s
s
o
o
r
r
The APDS-9300 is a low-voltage digital ambient light sensor that converts light intensity to digital
signal output capable of direct I2C communication. Each device consists of one broadband
photodiode (visible plus infrared) and one infrared photodiode. Two integrating ADCs convert the
photodiode currents to a digital output that represents the irradiance measured on each channel. This
digital output can be input to a microprocessor where luminance (ambient light level) in lux is
derived using an empirical formula to approximate the human-eye response. For more detailed
information of better using this chip, please refer to its datasheet which is available on
manufacturer’s website or under the /datasheet folder of the system CD.
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
A6
Chip select
2.5V
LSENSOR_INT
B7
Interrupt output
2.5V
LSENSOR_SCL
A5
Serial Communications Clock 2.5V
LSENSOR_SDA
C7
Serial Data
2.5V
3
3
.
.
6
6
U
U
s
s
i
i
n
n
g
g
T
T
e
e
r
r
a
a
s
s
i
i
c
c
M
M
u
u
l
l
t
t
i
i
-
-
t
t
o
o
u
u
c
c
h
h
I
I
P
P
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-C5SOC System CD\License\license_multi_touch.dat
The IP decodes I2C information and outputs coordinate and gesture information. The IP interface is
shown below: