<?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: changing the AHB Matrix priorities in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006960#M39512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to UM,&amp;nbsp;Matrix Arbitration register physically exists in LPC177x/8x.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I check one of lpcopen,&amp;nbsp;lpcopen_2_10_lpcxpresso_ea_devkit_1788,&amp;nbsp;MATRIXARB is defined in sysctl_17xx_40xx.h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your project don't have it, you can define it as below:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#define MATRIX_ARB  (*(volatile U32*)(0x400FC188))&lt;/SPAN&gt;
  MATRIX_ARB &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;            &lt;SPAN class="comment token"&gt;// Set AHB Matrix priorities [0..3] with 3 being highest priority&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_ICODE : I-Code bus priority. Should be lower than PRI_DCODE for proper operation.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_DCODE : D-Code bus priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_SYS   : System bus priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;6&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_GPDMA : General Purpose DMA controller priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_ETH   : Ethernet: DMA priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_LCD   : LCD DMA priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;12&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_USB   : USB DMA priority.&lt;/SPAN&gt;
              &lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; 
  &lt;SPAN class="comment token"&gt;//MATRIX_ARB = 0x00000C09;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2020 08:37:51 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2020-02-11T08:37:51Z</dc:date>
    <item>
      <title>changing the AHB Matrix priorities</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006957#M39509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can we &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;change the AHB Matrix priorities in lpc1779 device?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 09:54:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006957#M39509</guid>
      <dc:creator>ankish_kacktwan</dc:creator>
      <dc:date>2020-02-10T09:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: changing the AHB Matrix priorities</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006958#M39510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LPC177x has&amp;nbsp;Matrix Arbitration register&lt;BR /&gt;The Matrix Arbitration register provides the ability to change the default AHB Matrix arbitration priorities.&lt;/P&gt;&lt;P&gt;Please see MATRIXARB in UM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 11:05:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006958#M39510</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-02-10T11:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: changing the AHB Matrix priorities</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006959#M39511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can it be changed for LPC1778 device as well&amp;nbsp;&lt;/P&gt;&lt;P&gt;because i can not see any&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;MATRIXARB&lt;SPAN style="color: #001000; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;"&gt; register&lt;/SPAN&gt;&lt;/SPAN&gt; in LPC177x_8x.h&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 12:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006959#M39511</guid>
      <dc:creator>ankish_kacktwan</dc:creator>
      <dc:date>2020-02-10T12:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: changing the AHB Matrix priorities</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006960#M39512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to UM,&amp;nbsp;Matrix Arbitration register physically exists in LPC177x/8x.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I check one of lpcopen,&amp;nbsp;lpcopen_2_10_lpcxpresso_ea_devkit_1788,&amp;nbsp;MATRIXARB is defined in sysctl_17xx_40xx.h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your project don't have it, you can define it as below:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#define MATRIX_ARB  (*(volatile U32*)(0x400FC188))&lt;/SPAN&gt;
  MATRIX_ARB &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;            &lt;SPAN class="comment token"&gt;// Set AHB Matrix priorities [0..3] with 3 being highest priority&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_ICODE : I-Code bus priority. Should be lower than PRI_DCODE for proper operation.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_DCODE : D-Code bus priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_SYS   : System bus priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;6&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_GPDMA : General Purpose DMA controller priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;  &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_ETH   : Ethernet: DMA priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_LCD   : LCD DMA priority.&lt;/SPAN&gt;
               &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;12&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// PRI_USB   : USB DMA priority.&lt;/SPAN&gt;
              &lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; 
  &lt;SPAN class="comment token"&gt;//MATRIX_ARB = 0x00000C09;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 08:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/changing-the-AHB-Matrix-priorities/m-p/1006960#M39512</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-02-11T08:37:51Z</dc:date>
    </item>
  </channel>
</rss>

