<?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>Getting Data from I2C via Interrupt With MPU-6050</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117703/getting-data-from-i2c-via-interrupt-with-mpu-6050</link><description>Hi all, I am going through the beginner course and am using the MPU-6050 over I2C. I am able to communicate with the board where I get the WHO_AM_I. I can also read from the sensor&amp;#39;s accel registers. However, when trying to incorporate what I have learned</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 13 Sep 2025 23:37:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117703/getting-data-from-i2c-via-interrupt-with-mpu-6050" /><item><title>RE: Getting Data from I2C via Interrupt With MPU-6050</title><link>https://devzone.nordicsemi.com/thread/548662?ContentTypeID=1</link><pubDate>Sat, 13 Sep 2025 23:37:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dee2360a-401d-40fc-a552-16a10e4923f3</guid><dc:creator>Toastus</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp;is correct.&amp;nbsp;See the Zephyr page link below (latest api) for details on open-drain&amp;nbsp;vs. OPEN_SOURCE and high/low signals. In essence, INT_OPEN, which corresponds to the latest nRF SDK GPIO_OPEN_DRAIN will essentially ground the pin&amp;nbsp;(forcing it inactive in your setup), while open-source (GPIO_OPEN_SOURCE on nRF chips)&amp;nbsp;will allow the pin to go high or low, acting as a signal source.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/apidoc/latest/group__gpio__interface__nrf.html"&gt;docs.zephyrproject.org/.../group__gpio__interface__nrf.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting Data from I2C via Interrupt With MPU-6050</title><link>https://devzone.nordicsemi.com/thread/517027?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:404501a9-ad68-46c8-9aa4-d97af346e93f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I haven&amp;#39;t worked with this accelerometer, but I expect it won&amp;#39;t drive the signal HIGH with the open-drain configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting Data from I2C via Interrupt With MPU-6050</title><link>https://devzone.nordicsemi.com/thread/517011?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:940fe6da-9161-4af2-8439-0a88b644885f</guid><dc:creator>pieseekingmissile</dc:creator><description>&lt;p&gt;I see. I will try that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give me more detail on why&amp;nbsp;&lt;span&gt;INT_OPEN (open-drain) is not compatible with active HIGH?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting Data from I2C via Interrupt With MPU-6050</title><link>https://devzone.nordicsemi.com/thread/516986?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 13:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:706185a9-9949-495d-b14e-757e3f3e3aef</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Since the pin interrupt is triggered when the input is connected to VDD, I assume the issue&amp;nbsp;is that&amp;nbsp;the sensor not raising the interrupt signal. If possible, I recommend probing this output signal with an&amp;nbsp;scope or logic analyzer to confirm there is no signal.&lt;/p&gt;
&lt;p&gt;Also, in enable_interrupts(), it appears you are configuring the interrupt output pin as INT_OPEN (open-drain), but your interrupt input pin on the nRF is configured as active HIGH.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>