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.

TMS320F280040-Q1: Where to find the details about the C standard function calls for CCS?

Part Number: TMS320F280040-Q1


Hello,

I am using CCS12.0 and C2000 microcontrollers. It looks some C standard function call like sprintf() behave differently from C standard ones. For example, when "%f" is applied as a format, the program goes nowhere. When "%d" is applied, it has no problem.

char newMsg[MAX_UART_PRINTF_LEN] = {""};

sprintf(newMsg, "\r\nabcdefghijklmn %f.\n\0", abc);

Does any one know why it behaves like this?

Thanks!

Crane