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/TMS320F28377D: Sprintf takes for good to convert and is very slow

Part Number: TMS320F28377D

Tool/software: Code Composer Studio

I am driving a circuit with TMS320F28377 under the frequency of 200MHz. I control my circuit with the interrupt frequency of 20K Hz , every 50 u sec. It means that I have 10,000 cycling time to do every thing. I am trying to transmit my data through SCI at each control time. However, it seems that sprintf() takes a lot of time to make my data ready to be transmitted. Is there any way I can use some thing faster?   I need to send 5 float data each time. 

My code is :

sprintf(msg, "%4.1f ,%4.1f ,%.5f ,%.3f ,%6f , \n \r", P_f, Q_f,Delta, V_abs,t_count);
scia_msg(msg);