This should take no more than 2 microseconds on a Cortex-M device running at 120MHz. What processor are you using and what is the processor clock speed?
Are you doing anything in the ISR after putting the semaphore?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have written an ISR that calls tx_semaphore_put() to wake a thread that is waiting for the semaphore using tx_semaphore_get(). There is only the one thread on the system. It takes 5 micro seconds for the thread to begin running. This is too long. How do I ensure my high priority interrupts are handled in a timely manner? Thanks.
This should take no more than 2 microseconds on a Cortex-M device running at 120MHz. What processor are you using and what is the processor clock speed?
Are you doing anything in the ISR after putting the semaphore?