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.

LAUNCHXL-F28379D: float data send using the sprintf function.

Part Number: LAUNCHXL-F28379D

I am facing the issue to send the float data with serial communication (SCI). However, the program halts or hang when using the float data send.

float a =12.965665;
sprintf(Reply_String, "%f\n", a);
SCI_writeCharArray(SCIB_BASE, (uint16_t*)Reply_String, 64);

please suggest the solution to overcome this situation.

Regards 

Rohit Kumar Jain

SMPL