By the way,

I've put an oscilloscope trace of a Xenomai'd program on the BBB here in 
case you'd like to show it for your presentation:
https://app.box.com/s/nfwlud613c7zoz7gu6rn9arfttticvvc

For that trace, the BBB is just toggling a GPIO pin repeatedly, in a 
Xenomai'd thread. I left it running for several minutes and the statistics 
that were collected are at the bottom of the screenshot.
The delta between the Max (66.34 usec) and Min (60.76 usec) values 
indicates that jitter was under 6 usec.

The code that produced that was the same code that I pasted below, but in 
the real-time thread (i.e. in the helloWorld function there) I added some 
code toggling a GPIO pin (using the I/O library I wrote a while back - 
updated version is documented here:
https://www.element14.com/community/community/designcenter/single-board-computers/blog/2019/08/15/beaglebone-black-bbb-io-gpio-spi-and-i2c-library-for-c-2019-edition

The code I had in that function was something like:
while(1) {
  pin_high(8,12);
  rt_task_sleep(50000);
  pin_low(8,12);
  rt_task_sleep(50000);
}


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/dd7d71bf-090d-4223-b913-60ac296cff99%40googlegroups.com.

Reply via email to