This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

uint32 got copied wrong? (Bit error while debugging)

Hi,

I am struggling with I2S. While I was debugging my I2S data handler function, I found something interesting. I copy one element from a uint32 buffer into a (static volatile) uint32 variable and the values are not the same! Here is a screenshot:

image description

And here is the relevant disassembly:

image description

Can anyone explain?

Thanks,

NewtoM

Related