I use DEVKIT-MPC5748G development board to study AUTOSAR MCAL.
When I use MCAL 4.3.1 to develop Ethernet driver, I find the receivement interrupt handler of Ethernet has an input parameter,which make me confused.
Because I don't know where this parameter comes from and what determines the value of this parameter.
Unfortunately,when I use PC to send an Ethernet frame to the board,this parameter of receivement interrupt handler always be 24.That is wrong, because the value of parameter can only be evaluated from 1 to 3。
When interrupt handler receive that wrong value, the function can't handle so that the interrupt flag bit cannot be cleared.
Eth_RxIrqHdlr_0 is Ethernet receivement interrupt handler, u8QueueIdx is the input parameter.