how i can change the speed of spi from matlab?

7 visualizaciones (últimos 30 días)
aos abs
aos abs el 13 de Nov. de 2018
Editada: aos abs el 14 de Nov. de 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."

Respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Raspberry Pi Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by