Info
This question is closed. Reopen it to edit or answer.
Controling TI board (DRV8886EVM Module)
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!