<?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: LPC1788, MATRIXARB Register not working properly  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-MATRIXARB-Register-not-working-properly/m-p/524464#M7100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by embd02161991 on Mon Mar 10 15:40:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ROM_LAT bit in the MATRIXARB register should always be 1 . It should not be 0. You are right. The user manual will be updated shortly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since you find no flickering on the LCD when the code is run from internal flash&amp;nbsp; and the flickering occurs only when it is run from external memory, the reason could be that the LCD bus bandwidth could be low .There is a LCD Bandwidth calculator for LPC177x_8x . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flcd-bus-bandwidth-calculator-lpc177x8x" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lcd-bus-bandwidth-calculator-lpc177x8x&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please refer to the calculator for the required bus bandwidth for various LCD resolutions and refresh rates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Tehnical Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:06:50 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:06:50Z</dc:date>
    <item>
      <title>LPC1788, MATRIXARB Register not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-MATRIXARB-Register-not-working-properly/m-p/524463#M7099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by slavka012 on Fri Mar 07 14:37:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Subject: LPC1788, MATRIXARB register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: Hello, I have a project with LCD, SDRAM, FLASH. Untill now all graphics was stored in the on-chip FLASH and everything was working fine. LCD Frame buffer is located in off-chip SDRAM. Now I moved the data to external FLASH chip. Immediately I started getting screen flickering (there is always something drawn on the screen). If I stop refreshing the screen, flickering stops.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I've read a bit and found this register, MATRIXARB. The datasheet suggests to write there&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0x00000C09 in order to give priority to the LCD. So I tried that, and pretty soon the system hangs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to write there the default value (0x0000000D), same result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I tried reading the register: 0x00010004. I've read it both with printfs to serial port, and in a debugger stopped at ResetISR, that is before any code executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So not only this value is different from the specd in datasheet, it contains 1 in bit 16, that according to DS should always be zero:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Table 27. Matrix Arbitration register (MATRIXARB- 0x400F C188) bit description&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11:10 PRI_LCD LCD DMA priority. 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;13:12 PRI_USB USB DMA priority. 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;15:14 - Reserved. Read value is undefined, only zero should be written. NA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16 ROM_LAT ROM latency select. Should always be 0. 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;31:17 - Reserved. Read value is undefined, only zero should be written. NA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate if someone clarifies this to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried writing there also 0x0001C09, that does not seem to have any effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-MATRIXARB-Register-not-working-properly/m-p/524463#M7099</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788, MATRIXARB Register not working properly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-MATRIXARB-Register-not-working-properly/m-p/524464#M7100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by embd02161991 on Mon Mar 10 15:40:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ROM_LAT bit in the MATRIXARB register should always be 1 . It should not be 0. You are right. The user manual will be updated shortly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since you find no flickering on the LCD when the code is run from internal flash&amp;nbsp; and the flickering occurs only when it is run from external memory, the reason could be that the LCD bus bandwidth could be low .There is a LCD Bandwidth calculator for LPC177x_8x . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flcd-bus-bandwidth-calculator-lpc177x8x" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lcd-bus-bandwidth-calculator-lpc177x8x&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please refer to the calculator for the required bus bandwidth for various LCD resolutions and refresh rates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Tehnical Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-MATRIXARB-Register-not-working-properly/m-p/524464#M7100</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:50Z</dc:date>
    </item>
  </channel>
</rss>

