Accurate Timings with Oscilloscopes on PC

Posted by Paul Bullough on Stack Overflow See other posts from Stack Overflow or by Paul Bullough
Published on 2009-12-16T10:54:14Z Indexed on 2010/04/12 0:33 UTC
Read the original article Hit count: 334

In the world of embedded software (firmware) it is fairly common to observe the order of events, take timings and optimise a program by getting it to waggle PIO lines and capturing their behavior on an oscilloscope.

In days gone by it was possible to toggle pins on the serial and parallel ports to achieve much the same thing on PC-based software. This made it possible to capture host PC-based software events and firmware events on the same trace and examine host software/firmware interactions.

Now, my new laptop ... no serial or parallel ports! This is increasingly the case. So, does anyone have any suggestions as to go about emitting accurate timing signals off a "modern" PC? It strikes me that we don't have any immediately programmable, lag-free output pins left.

The solution needs to run off a laptop, so using add-on cards that only plug into desktops are not permitted.

© Stack Overflow or respective owner

Related posts about timing

Related posts about firmware