<?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>PMW3360 device doesn&amp;#39;t configure properly with SDK version greater than NRF-Connect SDK 2.0.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99658/pmw3360-device-doesn-t-configure-properly-with-sdk-version-greater-than-nrf-connect-sdk-2-0-2</link><description>I have encountered an issue with the configuration of the Pixart PMW3360 device when using SDK versions higher than NRF-Connect SDK 2.0.2. After researching the development progress on GitHub, I noticed significant changes to the SPI handling mechanism</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 May 2023 08:30:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99658/pmw3360-device-doesn-t-configure-properly-with-sdk-version-greater-than-nrf-connect-sdk-2-0-2" /><item><title>RE: PMW3360 device doesn't configure properly with SDK version greater than NRF-Connect SDK 2.0.2</title><link>https://devzone.nordicsemi.com/thread/426792?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 08:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec424d17-54e2-4ad6-aa44-fb72377a9c9a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update, and thanks for pointing out the documentation error. This has now been addressed in this PR:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/11282"&gt;https://github.com/nrfconnect/sdk-nrf/pull/11282&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PMW3360 device doesn't configure properly with SDK version greater than NRF-Connect SDK 2.0.2</title><link>https://devzone.nordicsemi.com/thread/426653?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 15:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f08aab8-98cf-4ec7-85b3-90ccc67056c0</guid><dc:creator>dslobodzian</dc:creator><description>&lt;p&gt;That was it! Thank you very much.&lt;br /&gt;&lt;br /&gt;I find it interesting that the inverted version worked in a previous version of the SDK, how strange.&lt;br /&gt;&lt;br /&gt;It might be worth updating the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/drivers/pmw3360.html"&gt;PMW3360 Driver&lt;/a&gt; page.&amp;nbsp;&lt;span&gt;While I understand that this is an exemplary configuration for the DTS, it seems illogical for the driver page to possess a distinct configuration for the chip select.&lt;br /&gt;&lt;br /&gt;Once again, Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PMW3360 device doesn't configure properly with SDK version greater than NRF-Connect SDK 2.0.2</title><link>https://devzone.nordicsemi.com/thread/426602?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 13:35:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b55f0f46-9dc2-44ee-ade9-dc90ef806ce0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The chip select line for&amp;nbsp;PMW3360 is set as active high (&amp;#39;0&amp;#39; ==&amp;nbsp; GPIO_ACTIVE_HIGH) in your board file here:&amp;nbsp;&lt;a href="https://github.com/deslobodzian/MouseSoftware/blob/73872f3a0dc21b49b165c848b916952fa3e0e1ed/Mouse_Software/boards/arm/mouse_board/mouse_board.dts#L73"&gt;https://github.com/deslobodzian/MouseSoftware/blob/73872f3a0dc21b49b165c848b916952fa3e0e1ed/Mouse_Software/boards/arm/mouse_board/mouse_board.dts#L73&lt;/a&gt;&amp;nbsp;but it should be active low according to the datasheet. Maybe this is the problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to change &amp;#39;cs-gpios = &amp;lt;&amp;amp;gpio0 6 0&amp;gt;;&amp;#39; to&amp;nbsp;cs-gpios = &amp;lt;&amp;amp;gpio0 6 &lt;strong&gt;GPIO_ACTIVE_LOW&lt;/strong&gt;&amp;gt;;&lt;/p&gt;
&lt;p&gt;Logic trace after setting CS as active low:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1684762648352v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;There is no response here as I don&amp;#39;t have the sensor connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PMW3360 device doesn't configure properly with SDK version greater than NRF-Connect SDK 2.0.2</title><link>https://devzone.nordicsemi.com/thread/426331?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 13:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:054cd621-6b43-418e-848f-6159e1cdfedf</guid><dc:creator>dslobodzian</dc:creator><description>&lt;p&gt;Main branch is not, &amp;ldquo;complete-rework&amp;rdquo; is the up to date branch. Sorry about that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PMW3360 device doesn't configure properly with SDK version greater than NRF-Connect SDK 2.0.2</title><link>https://devzone.nordicsemi.com/thread/426212?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 09:43:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15a1c5ec-ea00-4eba-8d5a-a31493a099d8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Is this project up to date? I got several build errors when I tried to build it with SDK 2.3.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PMW3360 device doesn't configure properly with SDK version greater than NRF-Connect SDK 2.0.2</title><link>https://devzone.nordicsemi.com/thread/425317?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 12:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2340dbb1-ad84-489c-ab6d-1175e72ddd2d</guid><dc:creator>dslobodzian</dc:creator><description>&lt;p&gt;I&amp;#39;m using a custom board I built. Here is the software that is currently running on the system. I can share the schematics If needed but I reckon if It works on an older version of the SDK it should be&amp;nbsp;a design issue.&lt;br /&gt;&lt;a href="https://github.com/deslobodzian/MouseSoftware/tree/complete-rework/Mouse_Software"&gt;MouseSoftware/Mouse_Software at complete-rework &amp;middot; deslobodzian/MouseSoftware &amp;middot; GitHub&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PMW3360 device doesn't configure properly with SDK version greater than NRF-Connect SDK 2.0.2</title><link>https://devzone.nordicsemi.com/thread/425311?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 11:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8e32615-b92c-49b9-9fa1-426fc03c642a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t think of any breaking changes that were made to SPI between versions 2.0.2 and 2.0.3, but something is clearly different. I noticed from the last log you posted that there is no communication happening between the sensor and the nRF.&lt;/p&gt;
&lt;p&gt;Would you be able to share your project here so that I can take a look, or are you testing it with an SDK sample? Additionally, it would be helpful if you could use a logic analyzer or a scope to check what&amp;#39;s happening on the bus.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>