Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
Hi TI Team,
I am working with a C2000 device ([TMS320F28379D]) and using the SCI (UART) peripheral for serial communication.
Initially, I verified that SCI transmission is working correctly by sending normal strings. I was also able to convert integer values to strings and transmit them successfully.
After that, I tried to transmit floating-point values by first converting them into strings using sprintf and then sending them over SCI.
However, when I did this, I started observing abnormal system behavior. To isolate the issue, I then tried a simpler test by just printing the float using printf:

But even this did not work correctly. The output is empty, whereas the same is working fine for integer values.
From this, it seems:
- SCI (UART) itself is working fine (verified with strings and integers)
- The issue starts specifically when handling float values
- Even basic float printing using printf is not working
- Additionally, using sprintf with "%f" seems to affect system behavior
I also checked in Code Composer Studio for any option to enable float support (such as printf-related settings), but I could not find any such option.
Could you please help with:
- Whether float support is available in C2000?
- Why using sprintf with "%f" could lead to abnormal system behavior?
- How to correctly enable or handle float-to-string conversion in this case?
- Recommended method to safely transmit float values over SCI?
Thanks in advance for your support.
