Tool/software: Code Composer Studio
I am trying to use the USB UART with custom streaming protocol on Gui composer to communicate with my target device (Concerto M3). I have a working set of code that uses the USB UART with serial monitor, so in essence the target and Gui composer is working. But I cannot get the custom streaming to work. I have downloaded the Tutorial_SerialIO_Binary example from the gallery and changed the settings to my application. I have downloaded the ControlLEDsBinary_Generic.ino file and ported the code to my own target. When I run it there is no connection with the target device. I just says "waiting for data". See picture below.
And when I run the application:
If I check on a serial terminal I can see that my target is indeed transmitting the data over the UART, but I cannot see any data coming from the host when I monitor my target's UART buffer.
However, I also tried another example called Serial_SendDataDemo from the gallery and this one worked straight away! I can see the data on my target device when I click the "Send Value" button.
I don't know what is different in the second application that makes it to work? But I really would like to transfer whatever it is to the other Tutorial_SerialIOBinary example, because that is ultimately what I want to achieve, a full custom protocol communication.
Why does the SendDataDemo example work but not the SerialIOBinary example? Even if my target application code for the SerialIOBInary example is not working, I am not even receiving any data and the connection in the bottom left just says waiting for data. But on the other example it says hardware connected and the data is coming through. Why?
Please help, thanks
Albert

