I am working with the TM4C123GH6PM and trying to store and recall incoming characters sent over UART. My UART is working perfectly and as I debug I can see each character being stored into memory. However, as I attempt to recall my stored data from the cstring it only gives me the first 8 characters and shows the rest as garbage even though I can see them in memory using the "veiw memory" feature in CCSv6. I am getting this same problem when I make my cstring dynamic or non-dynamic. How do I access all of what is being sent in and stored?
Here are the relevant parts of my code. Note that this is all within my UART3 Handler and I am sending the following string out of UART3.
char str3[] = "dtest11-2222222-";
Hear is what I observe in CCSv6 in debug mode as I step through the loop that stores the characters to strDATA:
My logic analyzer shows the following results. Notice that I am sending the message through UART3 and Receiving it via UART1.