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.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens

1 commentaire
Walter Roberson
le 28 Juin 2016
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
Réponses (3)
Takuya Otani
le 5 Sep 2016
Modifié(e) : Takuya Otani
le 5 Sep 2016
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 commentaires
Eric Hon
le 30 Juil 2016
I also have the same problem, help would be much appreciated?
0 commentaires
Voir également
Catégories
En savoir plus sur MATLAB Support Package for Raspberry Pi Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!