Hi,
I'am using the TMS320C6670 DSP and pdk_C6670_1_1_2_6. And I want to increase the CPU frequency from default 983,04 MHz to 1200MHz as it is allowed in the manual.
So I call the platform_init function like this:
platform_init_flags init_flags;
platform_init_config init_config;
platform_info p_info;
/* Turn on all the platform initialize flags */
memset(&init_config, 0, sizeof(platform_init_config));
memset(&init_flags, 0x01, sizeof(platform_init_flags));
init_flags.phy = 1;
init_config.plld = 1;
init_config.pllm = 20;
init_config.prediv = 1;
init_config.postdiv = 2;
platform_init(&init_flags, &init_config);
In that case the multiplier works just like I wanted. But seems to be that any of the divider is not working at all. Basically I can write whatever I want there and the frequency will be the same. I saw some thread on forum that Keystone I doesn't have Post divider block. Ok. But what with the other two?
The reason I'am asking is that with only a multiplier I can get either 1.2288 GHz (PLLM = 20) or 1.1674 GHz (PLLM = 19). If the first option doesn't count as overclocking then it will do for me, but if it does I wanted to establish PLLM = 39 and PLLD = 2, so the CPU frequency would be like 1.1981 GHz. Clock frequency is 122.88 MHz. Current frequency I'am checking with platform_get_frequency() API.
Best Regards,
Pavlo!