Microsecond delay routine in mbed_rtos?

25 Sep 2012

Hi,

mbed_rtos only provides osDelay(mS) in milliseconds resolution. I need to generate microsecond delay in order to produce higher frequency PWM (in software). Is there any way? Cheers.

25 Sep 2012

Found out by experimenting - wait_us() does the job :)

02 Sep 2013

Hi,

I have the same issue. Do you have any problem with wait_us() in RTOS?

Thanks,

02 Sep 2013

Which way is the safety to wait in microseconds in RTOS? wait_us() is OK?

21 Nov 2016

Bora YILDIZ wrote:

Hi,

I have the same issue. Do you have any problem with wait_us() in RTOS?

Thanks,

I tried wait_us() in main function while running another thread....and found that the wait_us() doesn't stop other thread

Hello

I have the same problem. Do you have any problems with wait_us () in RTOS?

Thank You.[url=eazyportal.com][color=#ffffff]Gclub[/color][/url]