<?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>Using I2C with two devices on App Timer gets Hardfault</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21190/using-i2c-with-two-devices-on-app-timer-gets-hardfault</link><description>Hello, 
 I have two devices sharing an I2C bus. These devices are the MAX86150 and the MLX90614. DMA is being used. I2C is running at 100 KHz. 
 After initializing both devices, the application timer is configured to interrupt every 10 ms. A process</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Apr 2017 14:12:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21190/using-i2c-with-two-devices-on-app-timer-gets-hardfault" /><item><title>RE: Using I2C with two devices on App Timer gets Hardfault</title><link>https://devzone.nordicsemi.com/thread/82923?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2017 14:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7fe009-c9de-46ad-814f-fe6e3f7b043b</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;If you put a break point in the hardfault_handler in the arm_startup_xxx.s file you should be able to see the call stack when it hits the hardfault handler, and which instruction that caused this. And also compile with the -O0 optimization flag.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using I2C with two devices on App Timer gets Hardfault</title><link>https://devzone.nordicsemi.com/thread/82922?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 07:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f0a6b76-c588-45d1-8684-27eafb0b7d9c</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;You can check registers and one of them can tell you the address where it happened &lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Babcefea.html"&gt;link text&lt;/a&gt;. May be &lt;a href="http://www.keil.com/appnotes/files/apnt209.pdf"&gt;this document&lt;/a&gt; help you as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using I2C with two devices on App Timer gets Hardfault</title><link>https://devzone.nordicsemi.com/thread/82921?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 17:21:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5123ee45-b284-44f0-8db2-495990c239d0</guid><dc:creator>Noah</dc:creator><description>&lt;p&gt;Also, this doesn&amp;#39;t always hardfault.  Sometimes the code jumps to address 0x0001AFF4.  Any thoughts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>