<?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>topic Re: How to find the correct timming values for the SDRAM controller in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-find-the-correct-timming-values-for-the-SDRAM-controller/m-p/562388#M16481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Oct 04 04:44:19 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Lars,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course a lot of things depend on the type of SDRAM connected to the LPC4350.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Excel file is attached. It contains calculation for a different SDRAM (32-bit SDRAM).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the comment "// calculated from xls sheet" was left in the code but the value changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, we are currently reviewing all these drivers for various platforms, if we identify problems we will try to fix them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is init code attached which works for the Hitex board, but I wouldn't call it reference code. I know that it works on 96MHz EMC frequency, for 102 MHZ I need to do some tests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Technical Support Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:44:30 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:44:30Z</dc:date>
    <item>
      <title>How to find the correct timming values for the SDRAM controller</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-find-the-correct-timming-values-for-the-SDRAM-controller/m-p/562387#M16480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larsjep on Wed Oct 03 08:09:59 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I having some trouble understanding how the timming values are calculated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I look in lpc43xx_emc.c (from the PDL) line 198, there is a comment saying: "// calculated from xls sheet"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this xls sheet available somewhere ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ex. if I look at the value for DYNAMICRP it is set to 1. (in lpc43xx_emc.c line 198)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This should give a tRP of 2xCLK = 19.6ns (When running at 102Mhz)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the datasheet for the SDRAM on the Hitex board states minimum 20ns (-7 speed)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shouldn't the DYNAMICRP be set to 2 then ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or should the EMC_CLK_DELAY also be involved in the calculation ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also the DYNAMICRAS seems incorrect. This is set to 3 =&amp;gt; 39.2ns, but the datasheet for the RAM states minimum 42ns&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Lars &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-find-the-correct-timming-values-for-the-SDRAM-controller/m-p/562387#M16480</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the correct timming values for the SDRAM controller</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-find-the-correct-timming-values-for-the-SDRAM-controller/m-p/562388#M16481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Oct 04 04:44:19 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Lars,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course a lot of things depend on the type of SDRAM connected to the LPC4350.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Excel file is attached. It contains calculation for a different SDRAM (32-bit SDRAM).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the comment "// calculated from xls sheet" was left in the code but the value changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, we are currently reviewing all these drivers for various platforms, if we identify problems we will try to fix them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is init code attached which works for the Hitex board, but I wouldn't call it reference code. I know that it works on 96MHz EMC frequency, for 102 MHZ I need to do some tests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Technical Support Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-find-the-correct-timming-values-for-the-SDRAM-controller/m-p/562388#M16481</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the correct timming values for the SDRAM controller</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-find-the-correct-timming-values-for-the-SDRAM-controller/m-p/562389#M16482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by VijayM on Thu Dec 13 01:14:37 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In excel sheet from whered does tSUd in front of CAS1, CAS2, CAS3 is picked? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is this tSUd?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-find-the-correct-timming-values-for-the-SDRAM-controller/m-p/562389#M16482</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:30Z</dc:date>
    </item>
  </channel>
</rss>

