<?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 nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119476/how-to-use-nrf52832-spi-to-set-icm42670p-internal-clock-running-during-setup-progress</link><description>Thanks in advanced. Based on nRF5_SDK_17.0.2, I can use i2c with icm42670p normally. Due to power consideration, I need to r/w this imu with spi either to decide which is the lower power design. But what makes me confused is: I can r/w icm42670p&amp;#39;s register</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Mar 2025 14:50:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119476/how-to-use-nrf52832-spi-to-set-icm42670p-internal-clock-running-during-setup-progress" /><item><title>RE: How to use nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/thread/526211?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2025 14:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:321c3f0e-84e4-4043-9b84-94bc9b0e936f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Are you using an nRF52832 DK from us, or some custom board, or a 3rd party board?&lt;/p&gt;
&lt;p&gt;Either way, I would try to avoid these pins, at least until you get things to work:&lt;/p&gt;
&lt;p&gt;P0.00 (LFXO)&lt;br /&gt;P0.01 (LFXO)&lt;br /&gt;&lt;span&gt;P0.05 (UART logging)&lt;br /&gt;P0.06 (UART logging)&lt;br /&gt;P0.07 (UART logging)&lt;br /&gt;P0.08 (UART logging)&lt;br /&gt;P0.09 (NFC pin)&lt;br /&gt;P0.10 (NFC pin)&lt;br /&gt;P0.21 (Reset pin)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is possible to use all of these pins, but each of them require some configuration to your board files, so to get things up and running, and for testing, it may be easier to use different pins. So in this case, change SDO from pin 1 to e.g. pin P0.21. (or any other pin. P0.21 is just close to P0.00 on the DK&amp;#39;s pin header).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also note, on the back of the DK, it is written what pins that are in use by default. P0.13 -&amp;gt; P0.20 are buttons and LEDs, but it is possible to use them. Just be aware that pressing the buttons on the DK will drag the pin down to GND.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/thread/526153?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2025 12:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f784b5c2-ce18-4375-a2c0-c8f7a07e5ae0</guid><dc:creator>faithself</dc:creator><description>&lt;p&gt;Thanks. I&amp;#39;m installing NCS, the tool chain setup is very slow. Meanwhile, I want to double check the icm42670p spi pcb connection: I use nrf52832-ciaa, H2&amp;lt;--&amp;gt;SDO(PIN1), H3&amp;lt;--&amp;gt;SDI(PIN14), H4&amp;lt;--&amp;gt;CLK(PIN13), H5&amp;lt;--&amp;gt;CS(PIN12), VDD and VDDIO are both 3V. Is there any mistake?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/thread/526027?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 14:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecfd82b6-e139-42c3-9832-cd211344feb7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I meant the file found in the nRF Connect SDK (NCS)&lt;/p&gt;
&lt;p&gt;NCS\zephyr\drivers\sensor\tdk\icm42670.c&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have the nRF Connect SDK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/thread/525976?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 12:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ccfcd36-c588-4fed-9504-d58806dd4ea2</guid><dc:creator>faithself</dc:creator><description>&lt;p&gt;Or would you please send them to my email &lt;a href="mailto:faithself@sina.cn?"&gt;faithself@sina.cn?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/thread/525974?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 12:44:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb7ee924-0275-4732-af90-4e54fc22a771</guid><dc:creator>faithself</dc:creator><description>&lt;p&gt;Thanks, maybe you mean this:&amp;nbsp;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/tree/main/drivers/sensor/icm42670"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/drivers/sensor/icm42670&lt;/a&gt;&amp;nbsp;? I can&amp;#39;t access this link from China.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/thread/525877?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 08:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bcc03a8-cd29-4f3b-b506-3454cdb6b7c0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I see. No, I am not aware of this AN. You should reach out to invensense and ask about it. Alternatively, describe to them what you do and what is not working. I don&amp;#39;t have the sensor, or any more knowledge about it than you do (probably even less).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see that there are some drivers for this sensor in Zephyr. Are those the ones that you are using?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/thread/525643?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 07:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7867acd8-8337-4e9e-ab13-38ffbe91bed6</guid><dc:creator>faithself</dc:creator><description>&lt;p&gt;It is for icm42670p, but I can&amp;#39;t find AN-000352 in inversense website......&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52832 spi to set icm42670p internal clock running during setup progress?</title><link>https://devzone.nordicsemi.com/thread/525523?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 13:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d26b80a4-5aff-45ef-8388-27512813567f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This AN-000352, is that for the icm42670p? Or is this some Anomaly Notice for the nRF52832 you are talking about?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t believe we have any AN-000352 for our nRF52832, and googling &amp;quot;AN-000352&amp;quot; and icm42670p didn&amp;#39;t give any results. Perhaps you can ask the producers of the sensor, if they have anything for you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>