Hi all,
I'm using an msp430g2553. I'm currently sourcing Timer A and ADC10 from SMCLK. I am unclear about what all of the clocks are used for. I know that SMCLK is generally used for timers, adc, usci, etc and MCLK is used for the CPU. I am not sure what ACLK is used for. My timer A and adc are currently working as expected (correct frequency). I'm not sure if I need to set anything up for ACLK and MCLK through BCSCTL. What is the basic clock system control? Any documents would be much appreciated!
Working off of an example for setting up ACLK w/o the crystal, I have the code below. Is this necessary?
//source ACLK from VLO (12 kHz)
//XTS -> 0 : low-frequency mode
BCSCTL1 &= ~XTS;
//LFTXT1S -> 2 : LFXT1 low frequency clock selected as VLOCLK
BCSCTL3 |= LFXT1S_2;
Thanks!