<?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>Interfacing AT45DB641E with SPI00 of nRF54l15</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126074/interfacing-at45db641e-with-spi00-of-nrf54l15</link><description>Hello team, 
 I am trying to interface the AT45DB641E flash with the nrf54l15 on a custom board. I am using the SPI00 instance. 
 Below is the configuration I set in .overlay file 
 
 And below is the code I am using to read the ID of the flash 
 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Dec 2025 07:03:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126074/interfacing-at45db641e-with-spi00-of-nrf54l15" /><item><title>RE: Interfacing AT45DB641E with SPI00 of nRF54l15</title><link>https://devzone.nordicsemi.com/thread/557288?ContentTypeID=1</link><pubDate>Thu, 18 Dec 2025 07:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a93315e-bbe0-465b-89ce-abd0f8ff6931</guid><dc:creator>payalD</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The issue has been resolved after adding&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;struct&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;device&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;flash&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;DEVICE_DT_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;DT_NODELABEL&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;at45db641e&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;and using&lt;code&gt;&amp;nbsp;&lt;span&gt;spi_transceive_dt() instead of&amp;nbsp;spi_transceive().&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing AT45DB641E with SPI00 of nRF54l15</title><link>https://devzone.nordicsemi.com/thread/556857?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 11:10:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:077326f6-6819-41d4-a925-1253323b0f1b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Payal, by any chance you have a nRF54L DK and reproduce this on that? I am curious to see if this is an issue on our SPI or the sensor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;There is one &lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF54L15_Rev1/page/ERR/nRF54L15/Rev1/latest/anomaly_L15_21.html#anomaly_L15_21"&gt;Errata in SPI&lt;/a&gt;&amp;nbsp;with SPI00 and SPI02. Try using&amp;nbsp;different SPI and see if you see the same?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing AT45DB641E with SPI00 of nRF54l15</title><link>https://devzone.nordicsemi.com/thread/556823?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 05:59:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f2b84c6-cddc-4452-8849-30228240ae6b</guid><dc:creator>payalD</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I debugged on the MOSI and MISO pins. I am transmitting 0x9F on MOSI and getting 0x1F 0x28 0x00 on MISO, as expected. But the&amp;nbsp;int ret = spi_transceive(spi_dev, &amp;amp;spi_cfg, &amp;amp;tx, &amp;amp;rx_set); API is returnig -5.&lt;/p&gt;
&lt;p&gt;I am observing that 0xAB is getting transmitted before 0x9F. I am not transmitting 0xAB from anywhere in the code.&lt;/p&gt;
&lt;p&gt;Attaching the spanshot for your reference.&lt;/p&gt;
&lt;p&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/4251.image.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing AT45DB641E with SPI00 of nRF54l15</title><link>https://devzone.nordicsemi.com/thread/556809?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 00:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e5e5297-f3cf-42c1-957b-e41366771cae</guid><dc:creator>momososo</dc:creator><description>&lt;p&gt;Don&amp;#39;t waste your time using SPI00 on Zephyr unless you know the magic word.&lt;/p&gt;
&lt;p&gt;The Zephyr team hasn&amp;#39;t been able to solve this problem for 5 months.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/122809/incorrect-first-bit-on-mosi-during-spi-transfer-nrf54l15-mode-0-prescaler-2/555718"&gt;same error&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing AT45DB641E with SPI00 of nRF54l15</title><link>https://devzone.nordicsemi.com/thread/556798?ContentTypeID=1</link><pubDate>Thu, 11 Dec 2025 17:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1322a867-f4e9-4eea-8ab3-7f91d1f6132d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Unfortunately I cannot, sorry about that. Proper settings in overlay for this sensor will involve me understanding the spec of that sensor. But brief look shows that pin numbers and frequency seems right. Not sure of the drive strength you used on pins and pull on the chip select.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing AT45DB641E with SPI00 of nRF54l15</title><link>https://devzone.nordicsemi.com/thread/556686?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 13:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1136f323-ff47-4ec8-8738-18adf36303e1</guid><dc:creator>payalD</dc:creator><description>&lt;p&gt;Thanks for the quick reply. I will debug any activity on MISO and MOSI.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please confirm if my .overlay settings are correct or not? Or I need to change anything in the .overlay settings.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Payal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing AT45DB641E with SPI00 of nRF54l15</title><link>https://devzone.nordicsemi.com/thread/556682?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 13:08:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2b2dfb8-0331-412d-b5bd-3c31025a603e</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Payal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You also have this thread here&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/126064/spi00-of-nrf54l15-not-working"&gt;SPI00 of nrf54l15 not working&lt;/a&gt;&amp;nbsp;where you have same issues with a different sensor. It most likely is a configuration issue for both and you need to understand the specs of those sensors correctly to see if they are initialized properly or not. You need to connect the MOSI and MISO and sniff those lines to see if you are seeing any activity at all and if yes, if it is sensible data or garbled. Without those debugging efforts it is not possible for us to help you with those external sensors.&amp;nbsp;I are quite&amp;nbsp;positive that the SPI within nrf should be working as it should.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>