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.

Can i use RTI module when i create HALCoGen project with FreeRTOS

Other Parts Discussed in Thread: HALCOGEN

I'm developing on TMS5570LS20216, and using HALCoGen 2.09.000 .
When i create HALCoGen project, and select family-"FreeRTOS" device-"TMS5570LS20216SZWT_FREERTOS",
the RTI moudle can't be configured any more, it seems RTI is used for generating OS tick.
So, can i continue use RTI moudle? and how to use? In this case, can i use RTI module for watchdog function?

  • I see what you mean. There are 4 RTI interrupts. FreeOs only use one. You can still use the rest of them. Since HalCoGen does not support it., I think you have to configure the registers  in the RTI init function (search prvSetupTimerInterrupt in your project) by yourself (or copy from other projects).

    Regards,

    Haixiao

  • can you give me a example for that.
    I have the same problem about it . I use RTI count 0 and compare0 for Freertos ,and use RTI count1 and compare1 for watchdog.
    but i can't adjust the sw well.
    by the way , the RTI init function i configure ,but i can't see prvSetup TimerInterrupt(TMS570LS1224PGE).
  • This problem I sloved. It's the confige problem . the RTI init  twice , so the last cover up the former setting.