FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5892 Discussions

Could Accelerometer on DE0 NANO can communicate in I2C

Altera_Forum
Honored Contributor II
1,486 Views

HI,I have a de0 nano,and i description the I2C in VHDL by myself.as http://wenku.baidu.com/view/4a4240eeb8f67c1cfad6b8b5.html it`s OK work on AT24C02 

.Now I like have a try on Accelerometer,but I want`t to communication with SPI,because I haven`t description SPI before,if the program is wrong i can`t sure is the SPI work abnormaly or set the Accelerometer in wrong. 

SO could you tell me,can I communication with the Accelerometer in I2C,on DE0 NANO? THANKS A LOT!:-P
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
587 Views

 

--- Quote Start ---  

 

SO could you tell me,can I communication with the Accelerometer in I2C,on DE0 NANO? 

--- Quote End ---  

 

 

Why not look at the schematic? It quite clearly routes I2C to the accelerometer. 

 

The accelerometer data sheet indicates that I2C mode is slow (relative to SPI mode), so you'll have to use the accelerometer in one of its slower update/sampling modes. 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
587 Views

THANK YOU!I have get it.

0 Kudos
Reply