<?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>INVENSENSE ICM-20948</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36615/invensense-icm-20948</link><description>I want to use 9 axis motion sensor and I am planning to use INVENSENSE ICM-20948 for this. I know that all the sensors can interface with I2C protocol but the problem is I want to use in SPI protocol but don&amp;#39;t know whether magnetometer in this chip works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jun 2021 09:26:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36615/invensense-icm-20948" /><item><title>RE: INVENSENSE ICM-20948</title><link>https://devzone.nordicsemi.com/thread/315797?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 09:26:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6c0f75c-a6f7-4301-bdc7-e446519c81fe</guid><dc:creator>TTN</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m trying to use icm 20948 with nrf52 by spi.&lt;/p&gt;
&lt;p&gt;I read the file in the eMD-SmartMotion-ICM20948-1.1.0-MP&lt;/p&gt;
&lt;p&gt;but the example is for others system not for nrf, so i am too new to hook it up.&lt;/p&gt;
&lt;p&gt;Do you have some experice to share?&lt;/p&gt;
&lt;p&gt;What kind of protocal do you use to control icm20948, it seems you didn&amp;#39;t use spi?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVENSENSE ICM-20948</title><link>https://devzone.nordicsemi.com/thread/281850?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 14:24:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcb23f2c-3bf0-4b03-96b4-07dbb06ba3de</guid><dc:creator>SamirFarhat</dc:creator><description>&lt;p&gt;Hi, I know this as asked a while ago, but there is still very little information on how to get the icm20948 magnetometer working in SPI mode. So thought I&amp;#39;d write this to clarify. The magnetometer can be written to and read from in SPI mode. The sequence for this is as follows.&lt;/p&gt;
&lt;p&gt;1. Write to the USER_CTRL register, setting I2C_MST_EN&lt;/p&gt;
&lt;p&gt;2. Write to I2C_MST_CTRL, setting the bus speed 400KHz and to stop between read&lt;/p&gt;
&lt;p&gt;3. Write to I2C_MST_DELAY_CTRL, enabling delay odr for the slave you wish the mag to be represented by(the following instructions will assume 0.&lt;/p&gt;
&lt;p&gt;4. Write to I2C_SLV0_ADDR to write mode, and slave address to the magnetometer (0x0C)&lt;/p&gt;
&lt;p&gt;5. Write to I2C_SLV0_REG, setting the address to be written as the address of CTRL2 in the magnetometer&lt;/p&gt;
&lt;p&gt;6. Populate ICM20948_I2C_SLV0_DO with the desired control setting&lt;/p&gt;
&lt;p&gt;7.&amp;nbsp; Write to ICM20948_I2C_SLV0_CTRL,&amp;nbsp; enabling the mag and setting the grouping and bytes to be read&lt;/p&gt;
&lt;p&gt;8. Switch I2C_SLV0_ADDR to read mode and I2C_SLV0_REG to HXL&lt;/p&gt;
&lt;p&gt;9. EXT_SLV_SENS_DATA_(00 to 06) will now be populated with HXL to ST2. It should be noted that reading ST2 is necessary as this automatically triggers the data to update in the axis registers.&lt;/p&gt;
&lt;p&gt;10. Additionally, FIFO_EN_1 can be set to write slv(magnetometer) data to the FIFO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVENSENSE ICM-20948</title><link>https://devzone.nordicsemi.com/thread/170245?ContentTypeID=1</link><pubDate>Sun, 10 Feb 2019 21:14:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d89d0833-6254-4ad6-afb5-cc127fa4a508</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Better driver here that works both SPI &amp;amp; I2C.&amp;nbsp;&lt;a href="https://github.com/IOsonata/IOsonata/blob/master/src/sensors/agm_invn_icm20948.cpp"&gt;https://github.com/IOsonata/IOsonata/blob/master/src/sensors/agm_invn_icm20948.cpp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The ICM-20948 is completely different from the MPU-9250. &amp;nbsp;MPU-9250 driver cannot be used for the ICM-20948.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVENSENSE ICM-20948</title><link>https://devzone.nordicsemi.com/thread/160900?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 09:27:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f0801fa-468b-4324-9c9d-d04d19488055</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If your question is related to the sensor, please direct your question to the manufacturer. If you have a question related to code on nRF for reading the sensor data with SPI, please post a new question where you described your issue and setup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVENSENSE ICM-20948</title><link>https://devzone.nordicsemi.com/thread/160896?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 09:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a14b94c3-c99b-4c72-a168-38dce63abc69</guid><dc:creator>Aiden.shen</dc:creator><description>&lt;p&gt;Hi，I did not find that&amp;nbsp;&lt;span&gt;magnetometer can not work on SPI,Where you found the result,Could you told me?Because I was designing the ICM20948 by SPI now.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVENSENSE ICM-20948</title><link>https://devzone.nordicsemi.com/thread/141000?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 13:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d669cbb-362b-443e-9965-00d988691a3d</guid><dc:creator>vohra alihussain</dc:creator><description>&lt;p&gt;thank you Jorgen&lt;/p&gt;
&lt;p&gt;i have gone through datasheet of manufacturer, to use the magnetometer i have to use I2c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVENSENSE ICM-20948</title><link>https://devzone.nordicsemi.com/thread/140967?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 12:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:007b7759-7442-43ee-96f7-d0f69bfc46ce</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you seen &lt;a href="https://github.com/Martinsbl/nrf5-mpu-examples"&gt;these libraries&lt;/a&gt;, which are written for the MPU9255 (similar to ICM-20948)?&lt;/p&gt;
&lt;p&gt;You will have to ask the chip manufacturer about details on what modes the chip will work in.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>