<?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>API to reboot nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82896/api-to-reboot-nrf52840</link><description>i was working on nRF52840 and nRF9160 with NCS v1.8.0. 
 i&amp;#39;d like to find an API to reboot system. so i tried to call NVIC_SystemReset(). it works in my nRF9160 project. 
 however, when i call it in my nRF52840 project it reports errors during building</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Dec 2021 12:35:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82896/api-to-reboot-nrf52840" /><item><title>RE: API to reboot nRF52840</title><link>https://devzone.nordicsemi.com/thread/344353?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 12:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:808de0d4-fe13-426e-88c8-35a4d9ef4263</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Peter,&amp;nbsp;&lt;br /&gt;Have you tried to :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Add&amp;nbsp;&lt;span&gt;CONFIG_REBOOT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Add&amp;nbsp;&lt;/span&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;power/reboot.h&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- And call&amp;nbsp;&lt;/span&gt;&lt;span&gt;sys_reboot&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;); to reset the chip ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>