I am using ccs5.1 and using PDK_c6678_1_0_0_19. I have making use of the intc library within CSL to program an interrupt to go off every 10ms and call an ISR in which a semaphore is posted so that till the interrupt goes off every 10ms, the main task can be stuck at the semaphore pend statement in a while loop. This way whenever the interrupt happens the task wakes up essentially to do some processing.
I have the code working with the semaphore_post/pend etc and I am making use of the function test_high_continuous_timer as part of the timer_test.c file in the CSLexample directory in the pdk section. However, it would appear that using system_printf results in an interaction with the timer and so I can no longer get the timer to go off every 10ms anymore, it appears to go off a lot faster. I know that when I make use of the TSCL counter to measure time and print using system_printf it works till I call the system_printf. On subsequent calls it then no longer works. Please see this thread under the multicore forum.
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/190112.aspx
I would like to be able to print out stuff without impacting the timer interrupt, how could I go about doing that and is this because I am using SYSBIOS and the CSL interrupt/timer etc?
Thanks, Aamir