changing the AHB Matrix priorities

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

changing the AHB Matrix priorities

603件の閲覧回数
ankish_kacktwan
Contributor I

How can we change the AHB Matrix priorities in lpc1779 device?

ラベル(1)
0 件の賞賛
3 返答(返信)

518件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

LPC177x has Matrix Arbitration register
The Matrix Arbitration register provides the ability to change the default AHB Matrix arbitration priorities.

Please see MATRIXARB in UM.


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛

518件の閲覧回数
ankish_kacktwan
Contributor I

can it be changed for LPC1778 device as well 

because i can not see any MATRIXARB register in LPC177x_8x.h

0 件の賞賛

518件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

According to UM, Matrix Arbitration register physically exists in LPC177x/8x. 

I check one of lpcopen, lpcopen_2_10_lpcxpresso_ea_devkit_1788, MATRIXARB is defined in sysctl_17xx_40xx.h.

if your project don't have it, you can define it as below:

#define MATRIX_ARB  (*(volatile U32*)(0x400FC188))
  MATRIX_ARB = 0            // Set AHB Matrix priorities [0..3] with 3 being highest priority
               | (1 <<  0)  // PRI_ICODE : I-Code bus priority. Should be lower than PRI_DCODE for proper operation.
               | (3 <<  2)  // PRI_DCODE : D-Code bus priority.
               | (0 <<  4)  // PRI_SYS   : System bus priority.
               | (0 <<  6)  // PRI_GPDMA : General Purpose DMA controller priority.
               | (0 <<  8)  // PRI_ETH   : Ethernet: DMA priority.
               | (3 << 10)  // PRI_LCD   : LCD DMA priority.
               | (0 << 12)  // PRI_USB   : USB DMA priority.
              ; 
  //MATRIX_ARB = 0x00000C09;

Have a nice day,

Jun Zhang

0 件の賞賛