How to use SPI1 on Raspberry Pi with support package?
3 views (last 30 days)
Show older comments
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 Comment
LUIS GARCIA
on 23 Jun 2021
I have the same problem with Simulink. I need to use both SPI channels and SPI blocks only allow to select SPI0
Answers (1)
See Also
Categories
Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!