<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: MCF5329, SDRAM</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188856#M8107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I refer to how reads and writes in SDRAM. I want an example of how it is used, not how it initializes&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2008 18:32:12 GMT</pubDate>
    <dc:creator>VeronicaFNX</dc:creator>
    <dc:date>2008-02-12T18:32:12Z</dc:date>
    <item>
      <title>MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188852#M8103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I have to work with SDRAM. Can anyone give an example on its management?&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I have never worked with it&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Veronica&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 17:25:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188852#M8103</guid>
      <dc:creator>VeronicaFNX</dc:creator>
      <dc:date>2008-02-12T17:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188853#M8104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;what do you mean by "management"? As long as you do not use special low-power modes or switching of the PLL, you just set the controller up with a special initialization sequence (which depends on type of SDRAM you use) and then use the configured memory area.&lt;BR /&gt;&lt;BR /&gt;I only used Mobile-DDR SDRAM on my MCF5373L, so I am not sure if I can answer all regular or standard DDR SDRAM questions, but if you have more specific problems, I will try to help.&lt;BR /&gt;&lt;BR /&gt;For switching of the PLL, I did not manage to do this myself, so I can not be of help in case there are problems in this area...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Wolfgang&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 17:43:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188853#M8104</guid>
      <dc:creator>w_wegner</dc:creator>
      <dc:date>2008-02-12T17:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188854#M8105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;management -&amp;gt;&amp;nbsp;&amp;nbsp;It means an example of how to use SDRAM&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 17:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188854#M8105</guid>
      <dc:creator>VeronicaFNX</dc:creator>
      <dc:date>2008-02-12T17:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188855#M8106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;if you mean the initialization sequence, just share with us which SDRAM component you are using, then we can probably give you some values.&lt;BR /&gt;&lt;BR /&gt;Wolfgang&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 17:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188855#M8106</guid>
      <dc:creator>w_wegner</dc:creator>
      <dc:date>2008-02-12T17:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188856#M8107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I refer to how reads and writes in SDRAM. I want an example of how it is used, not how it initializes&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 18:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188856#M8107</guid>
      <dc:creator>VeronicaFNX</dc:creator>
      <dc:date>2008-02-12T18:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188857#M8108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Then again you must specify what you have and want to know.&lt;BR /&gt;&lt;BR /&gt;Which programming language, which operating system (or other environment)? In C you just set a pointer to a memory region in SDRAM and access it, where you get the pointer (malloc() or plain hand-coded address) depends on your operating system or environment.&lt;BR /&gt;&lt;BR /&gt;Maybe I do not get your problem, but I can not really see a problem up to now...&lt;BR /&gt;&lt;BR /&gt;Wolfgang&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 18:40:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188857#M8108</guid>
      <dc:creator>w_wegner</dc:creator>
      <dc:date>2008-02-12T18:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188858#M8109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Well ... I still have not done anything but I do not know where to start, so asking for help. I have to write data into memory and then read them.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;The microcontroller is a coldfire m5329 and the code is in C.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;If you can not help me, it does not matter, I will try to do something&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 18:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188858#M8109</guid>
      <dc:creator>VeronicaFNX</dc:creator>
      <dc:date>2008-02-12T18:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188859#M8110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The address range for SDRAM starts at 0x40000000 on the MCF5329.&lt;BR /&gt;So assuming the SDRAM is mapped starting at this address and there is nobody else (no OS) using it, just use a pointer set to the address.&lt;BR /&gt;&lt;BR /&gt;Just as an example, if you want to have two arrays of 256 Bytes each and a struct in memory:&lt;BR /&gt;&lt;BR /&gt;unsigned char *array_1, *array_2;&lt;BR /&gt;typedef struct _s_data_struct {&lt;BR /&gt;int a;&lt;BR /&gt;int b;&lt;BR /&gt;int c;&lt;BR /&gt;} s_data_struct;&lt;BR /&gt;s_data_struct *data;&lt;BR /&gt;&lt;BR /&gt;array_1 = (unsigned char *)0x40000000;&lt;BR /&gt;data = (s_data_struct *)0x40000000 + 256; /* reserve space for array data */&lt;BR /&gt;array_2 = (unsigned char *)0x40000000 + 256 + sizeof(s_data_struct); /* reserve space for first array and struct data */&lt;BR /&gt;&lt;BR /&gt;Then use it like always:&lt;BR /&gt;array_1[0] = 0x0;&lt;BR /&gt;data-&amp;gt;a = 2;&lt;BR /&gt;&lt;BR /&gt;and so on...&lt;BR /&gt;&lt;BR /&gt;You will have to use typecasts to avoid compiler warnings and I am always not sure about the order of the typedef, but for a starting point I hope it helps?&lt;BR /&gt;&lt;BR /&gt;Wolfgang&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 20:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188859#M8110</guid>
      <dc:creator>w_wegner</dc:creator>
      <dc:date>2008-02-12T20:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5329, SDRAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188860#M8111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Something like this was what I needed&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 23:12:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5329-SDRAM/m-p/188860#M8111</guid>
      <dc:creator>VeronicaFNX</dc:creator>
      <dc:date>2008-02-12T23:12:58Z</dc:date>
    </item>
  </channel>
</rss>

