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.

AM3352 : how to configure 300Mhz CPU clock?

Hi,

I'm now using AM3352BZCED30(that is, 300Mhz) with EZSDK 5.5.

Since the CPU supports up to 300Mhz, I'd like to configure its cpu clock as 300Mhz. Currently, VDD_core is 1.1V. But clocks_am335x.h has only following configuration.

There is no setting value for 300Mhz and now MPUPLL_M_500 is being used. What should I do for 300Mhz support?

There will be no issue even though I use MPUPLL_M_500?

#ifndef _CLOCKS_AM335X_H_
#define _CLOCKS_AM335X_H_

/* Put the pll config values over here */

#define OSC 24

/* MAIN PLL Fdll = 1 GHZ, */
#define MPUPLL_M_500 500 /* 125 * n */
#define MPUPLL_M_550 550 /* 125 * n */
#define MPUPLL_M_600 600 /* 125 * n */
#define MPUPLL_M_720 720 /* 125 * n */

#define MPUPLL_N 23 /* (n -1 ) */
#define MPUPLL_M2 1

/* Core PLL Fdll = 1 GHZ, */
#define COREPLL_M 1000 /* 125 * n */
#define COREPLL_N 23 /* (n -1 ) */

#define COREPLL_M4 10 /* CORE_CLKOUTM4 = 200 MHZ */
#define COREPLL_M5 8 /* CORE_CLKOUTM5 = 250 MHZ */
#define COREPLL_M6 4 /* CORE_CLKOUTM6 = 500 MHZ */

/*
 * USB PHY clock is 960 MHZ. Since, this comes directly from Fdll, Fdll
 * frequency needs to be set to 960 MHZ. Hence,
 * For clkout = 192 MHZ, Fdll = 960 MHZ, divider values are given below
 */
#define PERPLL_M 960
#define PERPLL_N 23
#define PERPLL_M2 5

/* DDR Freq is 266 MHZ for now*/
/* Set Fdll = 400 MHZ , Fdll = M * 2 * CLKINP/ N + 1; clkout = Fdll /(2 * M2) */
#define DDRPLL_M 266
#define DDRPLL_N 23
#define DDRPLL_M2 1

 

Thanks and BR,

Devin