<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>How to read out the erased location of the external QSPI flash through QSPI DMA ENC (Cipher)?</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87380/how-to-read-out-the-erased-location-of-the-external-qspi-flash-through-qspi-dma-enc-cipher</link><description>Dear, 
 
 We enabled QSPI DMA Encryption to cipher the external QSPI communication with enabling NRF_QSPI_HAS_DMA_ENC. So, QSPI DMA communication worked well. 
 However, when read out the erased area (supposed to be erased as 0xFF), the read data looked</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Thu, 28 Apr 2022 13:39:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87380/how-to-read-out-the-erased-location-of-the-external-qspi-flash-through-qspi-dma-enc-cipher" /><item><title>RE: How to read out the erased location of the external QSPI flash through QSPI DMA ENC (Cipher)?</title><link>https://test-devzone.nordicsemi.com/thread/365448?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 13:39:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ead1b3d9-2bb4-40d4-ad37-cce6b992a92b</guid><dc:creator>user2116</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This is to be expected. When encryption is enabled the QSPI module will assume that all the data is encrypted, and will attempt to decrypt it. When you decrypt an empty page the result will change, and you will get some pseudo random data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should be possible to disable the encryption feature temporarily, if you want to check if a certain area of the flash is 0xFF. Just keep in mind that as long as it is disabled you won&amp;#39;t be able to read the encrypted data properly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>