<?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: AHB SRAM or loading cause CDC/VCOM USB stop working in LPC4337 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/AHB-SRAM-or-loading-cause-CDC-VCOM-USB-stop-working-in-LPC4337/m-p/524826#M7462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Thu Dec 11 08:57:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;1) when any code like memcpy access the AHB SRAM, USB stops working&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using the first AHB SRAM space starting from 0x2000 0000 for other purpose, assign another bank of AHB SRAM (0x2000 8000) to the working space of the USB ROM API, so that DMAs work simultaneously over the multi-layer AHB matrix.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; usb_param.mem_base = 0x20008000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;But after I add more codes (basically computation complex stuff) in context of IRQ. Then USB stops.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;USB ROM API is also driven by interrupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assign higher priority to the USB interrupt than the interrupt of your complex stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:53:10 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:53:10Z</dc:date>
    <item>
      <title>AHB SRAM or loading cause CDC/VCOM USB stop working in LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/AHB-SRAM-or-loading-cause-CDC-VCOM-USB-stop-working-in-LPC4337/m-p/524825#M7461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jpplus on Thu Dec 11 01:55:48 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the ROM API CDC VCOM to develop a 4337 USB application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The observations are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) when any code like memcpy access the AHB SRAM, USB stops working&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) when system loading is high, USB stop working. I have a DMA interrupt handler, USB can work correctly. But after I add more codes (basically computation complex stuff) in context of IRQ. Then USB stops.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;USB stops means USB device show as a serial port in PC, and I uses some console app like Putty to receice data from this USB virutal serial port, but after accessing the AHB SRAM or adding computation complex stuff, there is no data can be receiced from Putty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it is very strange, any ideas or hints are welcome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/AHB-SRAM-or-loading-cause-CDC-VCOM-USB-stop-working-in-LPC4337/m-p/524825#M7461</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: AHB SRAM or loading cause CDC/VCOM USB stop working in LPC4337</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/AHB-SRAM-or-loading-cause-CDC-VCOM-USB-stop-working-in-LPC4337/m-p/524826#M7462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Thu Dec 11 08:57:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;1) when any code like memcpy access the AHB SRAM, USB stops working&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using the first AHB SRAM space starting from 0x2000 0000 for other purpose, assign another bank of AHB SRAM (0x2000 8000) to the working space of the USB ROM API, so that DMAs work simultaneously over the multi-layer AHB matrix.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; usb_param.mem_base = 0x20008000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;But after I add more codes (basically computation complex stuff) in context of IRQ. Then USB stops.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;USB ROM API is also driven by interrupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assign higher priority to the USB interrupt than the interrupt of your complex stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/AHB-SRAM-or-loading-cause-CDC-VCOM-USB-stop-working-in-LPC4337/m-p/524826#M7462</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:10Z</dc:date>
    </item>
  </channel>
</rss>

