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

Really strange problem configuring the PCA

Hello all,
This is a really strange problem i have just encountered.

to simplify i am trying to load values AABB CCDD EEFF into the pca capture regs.

So the code to do this should simply be:

PCA0CPL0 = 0xBB; PCA0CPL1 = 0xDD; PCA0CPL2 = 0xFF; PCA0CPH0 = 0xAA; PCA0CPH1 = 0xCC; PCA0CPH2 = 0xEE;
(this is generate by config2)

however when using the debugger i can see that

PCA0CP0 = 0xCCBB

PCA0CP1 = 0xEEDD

PCA0CP2 = 0xAAFF

It looks like miss-mapped registers.

So my question is, is this a known issue with the header file? Are there any other known issues like this?
Thanks,
Tom

0