Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Controling TI board (DRV8886EVM Module)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!