<?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>nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27080/nrf51-mpu9255-twi-i2c-read-failed</link><description>Hi all: 
 I used code from Github to read 9 axis data with TWI. But the example in TWI floder doesn&amp;#39;t work. 
 Does somebody have the same issue? 
 Chip: nRF51422 
 Board: PCA10028 
 Firmware: S130_nRF51_2.0.1 
 I have checked the TWI pin define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Dec 2017 12:46:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27080/nrf51-mpu9255-twi-i2c-read-failed" /><item><title>RE: nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/thread/106462?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 12:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1147ba32-bfc4-43b9-8216-b0545014d7dd</guid><dc:creator>Nilesh</dc:creator><description>&lt;p&gt;Yes, you are right. It was hardware isuue. I tried different MPU module. Now I am getting accelerometer values. Thanks a lot!
Now I am trying nrf5-ble-mpu-simple.
I want to see Accelerometer data on mobile. I am trying to connect nRF Toolbox.
Can you please advice me where to observe data over BLE?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/thread/106461?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 11:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd4ce8a9-a7c9-40fc-93ec-173d880a0fff</guid><dc:creator>dkwill</dc:creator><description>&lt;p&gt;If you have addressed all the issues I noted above, it should generate output. If not, it is likely a hardware issue. You might try a different Mpu module if all else fails.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/thread/106460?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 06:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7836188-e8fb-4fec-ab31-3904ef5c86dc</guid><dc:creator>Nilesh</dc:creator><description>&lt;p&gt;Hi, I am using nRF52DK board (PCA10040). I changed all pins SDA,SCL pins as per boards in example. I connected MPU-92/65 to nRD52DK using 4 pins - GND, VDD, SCL, SDA.
I am using Putty to observe output.&lt;br /&gt;
I am getting only output as ----
MPU nRF52 EasyDMA&lt;/p&gt;
&lt;p&gt;Please help to get output.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/thread/106458?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2017 07:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ec4fdda-30a1-42be-9e81-084af1ac1625</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;makerTim, there must be pull-ups on the TWI lines, either internal or external. I always prefer to have external resistors so I can choose the right value for them (for the maximum possible frequency depending on the capacitance of the lines).
Decrease the frequency to 100K for the start just in case that the capacitance of the lines are large. You can do it in initializing the TWI module by nrf_drv_twi_init.
And as dkwill pointed out, AD0 pin of MPU defines its TWI address which is very important. If this address is not right there won&amp;#39;t be any response from the slave device (here MPU), which I guess causes timout. You can either change the configuration of this pin in hardware or simply modify that line of code that defines the slave device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/thread/106457?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2017 02:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f46525f-9849-4fb7-8a27-253e797139d9</guid><dc:creator>dkwill</dc:creator><description>&lt;p&gt;The AD0 defines the address - low is 0x68 which is in the example code. Mine has to be wired to GND for it to work. Just FYI - I had difficulty getting some of the 3rd party MPU boards to work and had to make my own board. Anyway, I think the answer for you is likely on the hardware side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/thread/106455?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2017 00:53:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42a971d8-49ec-4dd4-a53c-e1e6501a1321</guid><dc:creator>makerTim</dc:creator><description>&lt;p&gt;I wrote codes to read who Am I register, and its error code was 17.(busy, timeout) Maybe I should pull up 10K for TWI pins. By the way, what is ADO and why should I set it low?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/thread/106459?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 22:04:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:262e7d60-5ce2-42b6-8ff1-330ee2e5e0b8</guid><dc:creator>dkwill</dc:creator><description>&lt;p&gt;I have gotten those examples working - nRF52 (with the exception of the magnetometer). I just changed the defines in the C/C++ tab and the TWI pins. Make sure to run in SDK 11.0. ADO should be set low for these examples. I used pullups of 10K. They should run w/ no major modification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 MPU9255 TWI/I2C READ Failed</title><link>https://devzone.nordicsemi.com/thread/106456?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 12:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1877fb34-3cfb-4ec1-80c3-818c643e8295</guid><dc:creator>Vala</dc:creator><description>&lt;p&gt;Hi MakerTim,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t used that code but I have implemented a library for communicating with MPU9250. If you provide more information someone might be able to help. How it doesn&amp;#39;t work exactly? First try to read the WHO AM I register to see if the communication works OK. The value for MPU9250 should be 0x71. Then you can start initializing the sensor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>