F28377D SCI BaudRate
Part Number: TMS320F28377D
Tool/software: Code Composer Studio
I am using Delfino F2837x Control Card R1.1 and Docking Station R4.1. I have installed CCS8.3.
I have a trouble in setting up the SCI communication. I could see unrecognized characters on the serial port when i transmit the data in the SCI line. I have tried with SCI A and SCI B.
I see the same issue has been discussed, but no solution has been suggested. Refer the thread below.
Check your baud rate.
1. Put a scope probe on the transmit line.
2. Find the smallest pulse.
3. Measure the width of the smallest pulse.
4. The inverse of the width is your baud rate. For example, if your smallest pulse is 10.4uS, then you have 9600 baud. ( 1 / 10.4uS = 96154)
Remember that your actual baud rate must be within 3% of the ideal baud rate. So if the transmitted signal's measured baud was actually 9900 baud, it will not work with a 9600 baud receiver.
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 quark:
There is actually a resolution on the second page of the thread you linked:
Are you trying to communicate via the virtual COM port of the FTDI chip, or directly to the serial port of a PC? If not through the FTDI you will need an RS-232 transceiver since RS-232 doesn't use CMOS logic levels.
C2000 TI Wiki PagesTI Forum Sitemap
ControlSUITEC2000 Getting Started
CLA FAQsWorkshop Material!
In reply to Devin Cottier:
Thank you for the reply.
Below set of activities i could confirm,
1. Measured baud rate on the scope and it matches with my SCI configuration.
2. Bit pattern on the scope is matching with the data that has been transmitted.
3. FTDI virtual com port does read the data that i have transmitted.
I am trying to read through the com port of my PC. I am using the RS232 serial transceiver (see link below)
On the docking station [R4.1] , i have connected pin 78(GPIO29, SCITXA) to the RS232 receiver pin. Connected the ground pin of docking station and RS232 transceiver to make sure the common ground
I could see random characters received on my PC com port.
I have experimented this with TTL to USB converter and still see random characters on the PC com port.
Did i miss any setting on the controller card to rout the SCI signal to the docking station pin (76 and 78).
Please help to resolve this issue.
Thanks & Regards,
In reply to Munaf Shaik:
The link you provided is for a RS-232 to USB adapter, but I think you will also need a RS-232 transceiver. RS-232 levels are about +/-13V, so the 0 to 3.3V coming from the MCU will not be sufficient. e.g. http://www.ti.com/product/TRS3253E
I have used TTL UART module (see link below) for SCI communication and its working. I am able to see the characters i sent on the communication port.
Thank you for all the support.
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.