From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18405 invoked by alias); 26 Sep 2003 05:55:44 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 18398 invoked from network); 26 Sep 2003 05:55:43 -0000 Received: from unknown (HELO mailserver.pop-siegen.de) (62.157.218.43) by sources.redhat.com with SMTP; 26 Sep 2003 05:55:43 -0000 Received: (qmail 18057 invoked from network); 26 Sep 2003 05:55:41 -0000 Received: from unknown (HELO 192.168.150.70) (62.157.218.206) by dns.pop-siegen.de with SMTP; 26 Sep 2003 05:55:41 -0000 To: ecos-discuss@sources.redhat.com From: eibach@gdsys.de Date: Fri, 26 Sep 2003 05:55:00 -0000 Priority: normal X-Priority: 3 (Normal) Importance: normal X-David-Sym: 0 X-David-Flags: 33554432 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7Bit Subject: [ECOS] 1ms polling period X-SW-Source: 2003-09/txt/msg00475.txt.bz2 Hello, I have to do some hardware polling every 1-5 ms. What is the best way to do that in ecos? Using the system clock there is only a minimum 10ms period available. I wouldn't like modifying the system clock, but is that the only way to do it? Or should I manually use a hardware timer in my controller to generate an interrupt every 1ms? (My basic hardware is the ATMEL EB40A.) Or is there maybe a completely different way to do this? Any ideas you have about this are appreciated. Regards, Dirk Eibach -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss