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 visualizaciones (últimos 30 días)

Respuestas (3)

Takuya Otani
Takuya Otani el 5 de Sept. de 2016
Editada: Takuya Otani el 5 de Sept. de 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

Suguna Thanagasundram
Suguna Thanagasundram el 28 de Jun. de 2016
did anybody have the solution to this problem?

Eric Hon
Eric Hon el 30 de Jul. de 2016
I also have the same problem, help would be much appreciated?

Categorías

Más información sobre MATLAB Support Package for Raspberry Pi Hardware en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by