Tool/software: Code Composer Studio
Hi,
The datasheet mentions
1.) 2.5.1.10 Clock Source Disable Register (CSDIS)
2.) 2.5.1.11 Clock Source Disable Set Register (CSDISSET)
3.) 2.5.1.11 Clock Source Disable Clear Register (CSDISCLR)
4.) 2.5.1.19 Clock Source Valid Status Register (CSVSTAT)
In code (and in the memory browser), I did a quick test to disable the Clock Source 1, the PLL1. In code, I disable PLL1 by setting bit 1 to 1 for CSDIS. Bit 1 is now set in both CSDISSET and CSDISCLR, and CSVSTAT shows bit 1 as 0, which indicates PLL1 is invalid. What I'm not expecting is CSDISCLR is also set to 1, which means the clock source is set to enabled state, but I just disabled it.
Next, I reset the system and do the same thing, except using the CSDISSET register bit 1. Bit 1 is set in both CSDIS and CSDISCLR register, and CSVSTAT bit 1 shows 0, which indicates PLL1 is valid. CSDISCLR is set to 1, which is not what I'm expecting.
So, from my testing, it feels like CSDIS and CSDISSET is mirrored from CSDISCLR, and CSVSTAT reflects the change as well.
CSDIS and CSDISCLR are mirrored from CSDISSET, and CSVSTAT reflects the change as well.
The above testing was done on the RM48L952PGE package.