I have a multicore application code based on the multicore example in the PDK which can receive packets from the outside and process them. I am looking to implement a loop which basically will block till it receives a semaphore signal to indicate a 10ms cycle time for each time through the loop after I have setup the PA etc and synchornized all the cores.
while (1) {
// block till received semaphore signal
read packets received in this 10ms period
process packets
}
In a 10ms ISR I can post a semaphore. Now to generate the 10ms interrupt I want to make use of the unchained low or high timer counter to generate a call to the the ISR every 10ms. I had a look at the code in pdk_c6678_1_0_0_19\packages\ti\csl\example\timer\timer_test.c and tried bringing in the appropriate code into my multicoreExample project and tried compling it but it complained about undefined symbols to do with the intc module during linking. The timer_test.c example code makes use of the intc and timer CSL modules so I have included the appropriate .h includes and I do not have any link errors does to the tmr CSL module but just the intc related modules.
Any ideas?
Thanks, Aamir