<?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>MPU6050 giving null data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112872/mpu6050-giving-null-data</link><description>I am trying to use mpu6050 with nrf52840, using bare metal programming. The program gets stuck at this loop - 
 
 while ( NRF_TWI0 -&amp;gt; EVENTS_TXDSENT == 0 ); what is the problem here? The full code I am using is - 
 
 #include &amp;lt;zephyr/kernel.h&amp;gt; 
 #include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jul 2024 16:06:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112872/mpu6050-giving-null-data" /><item><title>RE: MPU6050 giving null data</title><link>https://devzone.nordicsemi.com/thread/493693?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 16:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcd0d913-d49e-4297-b7b7-a8c4203092d2</guid><dc:creator>chut_ka_diwana</dc:creator><description>&lt;p&gt;ok sir, I&amp;#39;ll try the examples. thank you for the help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU6050 giving null data</title><link>https://devzone.nordicsemi.com/thread/493519?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 20:19:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:040046df-4e2b-46c6-80cd-176c632150c5</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Are you using NRF5 SDK? Why are you using zephyr drivers?&lt;/p&gt;
&lt;p&gt;I would recommend you to start with some example codes provided in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU6050 giving null data</title><link>https://devzone.nordicsemi.com/thread/493136?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 11:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baedc2a8-b09c-4341-b305-c5a948a2d5a8</guid><dc:creator>chut_ka_diwana</dc:creator><description>&lt;p&gt;I want to write a bare metal code. I am using VS code to write the bare metal program&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU6050 giving null data</title><link>https://devzone.nordicsemi.com/thread/492978?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 13:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:515aa2f0-c314-448c-bb22-dbded921eb6f</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are using Zephyr or doing bare-metal?&lt;/p&gt;
&lt;p&gt;We recommend using latest SDK for new projects&amp;nbsp;that is Nordic Connect SDK 2.7 as of today and is based on zephyr.&lt;/p&gt;
&lt;p&gt;You will find many samples for connecting different kind of sensors and using zephyr API.&lt;/p&gt;
&lt;p&gt;We also have lessons on using different on-SOC peripherals, e.g &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-6-serial-com-i2c/topic/exercise-1-6-2/"&gt;using I2C with sensor.&lt;/a&gt;&amp;nbsp;(taking the course from start will also be beneficial).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>