Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi
I have two osclillator one 14.7456Mhz that drives the SYSPLL to obtain 199.065.600Hz for the C28. The other is 50MHz and is connected to GPIO133, I would like use this oscillator to drive the AUXPLL to obtain 125MHz for the CM.
I modify the f2838x_sysctrl.c as below:
//
// Multipliers and dividers to configure 199.0656MHz SYSPLL output from 14.7456MHz XTAL
//
#define SYS_IMULT IMULT_27
#define SYS_REFDIV REFDIV_1
#define SYS_ODIV ODIV_2
#define SYS_DIV PLLCLK_BY_1
//
// Multipliers and dividers to configure 125MHz AUXPLL output from 50MHz XTAL
//
#define AUX_IMULT IMULT_40
#define AUX_REFDIV REFDIV_4
#define AUX_ODIV ODIV_4
#define AUX_DIV AUXPLLRAWCLK_BY_1
#endif
but the AUXPLL fail ti setup since the IsPLLValid fails since it was not possible to use the auxclkin in the DccRegs->DCCCLKSRC0 register.
Best regards
 
				 
		 
					 
                           
				

