Hello ,
I am using :
6457dsp
Code Composer Studio 3.3.82.13
Integreted Development 5.98.0.939
Bios 5.41.10.36
Code Generation Tools v6.0.8
I am using a SEM_pend function within a low priority task.
When the task is posted from an HW inttrupt it works just fine.
I want to add a timeout on the pend operation.
If i put '0' as the timeout parameter the function return FALSE as written in the spec.
If I put anything else (not '0') than the function never returns. (even when i put just 1 tick).
There are 2 tasks in this projects and they have switched just fine so the OS tick must be working .
the CLock Manager is active with the following options:
Object Memory = IRAM
CPU Interrupt = HWI_INT14
Timer Selection = Timer 0
Enable CLK Manager = TRUE
Use High Res time for internal timings = TRUE
Enable high resolution timer = TRUE
Specify input clock rate = FALSE
Reset Timer and TIMMODE = TRUE
Timer Mode = 32bit unchained
Microsec/int = 999.9960
Directly Configure on-chip timer register = FALSE
The HW interrupt 14 activated the CLK_F_isr
The SW interrupt has KNL_swi which activated _KNL_run.
10X Eran.