Hi,<br><br>In my opinion, I wouldn't run the RTEMS with a clock tick like that, I would find a way to generate an external interrupt based on a hardware timer. I have successfully run RTEMS on a 40 MHz LEON2, with no changes to the RTEMS clock ticks, to accept a 16 KHz interrupt signal for a fuzzy logic control loop to control a gimbal. Worked very well.<br>
<br><div class="gmail_quote">On Mon, Jun 7, 2010 at 4:12 PM, Matt Rippa <span dir="ltr"><<a href="mailto:mrippa@gemini.edu">mrippa@gemini.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi -<br>
<br>
I would like to know your thoughts regarding common practices for an RTEMS system requiring a 5 KHz sample rate. The hardware is 600MHz i386/PC-104 based. Reading through the RTEMS C users guide the Rate Monotonic Scheduler appears to be what I'm interested in. Basically I need to read inputs from hardware, filter and process results, then write outputs with a period of 200 us.<br>
<br>
I understand I can set the RTEMS system clock ticks to get this resolution. My question is, is this a common and recommend practice for this kind of sample rate? Or do people favor using on-board programmable interrupt timers for this purpose? Is using an external interrupt timer on the pci bus a common practice if your SBC doesn't provide any timers?<br>
<br>
Thanks for any input.<br><font color="#888888">
<br>
-Matt Rippa<br>
_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Bob Deschambault<br>6614 Astro Court, Mississauga<br>Ontario, Canada L5N 7J2<br>home: 905 824 7159<br>cell: 416 457 7163<br>