EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

user timer problem (os_tmr_call never called)

Started by bahadir_armagan August 22, 2007
hi,
I am using lpc2294, ARTX, 12MhzXTALx5`Mhz

timer tick occurs every 10ms ...no problem with that. os_dly_wait
works fine.

But my user timer never timeouts
forexample:
os_tmr_create(100,1);//I expect timeout every 10x10000ms

but I never get os_tmr_call() called.

I have initted the os. os_tmr_create()creates the timer (returns
something) but os_tmr_call() is not called.

What can be the problem?

An Engineer's Guide to the LPC2100 Series

any opinions?
--- In l..., "bahadir_armagan"
wrote:
>
> any opinions?
>

Not really - I don't use that OS.

The constructor call seems a bit strange - where does the callback get
passed in so that the timer knows what to call?

What calls the callback anyway - is the thread that calls the timer
create supposed to return to an OS blocking call before the timer can
get called? Do you do that?

Just guesses...

Rgds,
Martin

The 2024 Embedded Online Conference