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.

How to set the Output Clock Frequency of TMS570LC43xx by using register

Other Parts Discussed in Thread: HALCOGEN

Hello, I know that the highest frequency of TMS570LC43xx is 300MHz, and I want to ask the question is how to set the output clock frequency to adapt the external MRAM.thanks!

  • Hi,

    Yes the CPU can operate to a maximum of 300MHz.

    If you are asking about the EMIF interface then pls refer to section 5.14 of the datasheet.

    On setting up the clocks for EMIF module please refer to the section 21.2.1 TRM

    EMIF module gets driven by VCLK3, you can use Halcogen and use the GCM tab to configure the respective clocks as well as the PLL tab to configure GCLK.

    Hope that helps.

  • Hi,

    First, thanks for your replay. Your answer gives me a direction what I can go along with.

    And in the current project, I want to use the EMIF Interface to communicate with an External MRAM Which R/W Cycle is 35ns. It is the reason why I ask the question for help.

    During this time, I finished some exercises by using the help of HALCoGen. And now, I have the question about how to do the operations to MRAM with EMIF Interface. What about the operations to MRAM include Read、Write、Erase, and so on. After analysing other exercises, I think about that whether it exists some functions relate to the former operations? But I did not find any function about it in HL_emif.c.

    I want to know that if I want to do the operations to MRAM, what functions I should use? And base on the FreeRTOS, whether I can use the functions in it to finish to operate the MRAM or I should use other functions? 

    Please give me some advices, thanks!

  • Could you share the datasheet of the RAM that you are trying to interface with ?
  • Hi,

    You can connect your memory to one of the asynchronous CS and then it should work like a normal memory.

    You do not need any additional functions to access, instead you can just make memory mapped reads/writes once you get the EMIF controller initialized as per the timings of your memory.

    You can use Halcogen EMIF tab to configure the same. Also use the pinmux tab to get the pinmux set for EMIF.

    More details on the control registers can be found in the TRM section (21.3)

    Hope this helps.