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: HalCoGen 4.07.00 - RTI frequency

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Dear all,

there are a few differences between code generated by HCG version 4.06.01 and 4.07.00, of course. One of them does seem to be a bit weird for me - included in the header of system.h

/** @def RTI_FREQ

*   @brief RTI Clock frequency exported from HALCoGen GUI

*

*   RTI Clock frequency exported from HALCoGen GUI

*/

#define RTI_FREQ     16.000F

Previously, the value of RTI_FREQ was 90.000f - as I would expect and consider the right one.

Please may you explain this value change?

Thanks a lot, best regards, Jiri

  • Hi Jiri,

    Can you please check the GCM Tab, what you have selected as RTI clock Source? 

    This Macro ( RTI_Freq) value depends on the selected clock source. Sample snapshot... 

  • Hi Prathap,
    I am sorry for a false error report!
    That is like you have described - a value in source code does reflect the GCM setting.
    Sorry for wasting your time and thanks a lot,
    Cheers, Jiri