Hello,
If I boot up C6748 LCDK board with GEL file (C:\ti\ccsv5\ccs_base\emulation\boards\lcdkc6748\gel\C6748_LCDK.gel) I got following output.
C674X_0: Output: Target Connected.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: Memory Map Cleared.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: Memory Map Setup Complete.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: PSC Enable Complete.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: PLL0 init done for Core:300MHz, EMIFA:25MHz
C674X_0: Output: DDR initialization is in progress....
C674X_0: Output: PLL1 init done for DDR:150MHz
C674X_0: Output: Using DDR2 settings
C674X_0: Output: DDR2 init for 150 MHz is done
C674X_0: Output: ---------------------------------------------
I would like to confirm if EMIFA really is working with 25 MHz clock not 100 MHz what is its maximum. Currently writing 3 MB file to NAND takes 3.1 s (basically using example from C:\Program Files\Texas Instruments\pdk_C6748_2_0_0_0\biospsp_03_00_01_00\drivers\examples\evm6748\nand).
SYSCFG0 / CFGCHIP3 / EMA_CLKSRC is 0 - PLLCTRL_SYSCLK3
PLL0 / PLLCTL / CLKMODE is 0 - OSCIN
PLL0 / PLLM is 0b11000 (24)
PLL0 / POSTDIV is 1
PLL0 / PLLDIV3 is 0b01011 (11)
On TMS320C6748 DSP Technical Reference Manual http://www.ti.com/lit/ug/spruh79a/spruh79a.pdf, page 122 is said:
The output of the PLL multiplier passes through a post divider (POSTDIV) block and then is applied to the
system of PLLDIV blocks that creates each of the system clock domains (SYSCLK1 to SYSCLK7). Each
SYSCLKn has a PLLDIVn block associated with it.
I have not figured out yet what my input clock really is. If it is external oscillator it will be 24 MHz (LCDK board has external 24 MHz oscillator)
If we calculate EMIFA clock assuming our input clock is 24 MHz we get: 24 MHz * PLLM / POSTDIV / PLLDIV3 = 24 * 24 / 1 / 11 = 52 MHz. This clearly is not 25 MHz as stated in GEL file.
Question is what is the input clock frequency in case: PLL0 / PLLCTL / CLKMODE is 0 - OSCIN. If I know that I could change PLLDIV3 to get around 100 MHz NAND clock.