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.

TMS570LS3137: Change OSCILLATOR FREQ from 16MHz To 25MHz .

Part Number: TMS570LS3137
Other Parts Discussed in Thread: TMDS570LS31HDK, , HALCOGEN

Hi TI Team,

I have an Hercule TMDS570LS31HDK board which operate of oscillator frequency of 25MHz.Most of the example provided by ti is for 16MHz microcontrollers. So what are the steps to follow to change the oscillator frequency from 16Mz to 25MHz.

Please support me.

Thanks and Regards,

A.Ajith Kumar.

  • Hi Ajith Kumar,

    First of all, it is not recommended to operate TMS570LS3137 controller with 25MHz oscillator.

    As you can see its timing requirements, it is 50ns(min) to 200ns(max). That means if we converted into frequencies,

    Minimum oscillator frequency= 1/200ns = 5Mhz

    Maximum oscillator frequency=1/50ns = 20Mhz

    So that means we should not use the crystal with more than 20Mhz for to generate oscillator frequency.

    --

    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    In Ethernet Bootloader link tidc817.zip. It does not consists of Halcogen .hcg file. I need to change the osc freq as 25MHz,Clk div as 10, Multiplier 128 as below image

    In code compressor studio what are the changes i have to made to achive this.

    Thanks and Regards,

    A. Ajith Kumar

  • Hi Ajith Kumar,

    I need to change the osc freq as 25MHz,Clk div as 10, Multiplier 128 as below image

    You no need to configure the 25Mhz in the code because it will automatically generated by hardware right, so you just need to configure 10 and 128 for PLL1.

    And you can do that by changing at below line

    change the highlighted line as shown in right side of the image in system.c

    --

    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    After changing the above setting for PLLCTL1 in system.c. The program does not work and the IC getting heated. Is there anyother to configure in system.h.

    Thanks and Regards,

    A.Ajith Kumar

  • Hi Ajith Kumar,

    After changing the above setting for PLLCTL1 in system.c. The program does not work and the IC getting heated. Is there anyother to configure in system.h.

    Should not require any other configurations except the two modifications i mentioned.

    It must be due to this:

    Maximum oscillator frequency=1/50ns = 20Mhz

    The oscillator max frequency for this device should be less than or equal to the 20MHz, but you are trying to use 25Mhz.

    --

    Thanks & regards,
    Jagadish.