Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Controling TI board (DRV8886EVM Module)
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I am trying to sent USB commands to microcontroller board. The board is connected to serial port. I used WireShark to find the sent commands from the computer to the board. It was found that the commands look like this: 82 then 000011b8 then 0100. And this is only for one real command, for example only to turn the board on.
I used fprintf and fwrite, but the board is not responding.
This example on how I did it after making the serial connection:
fwrite(obj1, '82');
fwrite(obj1, '000011b8');
fwrite(obj1, '0100');
fwrite(obj1, '82');
fwrite(obj1, '000011bc');
fwrite(obj1, '0100');
fwrite(obj1, '82');
fwrite(obj1, '000011a0');
fwrite(obj1, '6400');
fwrite(obj1, '82');
fwrite(obj1, '000011cc');
fwrite(obj1, '0100');
0 Commenti
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!