<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックQSPI sample pgm</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/QSPI-sample-pgm/m-p/205590#M4813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to read/write data to external flash using SPI.&lt;BR /&gt;For this, I was referring to the sample program given in "\Freescale MQX 3.2\mqx\examples\qspi".&lt;BR /&gt;&amp;nbsp;I find the following definitions there:&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;/* The 25LC640 QSPI Serial EEPROM instructions */&lt;BR /&gt;#define TEST_ROM_WRITE_STATUS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01&lt;BR /&gt;#define TEST_ROM_WRITE_DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x02&lt;BR /&gt;#define TEST_ROM_READ_DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x03&lt;BR /&gt;#define TEST_ROM_RESET_WRITE_ENABLE_LATCH 0x04&lt;BR /&gt;#define TEST_ROM_READ_STATUS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x05&lt;BR /&gt;#define TEST_ROM_SET_WRITE_ENABLE_LATCH&amp;nbsp;&amp;nbsp; 0x06&lt;BR /&gt;-----------------------------------------------&lt;/P&gt;&lt;P&gt;- Where are these definitions derived from?&lt;BR /&gt;- Will these definitions remain the same if I connect a SDRAM card instead of EEPROM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ctl in use is M52259.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2009 18:47:04 GMT</pubDate>
    <dc:creator>lel_chen</dc:creator>
    <dc:date>2009-08-06T18:47:04Z</dc:date>
    <item>
      <title>QSPI sample pgm</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/QSPI-sample-pgm/m-p/205590#M4813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to read/write data to external flash using SPI.&lt;BR /&gt;For this, I was referring to the sample program given in "\Freescale MQX 3.2\mqx\examples\qspi".&lt;BR /&gt;&amp;nbsp;I find the following definitions there:&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;/* The 25LC640 QSPI Serial EEPROM instructions */&lt;BR /&gt;#define TEST_ROM_WRITE_STATUS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01&lt;BR /&gt;#define TEST_ROM_WRITE_DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x02&lt;BR /&gt;#define TEST_ROM_READ_DATA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x03&lt;BR /&gt;#define TEST_ROM_RESET_WRITE_ENABLE_LATCH 0x04&lt;BR /&gt;#define TEST_ROM_READ_STATUS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x05&lt;BR /&gt;#define TEST_ROM_SET_WRITE_ENABLE_LATCH&amp;nbsp;&amp;nbsp; 0x06&lt;BR /&gt;-----------------------------------------------&lt;/P&gt;&lt;P&gt;- Where are these definitions derived from?&lt;BR /&gt;- Will these definitions remain the same if I connect a SDRAM card instead of EEPROM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ctl in use is M52259.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 18:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/QSPI-sample-pgm/m-p/205590#M4813</guid>
      <dc:creator>lel_chen</dc:creator>
      <dc:date>2009-08-06T18:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI sample pgm</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/QSPI-sample-pgm/m-p/205591#M4814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;these definitions come from Microchip 25AA640A/25LC640A datasheet (http://ww1.microchip.com/downloads/en/DeviceDoc/21830C.pdf), page #7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SDRAM is really uncompatible with such EEPROMs, primarily due to the fact that SDRAM is accessed with parallel bus instead of serial data access&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 20:49:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/QSPI-sample-pgm/m-p/205591#M4814</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2009-08-06T20:49:43Z</dc:date>
    </item>
  </channel>
</rss>

