Hi Nam,
I did not mention, that this is with Vector AUTSAR implementation.
When I say "I do not write ICPR for my IRQ" I mean that my interrupt handler function does not ACK the IRQ via ICPR register. And this works on my bare metal implementation.
When I switch to Vector AUTOSAR, I need to ACK category 1 interrupts by writing to the ICPR register in my interrupt handler function.
I am counting the number of interrupts per second and printing it. In bare metal implementation I am getting the expected number of interrupts during second. In AUTOSAR I am counting my Cat1 IRQs during 1 second and also printing. Here the number is about 2 times higher than on bare metal.
My interrupt source generates known number of interrupts per second.
Regards,
Jakub