<?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>Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58771/cannot-initiate-qspi</link><description>I have a custom board based around NRF52840 and also a NRF52840-DK board. I wrote code that just initializes the QSPI driver. Here it is: 
 
 When I download the code into the DK board, it runs fine and the debug terminal shows &amp;quot;QSPI initiated successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Feb 2024 08:18:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58771/cannot-initiate-qspi" /><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/467301?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 08:18:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:124622d0-d492-4ce9-9eeb-44f5197324a4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;This case is&amp;nbsp;nearly 4 years old at this point. Please make a new case where you describe what your problem is, and if you find this case relevant, please link to it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/467297?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 07:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ac3844e-c6a5-49fe-a815-bfaa3687dc9d</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;Hi, did you find the solution ? i have the same issue....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/239862?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2020 06:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24d98077-a738-4404-b6ff-a1dc4f4d6941</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Did you try measuring the voltage on the pins to the QSPI from the nRF while operating? You can also ask the QSPI manufacturers what is the expected behavior of the QSPi chip when/if it is damaged by too high input voltages.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/239766?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 14:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a7355cc-d42c-4eb7-a229-b79215fed03d</guid><dc:creator>lufeitan</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;QSPI memory is only connected to LDO and nRF52840.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Lu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/239438?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 06:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5138f81d-4610-4766-9c12-91e25ae404e7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;No, that should not be the case. The other pins should not output any voltage/current while the nRF52 series are flashed as far as I know. You can try measuring the voltage on the pins to the QSPI from the nRF while operating, as the voltage might exceed 2.0V during operation.&amp;nbsp;Is the QSPI chip connected to anything but the LDO and the nRF52840?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/239146?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 13:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cdfb724-5e09-4bdf-9309-b7f09000d1ab</guid><dc:creator>lufeitan</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I used a heat gun to remove the flash memory from the board. I initiated the QSPI pins as GPIO&amp;#39;s and was able to toggle them, showing that the GPIO controller worked and that the pins are still functional. However, even without the flash memory, the QSPI controller still times out when activating inside the nrf52840.&lt;/p&gt;
&lt;p&gt;I was also able to probe the VCC pad of the memory and confirm that the input voltage was 1.8V. The input voltage was generated by an LDO on the custom board from a main voltage of 3V.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it possible that the Flash memory powered on in single SPI mode and, when I used QSPI on the nrf52840 to program the flash, some pins drew more current than allowed and caused the QSPI controller to burn out?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Lu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/239019?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 09:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35750499-b722-451f-86f1-3ec92c1785ac</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Do you have more than one of these flash memory chips, and can switch it out on your custom board to see if that makes it run again? How are you powering the QSPI flash memory? Are you able to confirm that the input voltage onto the flash memory chip is actually 1.8V? Can you check that the lines between the nRF52 and the QSPI are not broken in any way as well?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/238883?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2020 14:58:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2109b88-4b7b-4831-b526-ef26cb0fe139</guid><dc:creator>lufeitan</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I am using the MT25Q series flash memory from Micron. I have attached its datasheet. I am powering both the flash memory and the nrf52840 with 1.8V.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/MT25QU02GCBB_5F00_datasheet.pdf"&gt;devzone.nordicsemi.com/.../MT25QU02GCBB_5F00_datasheet.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/238751?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2020 09:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d3be3ea-88a6-4b43-b8d4-c8fcdcc7a76d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Could it be that the external flash chip has been damaged by too high voltages? I see that its datasheet (if this is the correct one for your chip) states that it doesn&amp;#39;t operate at voltages higher than 2.0V. What voltage are you supplying the flash chip with?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/238575?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 15:25:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d65deb0-e0af-451e-814c-90c3ebbc5cb6</guid><dc:creator>lufeitan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the response.&lt;/p&gt;
&lt;p&gt;I have checked the connections on the layout file and they seem to be correct. I will check again to make sure.&lt;/p&gt;
&lt;p&gt;I am thinking that if the connections are not correct, it would not have initialized in the first place. My experience with both copies of the custom board was that the QSPI initiated fine the few times (I was even able to read device ID from flash using QSPI), but then suddenly stopped initiating after I power cycled a few times.&lt;/p&gt;
&lt;p&gt;The other devices on the custom board do not use QSPI, some use TWI, others use UART. I am not allowed to give specific part numbers.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Lu Tan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Initiate QSPI</title><link>https://devzone.nordicsemi.com/thread/238460?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 09:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95ece98d-c3bf-4c3a-b289-8731987e9db4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This sounds like a hardware problem to me. Seeing as the project works fine on the DK, and other drivers run as expected, it points towards some communication failure between the Micron flash chip and the nRF52840. Can you check the connection between the devices and make sure that they are connected correctly to one another? Also, what other drivers are there that you have been able to initialize and run on the custom board?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>