Wednesday, July 12

Digitool Helps Debugging

Logic analyzers used to be large boxes full of high-speed logic and a display monitor. Today, they are more likely to be a small box with a USB port that feeds data to a PC application. [Juan Antonio Rubia Mena] wanted something more self-contained, so he built Digitool. Built around a PIC18F2525, the device can measure frequency up to 10 MHz and inject square waves up to 1 MHz into the circuit under test. Oh yeah. It also has a simple four-channel logic analyzer that displays on a tiny LCD.

The 500,000 sample per second rate and the 1024 sample buffer isn’t going to put any logic analyzer vendors out of business, but it is still enough to help you figure out why that SPI or I2C logic is messed up. It looks like a fun project that could have some usefulness.

[Juan] provides all the design files in his post. He also notes that he had to reduce the speed on the CPU to accommodate the LCD. He has the CPU running at 5 V because the 5 V part has a higher frequency rating and he hopes to get the speed to 40 MHz which would, presumably, increase the sampling rate for the logic analyzer.

If you want something more serious, an FPGA is the way to go. Even a cheap FPGA board can easily do many more channels at 96 million samples per second. Then again, unlike Digitool, you’ll need a PC to display the results.

 


Filed under: Microcontrollers

No comments:

Post a Comment