This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am programming a MSP430F5508 chip and using it for Timer interrupts and then finally sending the processed data in an Array of 130 bytes through the UART.
The first 128 bytes are acccurately transmitted but the two bytes after are corrupted. They can be read properly in IAR when I debug the chip through it. However the transmission is failing. Is it an overrun error? What is it? How to rectify it?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Dennis Eichmann:
In reply to Hardik Katyarmal:
Dennis Eichmann... Hi thanks for the support!
I solved this problem. It was a char, I had allotted just two bytes to store the size of the data - which after 128 overflows and gives data size = 00 or 01 or 02
However now I am facing another problem. I further increased that index. Now the UART transmission throws some 2 extra bytes of garbage data after all data I have allotted to the UART Buffer.
What can this be because of ?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.