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.

TDA4VM: MCU_TIMER_2 clock source

Part Number: TDA4VM

Hi,

We are using QNX on TDA4V-mid. We implemented some safety related application which should align MCU_TIMER_2 with QNX system timer (in our case GTC is used as the system timer). One of the requirements says that both, system timer and MCU_TIMER_2, should have same clock source (to avoid clock drift problem). MCU_TIMER_2 is configured to use MCU_PLL2_HSDIV2_CLKOUT clock as input clock. Both, system clock and MCU_TIMER_2 clock, have 200MHz frequency. Now my question is, does MCU_PLL2_HSDIV2_CLKOUT and system clock, use the same clock source?

Best Regards,

Mladen

  • Hi Mladen,

    Your question is understood.  Will investigate and get back to you with a recommendation.

    Regards,

    kb

  • Hi Mladen,

    Apologies for the delay in getting back to you.   The GTC and MCU_TIMER2 can have a common clock source which is WKUP_HFSC0_CLKOUT from WKUP_HFOSC0, which is likely how your system is setup. 

    Details below on TI Processor SDK QNX default settings and also when MCU_TIMER2 is configured using MCU_PLL2_HSDIV2_CLKOUT as clock source.

    Should you seen any issues or this does not address the question please let us know.

    Regards,

    kb

    MCU_TIMER2 TI Processor SDK QNX Settings

    Reading from local target:

    MCU_Timer2 is sourced from WKUP_HFSC0_CLKOUT

    MCU_Timer2 using MCU_PLL2_HSDIV2_CLKOUT:

    MCU_PLL2_HSDIV2, likely sourced from WKUP_HFOSC0_CLKOUT.  Verify by reading 0x43008050.

    GTC Processor SDK QNX Default Settings

    Reading from local target:

    GTC using MAIN_PLL3_HSDIV1_CLKOUT

    Reading from local target:

    GTC uses WKUP_HFS_OSC0_CLKOUT