<?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>[NRF5340] SPI RX Buffer always empty</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96226/nrf5340-spi-rx-buffer-always-empty</link><description>I&amp;#39;m trying to establish a connection with an ICM-20948 via SPI. I check the pins and they are correct but the RX buffer always returns 0x00 when I call to &amp;quot;whoami&amp;quot;. The GPIO and SPI config: 
 The comm code: 
 
 
 My SPI0 devicetree: 
 
 Did I forget something</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Feb 2023 13:36:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96226/nrf5340-spi-rx-buffer-always-empty" /><item><title>RE: [NRF5340] SPI RX Buffer always empty</title><link>https://devzone.nordicsemi.com/thread/407554?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2023 13:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e73f4f8b-191a-44e3-9ddb-d3d93b5672ab</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Ah yes, sorry, missed to see that. We do not have resources to debug sensor related issues unless you can show us that the serial communication is not working as it should. Have you tried to sniff the SPI pins using logic analyzer or similar to check if the pin timings match the specification when you send commands or receive data from the sensor?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF5340] SPI RX Buffer always empty</title><link>https://devzone.nordicsemi.com/thread/407532?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2023 12:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81584cc7-c65b-4ab7-8af4-0e69bcaf3d9f</guid><dc:creator>Nezzhil</dc:creator><description>&lt;p&gt;Thanks for the answer but that&amp;#39;s for i2C&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF5340] SPI RX Buffer always empty</title><link>https://devzone.nordicsemi.com/thread/407530?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2023 12:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c900eb11-75e0-4560-99ba-fd4efd41fdf8</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Seems the issue is close to the one mentioned &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80055/zephyr-icm-20948-interface-nrf5340"&gt;here&lt;/a&gt;, The solution proposed was to add below in your overlay file.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;zephyr,concat-buf-size = &amp;lt;128&amp;gt;;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>