I'm noticing unexpected behavior when programming the SRIO module and i have some doubt about the shadow registers.
In my project i've taken the LOCK of the Shadow Registers of the LSU0 and i have some function for setup the LSU.registers 0-4 and another for trigger the transmission writing in the LSU register 5.
But reading via Watch Window the values in the LSU reg i found values mismatching the data i've written (For example LSU REG 4 = 0x0 whatever i've written in it.)
My doubt is: Any access to a certain LSU REG after the lock corresponds to using a new set of the shadow registers until i've them available?
Because for readability pourpose i'm using different function to write in the same shadow register using OR masking (For example i made 3 writes in LSU REG 4) while using a unique function to write the single register simultaneously i don't have this problem...
Is my assumption correct or there are some other problems?