I have been trying to resolve this issue for several days and I can't find the root cause.
The Main program uses def21489.h
Include file def21489.h has BIT_11 defined correctly
App.ldf defines correct Architecture
Why does CLKPL display as 0x00000800?
The CLKPL register value and the macro definition are not the same.
I am using CCES version 184.108.40.206. Why doesn't the Macro Expansion display the correct value as well?
The register browser displays the value of the CLKPL bitfield of register SPICTL.The CLKPL macro defined in def21489.h is a bit mask that can be used to manipulate accesses of SPICTL - it is not the value held in that bitfield.If you want to access the value of a bitfield you might do an access of the register using these macros, for example *pSPICTL&CLKPL.