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.
CCS/LAUNCHXL-F28379D: SCI-UART Pin
Part Number: LAUNCHXL-F28379D
Tool/software: Code Composer Studio
I'm working on SCI communication between controller and PC. I'm working on example available in \C2000Ware_1_00_05_00_Software\driverlib\f2837xd\examples\cpu1\sci\sci_ex3_echoback
I have 2 questions to ask, please tell where I'm going wrong
1. I want to send data from SCI-B pins available on LaunchPAD. I'm using BF-810 USB to serial adapter to interface controller with PC. I have made changes in code to use SCI-B communication(GPIO18 &19). I'm using serial terminal available in code composer studio. When I run the code some weird characters are being shown in serial terminal.
But I have also tried using GPIO42 & 43 , here I'm getting expected output . But if I change pins to GPIO18 & 19 with USB to serial adapter, I'm not getting expected output.
2. How is the length of a character array is decided in the following code below
msg = "\r\n\n\nHello World!\0"; SCI_writeCharArray(SCIA_BASE, (uint16_t*)msg, 17); // How length of character is 17? msg = "\r\nYou will enter a character, and the DSP will echo it back!\n\0"; SCI_writeCharArray(SCIA_BASE, (uint16_t*)msg, 62); // How length of character is 62?
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.
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.