Since some time I playing with Intel Aero compute board so that I can put it on old Asctec(now intel) helicopters we have. In that process I was trying to access imu data from the board just in case I need that eventually. I am however now able to get started. if I do ls -l /dev*, I cant see spidev. I saw a commands sudo chgrp spi /spidev* in one of the questions asked here but if I run this command I get "cant access /spidev*:no such file or directly". Do i need to enable communication with spi devices? I see some people talk of modifying something in kernel or /boot/config in raspberry pi but those solutions wont work here.
I have installed ubuntu 16.04 following instructions in your website but have gone any further since I wont be using Aero UAV.
Thank you for your interest in the Intel Aero Compute Board.
In order to access the IMU data from the board, please use the below command:
root@intel-aero~# spi_xfer -b 3 -c 0 -d 0x80 -w 2Where :
* -b is for spi bus * -c is for chip select * -d is the data value * -w is for number of wordsYou can find more details about the IMU included in the Intel Aero Compute Board here, under the Command to access the IMU Sensor on the Aero Compute Board section:
Please let me know if I can help you with anything else.
when I run this command I get error "spi_xfer: command not found". Note that I have installed ubuntu 16.04 and not using yokto that comes with the board. The kernel (from uname -r) is "4.13.0-45-generic".
Could you please confirm that you are running this command with administrative privileges?
I run the same command and didn't encounter this issue. Can you please also provide me a print screen of the Terminal?
Thank you in advance,
I found this link https://github.com/intel-aero/meta-intel-aero/issues/356 dev/spidev* not found · Issue # 356 · intel-aero/meta-intel-aero · GitHub and installed aero-spi-xfer (using this link https://github.com/intel-aero/packages GitHub - intel-aero/packages , atleast I think so) but still the same thing. Please see the screen shot of the installation I get. I still cant see it in dpkg so can you tell if this is the right way and this is the cause of the problem I had. I cant run a "make-aero-packages" because the ardupilot package gives error and I dont need that anyway.
Doesnt it help to figure out the Issue?
Thank you for your patience!
Could you please confirm that the Aero repositories are booted into the correct kernel. I know you mentioned that you will not be using the Aero UAV, but you still need to setup the repositories and boot into Aero with the correct kernel:
https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation# intel-aero-repository https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation# intel-aero-repository
You can check the kernel as described in this section:
https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation# checks https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation# checks
Also, you can find online a code in python code to read the on-board sensors, that is something that you can try.
/message/529356# 529356 https://communities.intel.com/message/529356# 529356
Please let me know if it works!