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.

TMS320 C6748 Increase Clock Speed



I am currently using a development kit with the TMS320 C6748 single core DSP. I noticed that the current clock speed is at 300 MHz, but I wanted to increase this clock speed. Could someone please outline the steps I need to follow in order to increase the clock speed of my DSP?

I found there was a line in soc_c6748.h, and I changed that, but it didn't seem to actually change anything.

Thank you

  • Hello Vignesh,

    You can add a hotmenu for your desired frequency in the GEL file as given below. You can then select the desired frequency under scripts --> frequency settings.

    hotmenu Core_456MHz_mDDR_150MHz() {
        Set_Core_456MHz();
        Set_mDDR_150MHz();
        GEL_TextOut("\t---------------------------------------------\n","Output",1,1,1);
    }
    hotmenu Core_372MHz_mDDR_150MHz() {
        Set_Core_372MHz();
        Set_mDDR_150MHz();
        GEL_TextOut("\t---------------------------------------------\n","Output",1,1,1);
    }
    
    Set_Core_456MHz() {
        device_PLL0(0,18,0,0,1,18,5);//PLLM = 18, POSTDIV=0 {24MHz * (18+1) / (1+0) = 456}
        GEL_TextOut("\tPLL0 init done for Core:456MHz, EMIFA:25MHz\n","Output",1,1,1);
    }
    
    Set_Core_372MHz() {
        device_PLL0(0,30,1,0,1,18,5); //PLLM = 30, POSTDIV=1 {24MHz * (30+1) / (1+1) = 372}
        GEL_TextOut("\tPLL0 init done for Core:372MHz, EMIFA:25MHz\n","Output",1,1,1);
    }
    

    Regards,

    Senthil

  • I'm not sure which GEL file to add this to. Should I create a separate one? Also, when can I run this script? Do I have to select the proper frequency before I enter debug mode?
  • Vignesh,

    Be sure to look at the top of your C6748 device to see the package markings. Compare those to the device nomenclature in the datasheet to be sure your board has a 456 MHz capable device. If it is an older board, it may only operate reliably up to 300 MHz.

    You can add Senthil's code to your existing GEL file or to a new one that you include. The CCSv6 tutorials and help files will teach you how to use and create GEL files. Some of the commands can be set to run automatically after a reset (see OnReset() function) or you can run them manually after each reset or power cycle has been done.

    Regards,
    RandyP

  • Hi,
    What is your board ?
    Is that LogicPD EVM or C6748 LCDK board ?
    If its LCDK board and CCSv5 then ,
    C:\ti\ccsv5\ccs_base\emulation\boards\lcdkc6748\gel\C6748_LCDK.gel

    If its LCDK board and CCSv6 then ,
    C:\ti_ccsv6\ccsv6\ccs_base\emulation\boards\lcdkc6748\gel\C6748_LCDK.gel

    It depends on your CCS installation path.