<?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>ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123489/icm42670p-imu---device-not-ready-on-nrf5340-dk</link><description>Platform: 
 
 
 Board: nRF5340 DK (Application core) 
 
 
 SDK &amp;amp; Toolchain version: 3.0.2 
 
 
 Toolchain: west + Zephyr SDK 
 
 
 Sensor: ICM42670P (connected via SPI4) 
 
 
 Problem Description: 
 I am integrating the ICM42670P IMU sensor with my nRF5340</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Sep 2025 16:03:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123489/icm42670p-imu---device-not-ready-on-nrf5340-dk" /><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/548273?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 16:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a58a1396-4d3e-40eb-ab8b-90382a1df624</guid><dc:creator>Statek</dc:creator><description>&lt;p&gt;Any of the examples:&amp;nbsp;&lt;a id="" href="https://github.com/tdk-invn-oss/motion.arduino.ICM42670P"&gt;https://github.com/tdk-invn-oss/motion.arduino.ICM42670P&lt;/a&gt;&lt;br /&gt;I&amp;#39;ve only gotten it working on the Due so far though.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/548133?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 05:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50344c3e-2a23-4ea6-81fc-aa92e4515ad8</guid><dc:creator>Anas Saeed</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/statek"&gt;Statek,&lt;/a&gt;&amp;nbsp;which Arduino sample code are you mentioning? Maybe I can check that also!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/548113?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 23:52:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c160ebc-31c0-484c-9b33-bbf7eee092a3</guid><dc:creator>Statek</dc:creator><description>&lt;p&gt;I&amp;#39;m still dealing with this and while I&amp;#39;ve been able to talk to the chip reliably now, I&amp;#39;m also getting 0x4C on the WHO_AM_I. The only way I can get it to return 0x67 is by copying the output that the arduino sample code sends but I feel like it isn&amp;#39;t the best way to do things (it repeats a lot of things).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/547703?ContentTypeID=1</link><pubDate>Thu, 04 Sep 2025 06:11:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:355e8b68-c77e-412d-8865-dd9ce3f62e36</guid><dc:creator>Anas Saeed</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/statek"&gt;Statek&lt;/a&gt; I&amp;rsquo;m encountering the same issue: the data doesn&amp;rsquo;t match the datasheet. The WHO_AM_I register returns &lt;strong data-start="101" data-end="109"&gt;0x4C&lt;/strong&gt; instead of the expected &lt;strong data-start="134" data-end="142"&gt;0x67&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/546161?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 09:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:080fd51e-b3d4-475c-987c-9957025988b4</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Details, please. We have no idea what you tried or what the results look like.&lt;/p&gt;
&lt;p&gt;Also try to look into the dts files in build/zephyr that have the complete device tree. Pin cfg are at least partly decoded at this point unfortunately but are still somewhat readable.&lt;/p&gt;
&lt;p&gt;If you also look into the board definitions you can see which pins are in use.&lt;/p&gt;
&lt;p&gt;As a last resort you can try writing to SPIM registers directly with a debugger (like Segger Ozone, NRF5340DK seems to have a license in it). Its annoying but it should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/546120?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 06:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:432ad12e-e5f2-4ca4-8d93-096cbdd19c93</guid><dc:creator>Anas Saeed</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;&amp;nbsp;I&amp;#39;ve tried to change different pins but the problem persists other than these!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/546079?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 14:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:460b3549-90b1-48eb-a1f0-52494f8fd852</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you are using the DK there are some pins that have specific functionality or routing, can you check if that may be the case here?&lt;br /&gt;&lt;a href="https://docs-be.nordicsemi.com/bundle/ug_nrf5340_dk/attach/nRF5340_DK_User_Guide_v2.0.2.pdf"&gt;https://docs-be.nordicsemi.com/bundle/ug_nrf5340_dk/attach/nRF5340_DK_User_Guide_v2.0.2.pdf&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="https://docs-be.nordicsemi.com/bundle/ug_nrf52840_dk/attach/nRF52840_DK_User_Guide_20201203.pdf"&gt;https://docs-be.nordicsemi.com/bundle/ug_nrf52840_dk/attach/nRF52840_DK_User_Guide_20201203.pdf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;E.g. searching for P0.10 I can find it&amp;#39;s default UART_CTS pin (nRF5340) or NFC (nRF52840).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/545994?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 06:52:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f365a3e-479b-448c-a265-b523c81c7bf6</guid><dc:creator>Anas Saeed</dc:creator><description>&lt;p&gt;@Turbo J Tried different pins, but the problem persists.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/545991?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 06:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a229d3ff-2985-4db7-9ca4-44644aa8a6d0</guid><dc:creator>Anas Saeed</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/statek"&gt;Statek&lt;/a&gt;&amp;nbsp;the problem persists. I&amp;#39;ve tried different pins and also a custom driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/545095?ContentTypeID=1</link><pubDate>Fri, 08 Aug 2025 21:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b03b7d00-7689-46b0-a5c1-ee9ae282f9e8</guid><dc:creator>Statek</dc:creator><description>&lt;p&gt;I&amp;#39;m getting the same issue with my NRF52840DK and ICM42670P. I&amp;#39;ve tried several different pin combinations that should all be valid and I can&amp;#39;t get it to properly initialize. I have noticed that if I unplug MISO from the DK, I get data on the line, but if I plug it back into the DK, I get invalid blips at best. The first picture is with MISO plugged in, the second is with it unplugged. It should return 0x00 or 0x80 but I can never get 0x80 on its own. I&amp;#39;m pretty stumped. It looks like there are problems with the Zephyr/NRF implementation as well as the IMU itself, seeing that I&amp;#39;m getting values that use reserved bits as well as other behavior not shown in the datasheet. I&amp;#39;ve been trying to trace through the commands sent on the Arduino example where the chip properly initializes with everything connected, but I&amp;#39;m still seeing data sent that goes against the datasheet.&lt;br /&gt;&lt;br /&gt;With MISO plugged in to the NRF52840DK (its the same with P0.03, P1.00, P1.09, P0.02, etc etc)&lt;br /&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1754687810864v1.png_2D00_640x480.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;With MISO unplugged from the NRF52840DK&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1754687978168v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/544653?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 13:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1725d754-0a52-40a7-9825-29e1b7fdd20a</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;&amp;quot;Not likely to work&amp;quot; means &amp;quot;you needed to do additional research how to make them work&amp;quot; here.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I recommend trying pins that are not otherwise used by default on the DK first as these are a lot simpler to use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/544626?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 12:27:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2bfd947-eff3-4caa-8f87-64f385a30c1e</guid><dc:creator>Anas Saeed</dc:creator><description>&lt;p&gt;I don&amp;#39;t think these pins are unusable. They might be attached to buttons or CTS by default, but their configurations can be changed in the overlay file to make them usable:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1754396837971v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICM42670P IMU - “Device not ready” on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/544620?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 12:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d717962-8870-4a00-8087-52a88a567146</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;P0.8 and P0.9 are buttons on the DK and thus not likely to work. P.0.10 is used as &amp;quot;CTS&amp;quot;. Aren&amp;#39;t those assignments still printed on the DK backside?&lt;/p&gt;
&lt;p&gt;Remove the &amp;quot;nrf5 sdk&amp;quot; tag, that old SDK does not support the NR5340 chip at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>