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.
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,
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.
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.