Other Parts Discussed in Thread: MSP430WARE
Hi, I have a MSP430 F5310. I want the CPU to run at the maximum speed possible. I think that would be 25MHz system frequency.
I have a reference code below and I think it is set up to only run at 7.8MHz?
// Initialize DCO to 7.3728MHz
__bis_SR_register(SCG0); // Disable the FLL control loop
UCSCTL0 = 0x0000; // Set lowest possible DCOx, MODx
UCSCTL1 = DCORSEL_5; // Select DCO range 24MHz operation
UCSCTL2 = FLLD_1 | 224; // Set DCO Multiplier for 7.372800MHz (224+1)*32768 =7372800
__bic_SR_register(SCG0); // Enable the FLL control loop
I don't have an external oscillator so I have to use the internal DCO one I think.
Thanks