Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 217522

Forum Post: TMS320F2800137: How to use sprintf in F2800137 with limited stack?

$
0
0
Part Number: TMS320F2800137 Tool/software: Hi experts, i'm using sprintf function for uart debug function. And i find when it run a long time, maybe 1 hour and the system will be abnormal. The stack size is 0x380. The uart communication frequency is 5Hz and total 17 sprintf functions are used in one time comunication. I find a document say that sprintf will need large stack of C2000. Is it correct? How can we use sprintf with limited stack? Or do you have other advice to convert float data into chars to send our to Uart GUI? Thanks! Best Regards, Jim

Viewing all articles
Browse latest Browse all 217522

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>