I need to push the following sequence into serial port (COM) '7E A0 07 03 21 93 0F 01 7E' which in turn has to be sent to another device through imxrt1064. Please let me know how to proceed.
Currently I'm uploading the code through the debugger probe and trying to push the sequence through usb host. I tried the usb_cdc example from the sdk which gives a text on serial monitor using usb_echo command. how do I push the sequence in a similar way?
Hi @Nandha,
You can use the same "usb_echo()" routine to push your desired sequence, just like it is used at the beginning of the demo when calling:
usb_echo("USB device CDC virtual com demo\r\n");
Except instead of pushing that specific string, you would push your desired sequence.
Please try doing this and let me know if it works.
BR,
Edwin.