How to use SPI1 on Raspberry Pi with support package?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
i want to use the SPI 1 device of my Raspberry Pi with the RPi-Supportpackage by using Matlab and Simulink.
I activated SPI1 on my RPi over the "/boot/config.txt" already, but when i connect my RPi to matlab with this function mypi = raspi(ipaddress,username,password) and checked the available SPI channels, two chipselects from the SPI0 are available only.
Does the RPi Supportpackage support other SPI-devices then the SPI0 and if it does, how can i make the other SPI devices (e.g. SPI1, SPI2) visible/usable.
1 Commento
LUIS GARCIA
il 23 Giu 2021
I have the same problem with Simulink. I need to use both SPI channels and SPI blocks only allow to select SPI0
Risposte (1)
Vedere anche
Categorie
Scopri di più su MATLAB Support Package for Raspberry Pi Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!