<?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: EMC with SRAM misses some Chipselects in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/518000#M2454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by broky on Mon May 18 00:16:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answers. I modified my code using LPC_SC-&amp;gt;EMCCLKSEL = 1 but nothing really changed. The bus should run at 48MHz now. I must have missed this important speed constraint in the datasheet. I didn't alter the timings for the memory. So I'm still wondering what's going on. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:31:32 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:31:32Z</dc:date>
    <item>
      <title>EMC with SRAM misses some Chipselects</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/517996#M2450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by broky on Wed May 13 09:00:18 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at the moment I'm trying to connect a IS61WV12816DBLL-10 SRAM to the EMC of my LPC1788 custom board. If I use the EMC in 16 wide mode, I sometimes have problems writing values to the SRAM. One of 100 bytes will be skipped. A look on the scope shows why (See attachment). The chip select active low signal is missing time by time. But at the moment there is no other memory on the bus. The SRAM contains my framebuffer that is displayed by the LCD Peripheral. The LCD part is working properly because in 8 bit EMC mode the image is correct and the scope does not show any missing chip selects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bus is running at 96MHz like you can see in the timing register screenshot attachment. I also post my EMC configuration registers for 16 bit mode. Does anyone have an idea what's going wrong here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:31:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/517996#M2450</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: EMC with SRAM misses some Chipselects</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/517997#M2451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Wed May 13 11:32:36 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought that the maximum EMC clock speed is 80 MHz [from the 1778/1788 datasheet].&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps running above the rated maximum [96 MHz] is causing your problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/517997#M2451</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: EMC with SRAM misses some Chipselects</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/517998#M2452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Wed May 13 13:04:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi broky,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned by Mike the maximum EMC speed is 80MHz. You have two below options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Run Core at 120MHz and EMC at 80MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Run Core at 80MHz and run EMC at 80MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please check if project works with above mentioned clock settings?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt;&lt;SPAN&gt; As pointed by MIke in below reply&amp;nbsp; Option 1 had typo. The two options are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Run Core at 120MHz and EMC at 60MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Run Core at 80MHz and run EMC at 80MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Mike for pointing it out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/517998#M2452</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: EMC with SRAM misses some Chipselects</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/517999#M2453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Thu May 14 02:48:33 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mc&lt;/STRONG&gt;&lt;BR /&gt;Hi broky,&lt;BR /&gt;As mentioned by Mike the maximum EMC speed is 80MHz. You have two below options.&lt;BR /&gt;&lt;BR /&gt;1) Run Core at 120MHz and EMC at 80MHz&lt;BR /&gt;or &lt;BR /&gt;2) Run Core at 80MHz and run EMC at 80MHz.&lt;BR /&gt;&lt;BR /&gt;Can you please check if project works with above mentioned clock settings?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Typo in "1)" Should be Run Core as 120MHz and EMC at &lt;/SPAN&gt;&lt;STRONG&gt;60&lt;/STRONG&gt;&lt;SPAN&gt;MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I.e EMC = CCLK/2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For 2) EMC = CCLK (divide by 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/517999#M2453</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: EMC with SRAM misses some Chipselects</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/518000#M2454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by broky on Mon May 18 00:16:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answers. I modified my code using LPC_SC-&amp;gt;EMCCLKSEL = 1 but nothing really changed. The bus should run at 48MHz now. I must have missed this important speed constraint in the datasheet. I didn't alter the timings for the memory. So I'm still wondering what's going on. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EMC-with-SRAM-misses-some-Chipselects/m-p/518000#M2454</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:31:32Z</dc:date>
    </item>
  </channel>
</rss>

