<?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>Enabling CONFIG_BT causes reading JEDEC ID of NOR flash failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103641/enabling-config_bt-causes-reading-jedec-id-of-nor-flash-failed</link><description>The following are log messages of RTT Viewer when setting CONFIG_BT=n in prj.conf file. 
 
 The following are log messages of RTT Viewer when setting CONFIG_BT=y in prj.conf file. 
 
 Why setting CONFIG_BT=y causes reading JEDEC ID of NOR flash failed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Sep 2023 11:38:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103641/enabling-config_bt-causes-reading-jedec-id-of-nor-flash-failed" /><item><title>RE: Enabling CONFIG_BT causes reading JEDEC ID of NOR flash failed</title><link>https://devzone.nordicsemi.com/thread/445619?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 11:38:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cede8c51-84ae-403e-8cd7-8726b374fc4d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You already have tickets open in regards to SPI NOR flash.&lt;/p&gt;
&lt;p&gt;Duplicating tickets will not result in you getting your answer quicker, it will only increase the workload for us unnecessary.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m closing this,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling CONFIG_BT causes reading JEDEC ID of NOR flash failed</title><link>https://devzone.nordicsemi.com/thread/445352?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2023 09:52:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ab9156f-7a99-4018-ba46-76c0c281ba2c</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;The following are c code to read JEDEC ID of NOR flash.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int flashNorInit(void) {

    const struct device *const dev = DEVICE_DT_GET(FLASH_NODE);

    if (!device_is_ready(dev)) {
        printk(&amp;quot;%s: device not ready\n&amp;quot;, dev-&amp;gt;name);
        return 0;
    }

    printk(&amp;quot;%s: device is ready\n&amp;quot;, dev-&amp;gt;name);


    uint8_t id[3];

    int ret = flash_read_jedec_id(dev, id);
    if (ret &amp;lt; 0) {
        printk(&amp;quot;JEDEC ID read failed, %d\n&amp;quot;, ret);
        return -1;
    }
    
    printk(&amp;quot;jedec-id = [%02x %02x %02x];\n&amp;quot;, id[0], id[1], id[2]);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling CONFIG_BT causes reading JEDEC ID of NOR flash failed</title><link>https://devzone.nordicsemi.com/thread/445351?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2023 09:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f0e5dfe-5ab2-49c3-b290-ee909b4c6633</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Device node related to NOR flash is as follows.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
    compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
    status = &amp;quot;okay&amp;quot;;

    cs-gpios = &amp;lt;&amp;amp;gpio0 11 GPIO_ACTIVE_LOW&amp;gt;;
    pinctrl-0 = &amp;lt;&amp;amp;spi1_default&amp;gt;;
    pinctrl-1 = &amp;lt;&amp;amp;spi1_sleep&amp;gt;;
    pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;

    w25q256: w25q256jv@0 {
        compatible = &amp;quot;jedec,spi-nor&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        spi-max-frequency = &amp;lt;8000000&amp;gt;;
        jedec-id = [ef 40 19];
        size = &amp;lt;0x10000000&amp;gt;;
        has-dpd;
        t-enter-dpd = &amp;lt;3500&amp;gt;;
        t-exit-dpd = &amp;lt;3500&amp;gt;;
    };
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling CONFIG_BT causes reading JEDEC ID of NOR flash failed</title><link>https://devzone.nordicsemi.com/thread/445348?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2023 09:34:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b820ea67-a774-481d-9d9a-d15e73f56095</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1768.minimal_5F00_log_5F00_flash_5F00_jesd216.zip"&gt;devzone.nordicsemi.com/.../1768.minimal_5F00_log_5F00_flash_5F00_jesd216.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling CONFIG_BT causes reading JEDEC ID of NOR flash failed</title><link>https://devzone.nordicsemi.com/thread/445346?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2023 09:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a57a3aa-f4ce-4892-bc2e-863292625612</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2318.custom_5F00_nrf5340.zip"&gt;devzone.nordicsemi.com/.../2318.custom_5F00_nrf5340.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling CONFIG_BT causes reading JEDEC ID of NOR flash failed</title><link>https://devzone.nordicsemi.com/thread/445345?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2023 09:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5143152a-d96a-4ae4-b3e0-795060304abd</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2100.prj.conf"&gt;devzone.nordicsemi.com/.../2100.prj.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>