how i can change the speed of spi from matlab?

1 view (last 30 days)
aos abs
aos abs on 13 Nov 2018
Edited: aos abs on 14 Nov 2018
i use raspberry pi 3 B+ and i want to change the speed from 500KHz to 4MHz
but i couldn't.I used "spidev" but the speed didn't change.
how i can change the speed of spi?
i used:
board = targetHardware('Raspberry Pi');
deploy(board,'Matlabfilename')
Matlab give this error "?? Nontunable property 'BusSpeed' may only be assigned once."

Answers (0)

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!