Tickless implementation for semaphore in EFM32
In my project we are using semaphore, in which we will handle 2 cases.
Case1 : Semaphore available within 30Sec
Case2 : Timeout.
We are facing problem in Case2 implementation
We will wait for a semaphore to be available within 30 Sec, if not we will call a function. For saving power we are trying to use to tickless implementation. During waiting for semaphore, when we checked the xExpectedIdleTime in the function vPortSuppressTicksAndSleep, we found the value we are getting about 2,3,3 etc( Single digit values)
The value what we expected is 30000, we are not getting the value
We are running the Oscillator with the frequency of 28MHz and Tick freq of 1000Hz. SysTick and Osc Freq are same
Tickless implementation for semaphore in EFM32
We are using OpenRTOS – V7.5.0
Tickless implementation for semaphore in EFM32
You seem to have accidentally created two identical threads, I have already made a suggestion in the other thread…however if you are using OpenRTOS then you should really be submitting a support ticket to WITTENSTEIN rather than using the forum.
Regards.