<?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>I2C internally using SPI to acquire mpu9250 geomagnetism</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50184/i2c-internally-using-spi-to-acquire-mpu9250-geomagnetism</link><description>Hello 
 
 I am currently trying to get sensor values via SPI communication with mpu9250, a 9-axis sensor. 
 Although the following settings were made,acceleration,gyro,and temperature could be measured , but geomagnetics can not be measured. 
 Is the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Jul 2019 01:17:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50184/i2c-internally-using-spi-to-acquire-mpu9250-geomagnetism" /><item><title>RE: I2C internally using SPI to acquire mpu9250 geomagnetism</title><link>https://devzone.nordicsemi.com/thread/201380?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 01:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01195928-097e-407e-a30a-ec0d53fee7e7</guid><dc:creator>y001</dc:creator><description>&lt;p&gt;Solved by performing delay after every nrf_drv_spi_transfer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mpu9250 SPI communication</title><link>https://devzone.nordicsemi.com/thread/200624?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 00:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e5e2165-ceea-4cdf-a005-ccf004bfa157</guid><dc:creator>y001</dc:creator><description>&lt;p&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;23 pages of data sheet&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;&lt;pre class="ui-code" data-mode="text"&gt;Auxiliary I2C Bus Modes of Operation: 
• I2C Master Mode: Allows the MPU-9250 to directly access the data registers of 
external digital sensors, such as a magnetometer. For example, In I2C Master mode, 
The MPU-9250 can be configured to perform burst reads, returning the following data
from a magnetometer:  X magnetometer data (2 bytes)  Y 
magnetometer data (2 bytes)  Z magnetometer data (2 bytes)
  The I2C Master can be configured to read up to 24 bytes from the auxiliary 
  sensors. A fifth sensor can be configured to work single byte read / write mode.&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:rgba(0, 0, 0, 0.87);font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;" title=""&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span title=""&gt;Can I still take the geomagnetic field with SPI?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mpu9250 SPI communication</title><link>https://devzone.nordicsemi.com/thread/200392?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 05:46:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0446852-76ec-4df4-a6ae-0bbef2dbc1f7</guid><dc:creator>y001</dc:creator><description>&lt;p&gt;After all.if you want to communicate with mpu9250 by SPI, I also have to use I2C.&lt;/p&gt;
&lt;p&gt;I made the setting to put the output of the geomagnetic field into&amp;nbsp;EXT_SENS_DATA_00 ,but it dies not feel like I do the SPI internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mpu9250 SPI communication</title><link>https://devzone.nordicsemi.com/thread/200217?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 08:25:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:181e2cdd-1c0e-481c-8933-ec8454f09954</guid><dc:creator>Richard</dc:creator><description>&lt;p&gt;The&amp;nbsp;magnetometer&amp;nbsp;in the MPU9250 is only accessible via I2C - not SPI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>