Sign in

username or email:

password:



Not a member?
Forgot your password?

Search code-comp



Search tips

Subscribe to code-comp





Discussion Groups

See Also

Embedded SystemsFPGA

Discussion Groups | Code-Composer | Sem_Pend Timeout

Hi,For dspc6713 50Mhz, My sytem clock PRD is 3125, 0.25 milli between 2 system clock interrupts, I want to put a time out of 1000 millisec, so I calculated we need (1000/0.25) timer ticks sem_pend('MySem', (1000/0...

  

Post a new Thread



Is this thread worth a thumbs up?

0

Sem_Pend Timeout - geul...@rafael.co.il - Nov 27 8:36:24 2007

Hi,

For dspc6713 50Mhz, My sytem clock PRD is 3125, 0.25 milli between 2 system
clock interrupts, I want to put a time out of 1000 millisec, so I calculated we
need (1000/0.25) timer ticks 
sem_pend("MySem", (1000/0.25));
But When I test it It does not work to get 1 sec delay I need to put
(1000/0.25)/0.625 And I don't understand why?





(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )