I've spent the last few days creating a logic analyzer based on my RaspberryPi. The basic idea is that it disables interrupts for a while and loops sampling the GPIO pins once a microsecond. It then re-enables interrupts and presents the data in a UI where you can zoom in, measure periods, etc. The code is on github at https://github.com/richardghirst/Panalyzer along with a README. There is also a screenshot there showing the UI (in case I fail to include it below). In the screenshot the bottom part of the screen is a zoomed in view, with the pink block on the top trace showing which section is being displayed below. The blue cursors are used for timing, the red one indicates the trigger point. I'm currently using this on Debian on my Pi, and it is hooked up to some counters to provide sample input, however my aim is to use it to monitor PIC microcontroller outputs controlling servos, for my next project

https://github.com/richardghirst/Panaly ... shot01.png


OK, why can't I get an image in here?
Richard