Can anyone help to read x,y and z possition of the DE0-Nano card? I found these: -- Accelerometer and EEPROM G_SENSOR_CS_N : out STD_LOGIC; G_SENSOR_INT : in STD_LOGIC; I2C_SCLK : out STD_LOGIC; I2C_SDAT : buffer STD_LOGIC
You should get the datasheet of the G-sensor. The type should be documented in the handbook of the board. On the datasheet often is described, what register have to be set and read to get the G-values. If you evaluated this, simply write a I2C communication to the chip and read the registers. There are a lot of cores on opencores.org, which you can use as example. Hope this helps.