This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to increase delay time in RTOS program?

Dear Sir/Madam
I configured my RTOS tick on 25us in order to read sensors fast. but in other hand i need to have for example 50 seconds delay in my program.So i use

void os_tmr_call(U16 ifo)

and

os_tmr_create(U16)

;U16 lenght is 65536 and as you know maximum delay is 65536 X 25us = 1.63 S if i will be able to use U32 in os_tmr_create problem will be solved but i can't.
Also i don't want to stop program in a line.I mean i don't want to use for example

for(i=0;i<50;i++)os_dly_wait(40000);

and just want to use virtual timer or something like that.

Could you please tell me how can i increase delay time to 50 S or more base on 25us tick ?