This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set AHB Matrix priorities in LPC4370

Hi,
I want to set access priorities for the AHB bus, But I can not find which register to modify in RefManual, I have found this useful for LCD driver in LPC1788 LCD driver,

The code there is something like this,But unfortunately the addresses seems to changed,So do you know which register should I change?

This code is part of LPC1788 LCD driver


#define MATRIX_ARB  (*(volatile U32*)(0x400FC188))

  //
  // Setup BUS priorities
  //
  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.
               | (2 <<  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.
               ;