Hello,
We are configuring interrupt for Timer3, Following are the setting for that
1> // Configure the Timer for 1ms on 20 mhz in auto-reload mode. (previously did for IPU2 which was working properly)
2> // on location 0x48211108 set 7th bit (0x00000080) i.e. 71th bit from 0x4821100 (Interrupt Set-Enable Registers)
App_GICD_ISENABLE_64_127.IRQ_Bit7 = 1;
2> // Enable the Distributor and CPU interface enable bit at 0x48211000 and 0x48212000 location respectively.
App_INTC_GICD_CTLR.INT_ENABLE = 0x01;
App_INTC_GICC_CTLR.INT_ENABLE = 0x01;
3> // Enable the interrupt for Timer3 and start the Timer.
While doing above configuration we are able to get interrupt in vector table on IRQHandler location.
In IRQHandler when we read the GICC_IAR reg. (0x4821200C) to find out Interrupt ID getting the value 0x3FF i.e. 1023 in decimal.
As per our understanding when we read GICC_IAR reg it should return 0x47 i.e. 71 in decimal
As we did same procedure for Timer4, GICC_IAR again return the same value.
Please suggest are we on correct path and also suggest if any configuration is missing.
Thanks,
Harshalkumar Shinde