Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

DE10-Lite accelerometer with NIOS using University Program IP

$
0
0
I have a number of students who would like to use the DE10-lite accelerometer for their class projects. We cannot seem to get this working within the NIOS system using the University Program "Accelerometer SPI Mode" (3 wire spi) block. When opening the accelerometer device in Eclipse it provides a non-NULL pointer, implying the device is getting opened. All reads return a value of 0. No way to know if writes are working. No errors indicated anywhere in the creation or execution process.

Has anyone gotten this to work?

Qsys, top level block, and simplified code attached

Thanks in advance

tj - Assoc Prof of ECE - currently letting his students down!

Attached Images
Attached Files

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>