Forum Discussion
Altera_Forum
Honored Contributor
13 years agoDE0-nano's adxl345 accelerometer via SPI-3 wire
Hello, Recently I started a project in wich I have to get the datas from the 3 axis of the accelerometer ADXL345 of the DE0-nano board. I only have some skills in VHDL but i can understand ve...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Well I'm sorry, but I'm not so familiar with Verilog, only VHDL. If you want to work with that, I can maybe help. What do you mean you don't have any idea how to proceed? Can you change the demo code to read Y instead of X axis? Or Z axis? You have to be able to at least do that, or else you are in way over your head and you need to step back and either bone up on Verilog or figure out how to read a datasheet. You ought to be able to describe, in words, what registers you need to set and which ones to read in order to poll multiple axis. Yes? If you can post your pseudo-code then we can maybe work on translating that to Verilog or VHDL. --- Quote End --- Yes I can change the demo code to read other axes. But to combine the two axes..I cant