<?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 Nor Flash SPI/QSPI Fat FS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83601/nrf5340-nor-flash-spi-qspi-fat-fs</link><description>I am having some issues with spi flash and current. Currently I have the NOR Flash, W25Q128JVPIQ, set up on spi 4 with a FATFS and USB MSD as per customer request. This is working but when idle I am seeing an extra 580uA of current in this configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Mar 2022 16:45:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83601/nrf5340-nor-flash-spi-qspi-fat-fs" /><item><title>RE: NRF5340 Nor Flash SPI/QSPI Fat FS</title><link>https://devzone.nordicsemi.com/thread/356697?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 16:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7c8d2be-4e11-4101-8ad9-0c31f75406f7</guid><dc:creator>d_c_h_w</dc:creator><description>&lt;p&gt;Bit late, but this sound like the issue I had&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/72564/increased-idle-current-draw-in-nrf5340-when-spi4-chosen-over-spi1"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/72564/increased-idle-current-draw-in-nrf5340-when-spi4-chosen-over-spi1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There is a workaround in there to drop the idle current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Nor Flash SPI/QSPI Fat FS</title><link>https://devzone.nordicsemi.com/thread/348201?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 08:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d36ef650-443f-44f0-b413-7b375b661448</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi, I have not tried it myself, but I believe this example use QSPI:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/usb/mass/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/usb/mass/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Nor Flash SPI/QSPI Fat FS</title><link>https://devzone.nordicsemi.com/thread/347614?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 14:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b5006d0-1fef-495c-accb-15edd1d916bb</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;Kenneth thanks for the update.&amp;nbsp; As for QSPI there is no example that uses qspi as a fatfs that i can see. I would have thought that i would simply replace the spi nor with qspi nor and that was that, but that does not seem to be the case.&amp;nbsp; I have done extensive debugging with this but it will not load the FS unless the FS already existed from previously using SPI mode.&amp;nbsp; When I don&amp;#39;t have an FS the FS code responds that it has created the file system but fails to mount with error -19 device does not exist.&amp;nbsp; Could this be a driver issue in the FS code for qspi?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Nor Flash SPI/QSPI Fat FS</title><link>https://devzone.nordicsemi.com/thread/347572?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 12:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f090f3a0-49cc-4146-9f67-871d5039f443</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;This is not obvious from product specification, but there is a difference in hardware between spi3 and spi4, because spi4 support high-speed it uses a different regulator internally, which unfortunately cause higher current consumption. That said, it should be possible to handle this difference (in other words drastically reduce it) in the driver&amp;#39;s power management of the spi4, but I can find this is currently not the case. We will need to create an internal case to look at the power management of spi4.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure why you are not getting qspi to work, I do believe there should be some examples you can use as reference. That said, I do believe also qspi also suffer from a power management handling in the driver, which cause it to have excessive current at the moment. I believe this is already in progress to be fixed, but you may need to switch to main branch of ncs.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 Nor Flash SPI/QSPI Fat FS</title><link>https://devzone.nordicsemi.com/thread/347455?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 16:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44b16cdb-101a-43ad-86ea-6f256059687b</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;So one update I moved the interface to SPI3 and the power went down to 7.7uA in idle.&amp;nbsp;&amp;nbsp;So I am seeing an issue with SPI4 and QSPI at this point in time.&amp;nbsp; I need one of these interfaces as loading and reading files will be very slow otherwise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>