<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>sprintf() causing huge current consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62258/sprintf-causing-huge-current-consumption</link><description>Hi, 
 Greetings! 
 I am using nRF52832 with SDK 16.0.0 and mesh sdk 4.0.0. 
 Application: light switch client with LPN features added 
 In one of application, I have to use float variables and for converting them to string, I have used sprintf(). 
 However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 06 Jun 2020 12:46:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62258/sprintf-causing-huge-current-consumption" /><item><title>RE: sprintf() causing huge current consumption</title><link>https://devzone.nordicsemi.com/thread/253636?ContentTypeID=1</link><pubDate>Sat, 06 Jun 2020 12:46:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e496098-965a-4db6-b760-8d2f48562b37</guid><dc:creator>Dinesh</dc:creator><description>&lt;p&gt;Hi Turbo J,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I helped to me solve problem.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dinesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sprintf() causing huge current consumption</title><link>https://devzone.nordicsemi.com/thread/253631?ContentTypeID=1</link><pubDate>Sat, 06 Jun 2020 11:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3b6c0f2-4aff-4cce-a06f-0c6b707aa35c</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Possible cause: FPU exception flag set, which keeps the MCU core from entering sleep state.&lt;/p&gt;
&lt;p&gt;If you use nrf_pwr_mgmt then check that NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED is set to &amp;quot;1&amp;quot; in sdk_config.h&lt;/p&gt;
&lt;p&gt;Otherwise you might want to clear FPU exception flags yourself just before sleeping.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>