how i can change the speed of spi from matlab?

1 次查看(过去 30 天)
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."

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by