cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
100 Views
Registered: ‎10-31-2019

Can bus RXFIFO ID register changed in RX interrupt even if interrupts disabled while debugging.

Hello,

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.

Extra information:

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)

So,

Why this behaviour happens ? Do you have any idea ? 

Thanks.

 

0 Kudos