<div dir="ltr"><div><div>I think Xenomai (alongside Linux) works quite well on Beaglebone Black in my experience, so you might consider that. There's a pretty easy to follow guide on getting that up and running, also.<br><br>I was considering RTEMS for a particular project but device drivers were not available and I wasn't sure about developing those from the ground up. I ended up having to port drivers for Xenomai eventually but I think the actual work of driver porting took less time than it would have with RTEMS.<br></div>For an example of how to get an interrupt off of a GPIO, this white paper may be useful, it looks like they did something close to what you want to do: <cite><a href="https://www.osadl.org/fileadmin/dam/rtlws/12/Brown.pdf" target="_blank">https://www.osadl.org/fileadmin/dam/rtlws/12/Brown.pdf</a> <br></cite></div><cite><br></cite></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 16, 2015 at 12:59 PM, angelo fraietta <span dir="ltr"><<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On 16/02/2015 5:34 PM, Mathew Benson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You're doing that in the CPU? If all your doing is toggling a GPIO at a steady rate, why don't you just use the PRU and a PWM pin? Or do you have RTEMS running in the PRU?<br>
</blockquote>
<br></span>
That is all I did in the test to see what sort of performance I could get just toggling a pin. What I actually need to do is interrupt every 640ns, and during that time, read 14 pins and store values in memory. Then, after 16 of these, toggle a pint. After 10ms of this, I need to raise an event to read the 10ms worth of data, encode it, and send it via UDP.<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sent from my iPad<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Feb 16, 2015, at 12:15 AM, angelo fraietta <<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.<u></u>com.au</a>> wrote:<br>
<br>
Greetings<br>
<br>
Have you got interrupts working on the GPIOs. Also, do you have any sample of reading and writing to GPIO. I need to see whether it is going to be fast enough,<br>
<br>
I ran a program (on linux) on beagle that used registers basically toggling an output. EG<br>
<a href="http://vabi-robotics.blogspot.com.au/2013/10/register-access-to-gpios-of-beaglebone.html" target="_blank">http://vabi-robotics.blogspot.<u></u>com.au/2013/10/register-<u></u>access-to-gpios-of-beaglebone.<u></u>html</a><br>
<br>
It toggled at rate of just under 1Mhz, and what was just doing a while 1 loop. I did not look even look at interrupts there and did nothing else - I didn't even do any reads of GPIO.<br>
<br>
I want to get interrupts happening at 1.56Mhz (preferable) and read 14 GPOI, sbut I could go to half the rate by reducing my sample rate. The beagle runs at 1Ghz, so I think it should be able to handle it.<br>
<br>
<br>
Thanks<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 23/01/2015 4:19 PM, Ben Gras wrote:<br>
All,<br>
<br>
A while ago I finished the basics needed to use the beaglebones and<br>
beagleboards with RTEMS. The hardware support isn't very complete yet.<br>
The code is merged with RTEMS mainline though. My fork of rtems-tools<br>
and RSB is needed for help with building.<br>
<br>
Full details on how to build it are here:<br>
<a href="http://www.shrike-systems.com/beagleboard-xm-beaglebone-black-and-everything-else-rtems-on-the-beagles.html" target="_blank">http://www.shrike-systems.com/<u></u>beagleboard-xm-beaglebone-<u></u>black-and-everything-else-<u></u>rtems-on-the-beagles.html</a><br>
<br>
I hope you like it :-). Let me know if you'd like any followup.<br>
<br>
Cheers,<br>
Ben<br>
<br>
<br>
<br>
<br>
On Thu, Jan 22, 2015 at 4:46 AM, angelo fraietta<br>
<<a href="mailto:newsgroups@smartcontroller.com.au" target="_blank">newsgroups@smartcontroller.<u></u>com.au</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings<br>
Does anyone know the status of the beaglebone port?<br>
<br>
Thanks<br>
<br>
---<br>
This email has been checked for viruses by Avast antivirus software.<br>
<a href="http://www.avast.com" target="_blank">http://www.avast.com</a><br>
<br>
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/<u></u>mailman/listinfo/users</a><br>
</blockquote></blockquote>
-- <br>
Dr Angelo Fraietta<br>
A.Eng, A.Mus.A, BA(Hons), Ph.D.<br>
<br>
PO Box 859<br>
Hamilton NSW 2303<br>
<br>
Home Page<br>
<br>
<br>
<a href="http://www.smartcontroller.com.au/" target="_blank">http://www.smartcontroller.<u></u>com.au/</a><br>
<br>
There are those who seek knowledge for the sake of knowledge - that is CURIOSITY<br>
There are those who seek knowledge to be known by others - that is VANITY<br>
There are those who seek knowledge in order to serve - that is LOVE<br>
Bernard of Clairvaux (1090 - 1153)<br>
<br>
<br>
---<br>
This email has been checked for viruses by Avast antivirus software.<br>
<a href="http://www.avast.com" target="_blank">http://www.avast.com</a><br>
<br>
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/<u></u>mailman/listinfo/users</a><br>
</blockquote></blockquote>
<br>
---<br>
This email has been checked for viruses by Avast antivirus software.<br>
<a href="http://www.avast.com" target="_blank">http://www.avast.com</a><br>
<br>
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>