All Forums
 Microsoft Windows CE
 General CE
 Deterministic response in CE
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

rbhalla

13 Posts

Posted - 05 Jun 2002 :  10:40:56  Show Profile  Email Poster
I am trying to determine if CE can toggle a pin on SmartIO with no (or very less) Jitter. So I tried to create a highest priority (0)thread and toggle a pin and sleep(5). The output is awful!!

Am I missing something. Can CE do what I am trying to accomplish (which is pretty simple)

RBhalla

ctacke

877 Posts

Posted - 05 Jun 2002 :  10:55:12  Show Profile  Email Poster
Thanks for the question.

The ADSmartIO is not intended for high speed use. The latency you're seeing is due to communication with the ADSmartIO controller itself.

You can get much smaller latencies from the other I/Os using with WinCE ports. Take a look at this whitepaper for some hard numbers.

If you need absolutely no latency, then you may need a hardware rather than a software solution and you have a few options available. If you can provide us a little more information on what you're trying to accomplish, we can help you get where you're going.

-----------------
Chris Tacke, eMVP
Applied Data Support
Go to Top of Page

rbhalla

13 Posts

Posted - 05 Jun 2002 :  13:22:47  Show Profile  Email Poster
Thanks for the prompt replies Chris. I read thru the benchmarking paper and would like to replicate it on my system with CE 3.0. I notice that you have the APP_TEST code - what about the interrupt. I am not sure how to write an interrupt handler in eVC++. Can you send me the code.

Thanks in Advance
Raj Bhalla

Edited by - rbhalla on 06/05/2002 13:23:11
Go to Top of Page

ctacke

877 Posts

Posted - 05 Jun 2002 :  14:33:03  Show Profile  Email Poster
The interrupt handler code discussed in the papaer was added directly to the driver code which then became part of the CE image used in testing.

To create interrupt ISRs and ISTs you will need the Board Support Package and will have to create your own CE image.

If you believe that your requirements are going to need this level of interrupt handling, contact our sales staff at sales.us@eurotech.com and they will be happy to help you determine exactly what pieces you may need.

-----------------
Chris Tacke, eMVP
Applied Data Support
Go to Top of Page

rbhalla

13 Posts

Posted - 05 Jun 2002 :  14:41:32  Show Profile  Email Poster
I am not sure what a board support package is but I guess it is $$.

On other note about my original problem of the jitter while toggling a Smart IO @ 5 ms. The same problem appears if I use a LED output (which I believe is an output directly on the strongArm) - so it is not a ADSmartIO controller issue.

Part of my evaluation is - how easy is it to read an interrupt toggle a bit deterministically without a lot of jitter. So far it does not seem very easy.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000