how i can change the speed of spi from matlab?

조회 수: 1 (최근 30일)
aos abs
aos abs 2018년 11월 13일
편집: aos abs 2018년 11월 14일
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