<?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>QSPI automatically read sfdp-bdp</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83877/qspi-automatically-read-sfdp-bdp</link><description>I have a project that is reading an external flash chip via qspi. Everything is working well, and I haven&amp;#39;t defined the sfdp-bdp field in the overlay file that defines the pins for the qspi device. The zephyr documentation says there&amp;#39;s a CONFIG_SPI_NOR_SFDP_RUNTIME</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jan 2022 12:40:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83877/qspi-automatically-read-sfdp-bdp" /><item><title>RE: QSPI automatically read sfdp-bdp</title><link>https://devzone.nordicsemi.com/thread/348922?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 12:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8446efe9-e5be-4aa1-a942-5ed1615f099a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the function that reads the parameters:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.0-ncs1/drivers/flash/nrf_qspi_nor.c#L752"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.0-ncs1/drivers/flash/nrf_qspi_nor.c#L752&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And this requires CONFIG_FLASH_JESD216 and CONFIG_FLASH_JESD216_API to read it out from the flash itself.&lt;/p&gt;
&lt;p&gt;If the latter one is not set, it shall be provided by your device tree declaration.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>