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: OSCIN frequency selection to maximize N2HET counting precision

Part Number: TMS570LS3137

Hello there,

We need an ultra-precise counting mechanism for the N2HET timer machine in order to reduce as much as possible the induced error from the OSCIN. Right now we want to operate the N2HET at 100 MHz to have each HR of 10 ns and LR of 40 ns (4 instructions). The resulting counter for each sampling period is between around 1.5 to 2 million counts. We will use a crystal with a tolerance of 1 ppm or maximum 2 ppm.

We understand that the crystal used in the TMS570LS HDK is a 16 MHz so that we can program the PLL in order to obtain the desired CPU/VCLK operating frequency. We don't use FlexRay in our design so the following requirement in the TRM doesn't apply to us: 

The OSCIN frequency is limited to 10MHz, 16MHz or 20MHz to reach the 80MHz required by the FlexRay sample clock. The crystal must be selected accordingly.

Here comes my questions:

  1. To obtain the most precise possible CPU operating frequency of 100 MHz, what OSCIN frequency is recommended?
  2. Is a 20 MHz OSCIN better suited than a 16 MHz since the desired 100 MHz is a multiple of it, or it doesn't make any difference for the PLL?
  3. What is the maximum input frequency to the OSCIN?

Thank you very much.

  • Hi Chuck,
    1. The precision depends mostly on oscillator.
    2. You can use both 16MHz and 20MHz if after setting PLL CLK all subsystems are fed with appropriate frequencies. Because your setpoint for VCLK2 is 100MHz It is good approach to set VCO CLK (Output CLK - TRM, Figure 10-4) to 200, 300, or 400 MHz (using formulas and following Valid Frequency Ranges for PLL , Table 10-1).
    3. The maximum OSCIN frequency is 20 MHz.

    Best regards,
    Miro
  • Hi Miro,

    If I understand well, 16 MHz or 20 MHz OSCIN would make no difference in ppm precision at the PLL Output, and you recommend VCO CLK of 200, 300 or 400 at the output of the PLL module. So my configuration below would respect your guidelines (VCO CLK is 400 MHz). Isn't it?

  • Hello,
    Yes, the precision comes mainly from oscillator.

    Best regards,
    Miro