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.

LAUNCHXL2-570LC43: Configuring GCM on HALCOGEN to have an external output clock of 24MHz.

Part Number: LAUNCHXL2-570LC43
Other Parts Discussed in Thread: HALCOGEN, TMS570LC4357

Hi!

I would like assistance on how I could configure an external output clock at 24MHz trough the HALCOGEN project. 

If possible, what I want to understand into more detail is how each one of the clock sources works and how to configure the external pins to have such output?

Thanks in advance for your assistance. 






  • Hi ,

    Mainly we can output two clocks on ECLK1(External Clock out pin).

    Either VLCK1 or Oscillator clocks can be directly given to the ELCK pin.

    But this VLCK1 can again be any of the clock domains, like as shown below:

    So, as you can see the VLCK1 can be derived from OSC, PLL1, PLL2, LPO LOW, LPO HIGH and External etc.

    So, these are all the possibilities of the clocks that we can route to the external clock pin.

    And i created one example project here to output a 15Mhz clock to the ECLK1 pin as shown below

    ECLK1_TEST_LC4357.zip

    And after executing this project i can see the output of 15Mhz clock on the A12 pin of the TMS570LC4357 controller

    --
    Thanks & regards,
    Jagadish.

  • Thanks Jagadish for your quick and well explained response. 
    I'll check out the provided project and test the same settings on my own. 

  • Besides changing the configuration on the ECLK window, do I need to make sure that the any other configuration for the A12 is in place?
    Not sure if I need to make sure PINMUX configuration is properly selecting the pin's functionality for external clock. I think that might not be the case given that the SYSPC1 register handles that. 

    The only changes after adding the configuration on the ECLK window are on the HL_System.c, HL_System.h and .dil file
    I'm not seeing any output on the A12 pin. 

  • TMS570LC43_FreeRTOS.rar
    This is the current configuration of the project that I'm working with

  • Hi Alejandro,

    do I need to make sure that the any other configuration for the A12 is in place?
    Not sure if I need to make sure PINMUX configuration is properly selecting the pin's functionality for external clock

    No need to make sure any other PINMUX settings because A12 has only one pin functionality i.e. ECLK.

    On your project CCS project files were missing, so i created one more project with FreeRTOS on my end.

    ECLK_Test_FreeRTOS_LC4357.zip

    I tested with this project with 15Mhz ECLK generation:

    And i got the 15Mhz waveform on A15 as shown below:

    --
    Thanks & regards,
    Jagadish.