This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

xdata and data segment

Hello,

Could using xdata or ram able to change the behavior of the code in C?

I am just wondering when I use xdata i in a for loop (i=0; i<100; i++) compared to data, I would get timing different between this two data segment.

Can anyone advise when is the right time to use xdata or ram data?

I am run out of ram data, when i try to use xdata in some function, compilation works fine, but the I2C function doesn't work as expected anymore.

0