Please someone tell me what this means. I can not get the SPI channels enabled on my Raspberry Pi 2 model B. I am attaching the error message below.
2 ビュー (過去 30 日間)
古いコメントを表示
1 件のコメント
Walter Roberson
2016 年 6 月 28 日
MATLAB is looking on the Raspberry for a device of type spi_bcm2708 but cannot find one.
It appears there are some steps you need to take to enable the device. See https://www.raspberrypi.org/forums/viewtopic.php?f=100&t=103620
回答 (3 件)
Takuya Otani
2016 年 9 月 5 日
編集済み: Takuya Otani
2016 年 9 月 5 日
This is caused by the latest release of Linux image, not enabling SPI by default. To change the settings, follow below procedure.
In MATLAB, type following command. (Assuming Raspberry Pi is configured to run with MATLAB with necessary support packages installed)
>> mypi = raspi;
>> openShell(mypi)
You should now see terminal opened and logged into Linux console
Type following command to open up Raspberry Pi configuration window
$ sudo raspi-config
Goto "Advanced Options", and choose "SPI (Enable/Disable automatic loading) enable the settings, and exit the configuration window.
Reboot raspberry pi, and you should be set to go now, when it is rebooted.
Takuya
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Support Package for Raspberry Pi Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!