MAX 10 NEEK
40
www.terasic.com
February 4, 2016
3.4.21
A
A
c
c
c
c
e
e
l
l
e
e
r
r
o
o
m
m
e
e
t
t
e
e
r
r
S
S
e
e
n
n
s
s
o
o
r
r
The board comes with a digital accelerometer sensor module (ADXL345), commonly known as
G-sensor. This G-sensor is a small, thin, ultralow power assumption 3-axis accelerometer with
high-resolution measurement. Digitalized output is formatted as 16-bit in two’s complement and
can be accessed through I2C interface. The I2C address of accelerometer is 0xA6/0xA7. More
information about this chip can be found in its datasheet, which is available on manufacturer’s
website or in the directory \Datasheet folder of MAX 10 NEEK system CD.
Figure 3-33
shows the
connections between the MAX 10 FPGA and accelerometer.
Table 3-19
lists the pin assignment of
accelerometer to the MAX 10 FPGA.
Figure 3-33 shows the connections between the MAX 10 FPGA and accelerometer sensor.
Table 3-19
Pin Assignment of
Accelerometer Sensor
Signal Name
FPGA Pin No.
Description
I/O Standard
GSENSOR_SDI
PIN_C15
I2C serial data/SPI serial data
input/3-wire interface serial dta output
2.5V
GSENSOR_SDO PIN_B16
SPI
serial data output/I2C less
significant bit of the device address
2.5V
GSENSOR_CS_n
PIN_C16
SPI enable, I2C/SPI mode selection: 1:
SPI idle mode/I2C communication
enabled, 0: SPI communication
mode/I2C disabled
2.5V
GSENSOR_SCLK
PIN_A15
I2C serial clock/SPI serial port clock
2.5V
GSENSOR_INT1
PIN_B15
Interrupt pin 1
2.5V
GSENSOR_INT2
PIN_D17
Interrupt pin 2
2.5V