- Posts: 91
- Thank you received: 5
Hi
The download works fine thanks, I have had a quick look at it but will not be able to do any proper playing with it until a couple of extra SD cards I have ordered for development appear.
Am currently running a debian based image to prove it and it works better than it deserves to really, for such a limited processor and memory.
I may try building the xenomia rt kernel first, as that is perhaps best documented and see where that leads me.
regards
Please Log in or Create an account to join the conversation.
..
I get the feeling that running direct from the gpio pins as a parallel interface is more hassle than its worth, I have done everything via the i2c bus with an expander chip, the rpi has hardware that makes handing i2c very simple with everything automatically buffered and checked and should be possible to send 16bits at 50Khz. I think SPI is handled similarly but much faster, though only a single device per bus.
Also I believe there has been a board revision so some of the gpio pins are changed on new boards, I dont yet know if it effect my drvers??
...
Please Log in or Create an account to join the conversation.
Excellent, thanks for the data! Well, a modern PC with motherboard parport can usually flip a bit in about 600 ns,
I've not relied on my feelingsand made some measurements.
The gist: GPIO wiggling through the memory mapped interface is pretty fast - actually more than an order of magnitude faster than a parport on a PC driven with this: git.mah.priv.at/gitweb/emc2-dev.git/blob...simdrivers/ppioctl.c
busy-looping and wiggling GPIO 0 goes down to 220nS transition spacing; I never got less than 5uS on a PC parport.
code, results, LA screenshots are here: git.mah.priv.at/gitweb/raspberry-test.gi...44f95116ce764ae01f4a
- Michael
Please Log in or Create an account to join the conversation.
I've not relied on my feelings
and made some measurements.
The gist: GPIO wiggling through the memory mapped interface is pretty fast - actually more than an order of magnitude faster than a parport on a PC driven with this: git.mah.priv.at/gitweb/emc2-dev.git/blob...simdrivers/ppioctl.c
busy-looping and wiggling GPIO 0 goes down to 220nS transition spacing; I never got less than 5uS on a PC parport.
code, results, LA screenshots are here: git.mah.priv.at/gitweb/raspberry-test.gi...44f95116ce764ae01f4a
- Michael
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I try to figure out whether the Rpi is a viable platform for a HAL/RT (part of) LinuxCNC
that means exploring the IO path latency among many other probably more important aspects like timing precision and context switching latency
- Michael
Please Log in or Create an account to join the conversation.