I am trying to use PS Can controller and RX related registers changed in interrupt handler. Here is my scenerio :
1- I put debug point in the beginning of RX interrupt handler.
2- When execution stop at this debug point, I am checking register value using Memory Window and all registers value is correct at this point.
3- When I press Step Over Button(F6), RXFIFO_ID, RXFIFO_DLC and RXFIFO_DW1 registers information changed. But I cant find out why.
I set IER register value to 0 in the beginning of interrupt. And I set TXOK and RXNEMP interrupts again in the end of the interrupt handler.
Hardware: Myir Z-Board (it contains zynq)
Why this behaviour happens ? Do you have any idea ?