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.

RTI Module



HI,

I am using TMS570 USB stick and I am working on RTI module. I understood that we can configure 4 timer interrupts using 4 different compare units. Is there any way to configure more than 4 timer interrups. For Eg: Can I configure 6 indipendent timer interrupts ( 5ms, 10ms, 20ms, 40ms, 80ms and 100ms ) using the 4 compare units.

 

Regards,

Ajay.

  • Ajay,

    The RTI module only supports 4 compare interrupts. Depending on the usage each timing event, we maybe able to come up with some idea to generate timing events every ( 5ms, 10ms, 20ms, 40ms, 80ms and 100ms ) from 4 RTI interrupts.

    Thanks and regards,

    Zhaohong

  • Ajay,

    The RTI module uses two separate counter blocks to allow flexibility in configuring separate time bases for the four compare interrupts. There are two additional periodic interrupts that are generated when the two free-running counters overflow. You can use these two counter overflow interrupts in addition to the four compare interrupts to get a total of 6 periodic interrupts.

    Regards, Sunil

  • Hi,

    I am using TMS570 USB kit. And in project settings TMS470 linker options->Runtime Enveronment ->Initialization model  when selection is none which model is selected by delfault (ROM/RAM)?

    Because when I selected none, the ".cinit" section of map file is generated as below and we are able to execute the code.

    ".cinit     0    00000020    00000000     UNINITIALIZED"

    When I select ROM model ".cinit" section of map file is generated as below:

     .cinit     0    0000f280    000011a0    
                      0000f280    00001191     (.cinit..data.load) [load image]
                      00010411    00000003     --HOLE-- [fill = 0]
                      00010414    00000004     (__TI_handler_table)
                      00010418    00000008     (__TI_cinit_table)

    Also we are getting below warning and ERROR LED on USB is getting ON and we are unable to execute the code.

    warning: entry-point symbol other than "_c_int00" specified:  "_Exec_main".

    And, "TI_handler_table" and "TI_cinit_table" are pointing to stack memory section instead of BSS section.

    Regards,

    Ajay.