<?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>How to use MPU 6050 Driver?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16761/how-to-use-mpu-6050-driver</link><description>Hello, 
 I am trying to interface an MPU 6050 with an NRF52 with sdk vs 12.0. I noticed in the mpu6050.c file that it uses a twi_master.h file in the sdk in folder labeled as &amp;quot;deprecated&amp;quot;. Should I change the mpu6050.c file to read to the nrf_drv_twi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Oct 2016 15:03:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16761/how-to-use-mpu-6050-driver" /><item><title>RE: How to use MPU 6050 Driver?</title><link>https://devzone.nordicsemi.com/thread/64100?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2016 15:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d74afbf-fc31-47bf-95c1-be87df5d30ac</guid><dc:creator>Sri_guy</dc:creator><description>&lt;p&gt;Hi @Martin Børs-Lind , the updated code now displays the data on the pc terminal. Thank you for fixing that. However, when I try connecting it to my phone, there is no UART detected. The phone is able to detect the service, but no data is being displayed now. Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use MPU 6050 Driver?</title><link>https://devzone.nordicsemi.com/thread/64099?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2016 09:30:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a17c869-0203-4726-8531-3712a187d5ec</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi @Sri_guy. I have updated the example on github and your terminal issue should be fixed now. Of some reason the example used the wrong UART library. It should have used app_uart_fifo.c to be to enable the use of printf and print strings, but it didn&amp;#39;t.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use MPU 6050 Driver?</title><link>https://devzone.nordicsemi.com/thread/64098?ContentTypeID=1</link><pubDate>Sun, 23 Oct 2016 01:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d95cae10-b1b5-4dff-a4f7-7570017c2d6f</guid><dc:creator>Sri_guy</dc:creator><description>&lt;p&gt;Hi again, I tried changing the pin definitions like you suggested, but it did not seem to solve the issue. When I oppened a terminal on my computer I got this:&lt;/p&gt;
&lt;p&gt;[1B]0 0000[1B]0000c0[1B]0 00,00[1B]00040[1B]0,000,0[1B]0 00, 0[1B]0 000 0[1B]0 0000[1B]060000[1B]0600,00[1B]040000
[1B]00x00[1B]0000
[1B]0400 00[1B]080000[1B]0,0000[1B]0 0000[1B]0,0000[1B]0,0000[1B]0,0000[1B]00000[1B]0,000,0[1B]0 000 0[1B]0,0000[1B]0000,0[1B]0,0000&lt;/p&gt;
&lt;p&gt;It kept going on like that. I&amp;#39;m not sure what exactly it means.&lt;/p&gt;
&lt;p&gt;Also, I noticed that the timer was commented out of the code for somereason.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use MPU 6050 Driver?</title><link>https://devzone.nordicsemi.com/thread/64097?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2016 10:26:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c85fd89d-3b8e-4c9f-b7da-4410d7fbf89a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Have you remembered to edit &lt;code&gt;#define MPU_TWI_SCL_PIN 1&lt;/code&gt; and &lt;code&gt;#define MPU_TWI_SDA_PIN 2&lt;/code&gt;to reflect this? The SDA and SDA pins are for the TWI(I2C) interface and &lt;strong&gt;not&lt;/strong&gt; the UART interface. The data sent over the UART will be sent through the USB cable connected to your nRF52 to your computer. Just select the correct COM port in your terminal and you should see the data from the MPU6050.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use MPU 6050 Driver?</title><link>https://devzone.nordicsemi.com/thread/64096?ContentTypeID=1</link><pubDate>Sun, 02 Oct 2016 18:08:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0b06ebe-fc63-427d-a452-d9291773bcd6</guid><dc:creator>Sri_guy</dc:creator><description>&lt;p&gt;Hi again. I was tried using &amp;quot;nrf5-ble-mpu-simple&amp;quot; project. I successfully uploaded to the NRF52 and  I was able to connect to it using my iphone. However, there is no data coming from the UART interface and the real time terminal did not seem to display anything. I connected the SCL line to P0.03 and the SDA line to P0.04 pins on the NRF52 with a buad rate of 115200. I did not connect INT to anything on the board.&lt;/p&gt;
&lt;p&gt;Any advice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use MPU 6050 Driver?</title><link>https://devzone.nordicsemi.com/thread/64095?ContentTypeID=1</link><pubDate>Sat, 01 Oct 2016 17:51:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bceff96f-fba5-41f3-9f44-9f156549714e</guid><dc:creator>Sri_guy</dc:creator><description>&lt;p&gt;This really awesome and well written. Thanks. I was wondering though, does the code use an interrupt pin from the MPU6050? If so which pin would it be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use MPU 6050 Driver?</title><link>https://devzone.nordicsemi.com/thread/64094?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2016 08:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:229e8b37-c9f2-4497-bb0c-7ce8cb5b793f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I suggest that you use the driver in &lt;a href="https://github.com/Martinsbl/nrf5-mpu-examples"&gt;this&lt;/a&gt; GitHub repo instead of the one in the SDK. The drivers were made by a colleauge, Martin Børs-Lind(@martinbl) and have a lot of features that the SDK driver does not have.&lt;/p&gt;
&lt;p&gt;-Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>