AnsweredAssumed Answered

how to change IRQ for adi_uart driver ?

Question asked by Remy on Mar 22, 2010
Latest reply on Mar 24, 2010 by Andreas



I am using the adi_uart driver on a BF526 and i would like to change the interrupt vector for the UART0 resource.


Looking into the adi_uart driver documentation, it says that the resource must be set before init the driver.

I do this using :


//Set UARTO RX-TX interrupt priority to IVG14
*pSIC_IAR2 = (*pSIC_IAR2 & 0x00FFFFFF) | (0x77000000 & 0xFF000000);


but it doesn't work.


Has anyone an idea of what i am doing wrong ?


Best regards,