<?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>The QSPI/CSN can&amp;#39;t be hight,when it read data with XIP.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84075/the-qspi-csn-can-t-be-hight-when-it-read-data-with-xip</link><description>uint32_t address = XIP_ADDRESS + addr ; 
 uint8_t * p_data = ( uint8_t * ) address ; 
 for ( int i = 0 ; i &amp;lt; len ; i ++ )
 { 
 data [ i ] = p_data [ i ] ; 
 } The Pin of QSPI/CSN is low after it read the data with XIP.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jan 2022 10:03:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84075/the-qspi-csn-can-t-be-hight-when-it-read-data-with-xip" /><item><title>RE: The QSPI/CSN can't be hight,when it read data with XIP.</title><link>https://devzone.nordicsemi.com/thread/349712?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 10:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbd61fa6-11f1-4dd7-9e1d-96332dc1b85c</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Normal behavior of the QSPI in XIP mode - it expects the next read.&lt;/p&gt;
&lt;p&gt;Workaround: Issue a dummy read via task (and not via XIP). CSn will be set to high after this read.&lt;/p&gt;
&lt;p&gt;This will also improve current consumtion, since most QSPI flash chips consume more if CS is pulled low.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>