This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

66AK2L06: K2L ARM core interrupt configuration

Part Number: 66AK2L06


Configured UART RX interrupt on K2L arm core. IPR register (interrupt pending register) is set on UART Rx interrupt, but IAR register (interrupt Active Register ) is not set, i.e the core has not received the interrupt. 

Crossbar registers are not pat of ARM core in K2L.

Portion of code is here with:

int main(void)
{
int readdata =0;


platform_uart_init();
UartINTCConfigure();
IntEnableSecureMode(277);
UartWriteData(0x32);

while(1);

}

static void UartINTCConfigure(void)
{

Intc_IntDisable();

/* Initializing the Interrupt Controller. */
Intc_Init();

/* Enable the interrupt */
Intc_IntEnable(0);

/* Registering the Interrupt Service Routine(ISR). */

Intc_IntRegister(277, (IntrFuncPtr) UARTIsr, NULL);

/* Setting the priority for the UART interrupt in INTC. */

Intc_IntPrioritySet(277, 2, 0);

Intc_SystemEnable(277);

}