Problem description:
All my files will compile correctly, my error comes during runtime. If I try to set register TA0R with a value it will not load the value correctly.
Example:
TA0R = 0x1234
It seems to store the High byte of the argument into the Low byte of the register. So if I use IAR to look into the register after this command, then TA0R = 0x0012
I’m positive it has something to do with how it is mapped in the header file “msp430x552x.h”
I know this because when I remove the declaration of this register in that file and replace it with the one given in the file “io430x552x.h”, it works correctly.
Now my question is who creates these header files? Is it TI or someone else? Is there an update for these files? If so, how do I get them?