This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/MSP430F425: clock MSP430F425

Part Number: MSP430F425

Tool/software: TI C/C++ Compiler

hi , 

I want to control the clock of the system for 1mhz
The configuration is as follows:

     FLL_CTL0 | = XCAP10PF;
   SCFI0 = FLLD_1; / * Freq = 1.024MHz * /
     SCFQCTL = 32-1;
     FLL_CTL0 | = DCOPLUS;

The first question is what it is just !!
  I want to know the clock storage registry where I will find the system clock to put a condition on that clock !!

  • Hi arfaoui,

    By default the system runs at 1048576 MHz (DCOPLUS = 0 so fDCOCLK = (N+1)fcrystal = (31+1)32768 = 1048576). If DCOPLUS = 1 then the FLLDx bits factor into the equation (fDCOCLK = D(N+1)fcrystal) but the value of 1 leaves the same result as before. So this code should operate the DCO at ~1 MHz. Do you have a 32 kHz crystal correctly populated at LFXT1 to drive the FLL? Output the SMCLK onto a pin to validate its proper frequency.

    Regards,
    Ryan

**Attention** This is a public forum