<?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>Nrf52832 connect BMX055 with i2c,auto restart problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59217/nrf52832-connect-bmx055-with-i2c-auto-restart-problem</link><description>Hi,I used Nrf52832 connect BMX055 with i2c, I use sdk nRF52_SDK_11.0.0 example examples\ble_peripheral\ble_app_cscs and add my code to read the BMX055,but when it work a short miniutes the board will restart,when i comment the MAG init and read part </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Mar 2020 11:58:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59217/nrf52832-connect-bmx055-with-i2c-auto-restart-problem" /><item><title>RE: Nrf52832 connect BMX055 with i2c,auto restart problem</title><link>https://devzone.nordicsemi.com/thread/240415?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 11:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afe4d44d-7fbd-41f7-a895-f4f9242d8691</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]and add my code to read the BMX055,but when it work a short miniutes the board will restart[/quote]
&lt;p&gt;Likely the code is asserting, and the default&amp;nbsp;app_error_fault_handler() will execute a&amp;nbsp;NVIC_SystemReset() if not DEBUG is set. I recommend to set DEBUG. Please ensure that the preprocessor symbol &amp;#39;DEBUG&amp;#39; is defined in your project settings&amp;quot;.&amp;nbsp;In order to set this, you need to enter your Keil project settings, which is accessible from Keil uVision editor, &amp;quot;Options for target &amp;quot;.&amp;nbsp;You shall now get a pop up, and go to the tab &amp;quot;C/C++&amp;quot; and DEBUG to the Define under &lt;span&gt;preprocessor symbol text field. Once you do this you can set a breakpoint in&amp;nbsp;app_error_save_and_stop() to find the file name and line number that is causing the assert.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 connect BMX055 with i2c,auto restart problem</title><link>https://devzone.nordicsemi.com/thread/240338?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 07:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fa09791-6aa2-4b02-a449-38a49ef3b93c</guid><dc:creator>Hanswong</dc:creator><description>&lt;p&gt;When I only add read BMX055 part to&amp;nbsp;\examples\peripheral\uart,It works well&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>