(no title)
ktownsend | 4 years ago
A logic analyser is cheaper than a scope, and does a much better job displaying this kind of data in volume. I'd say a DMM + some equivalent to a Saleae Logic are the two tools I couldn't live without ... IF you ever have to write drivers. But so much of embedded is about interacting with other devices, and it's a common enough requirement to have to port a driver over to a new chip, etc., that I can't imagine anyone regretting buying one sooner rather than later.
You can get by with printf, clearly ... but an analyzer is worth it's weight in gold for the right problem.
foldr|4 years ago
I'm not denying at all that a logic analyzer can be helpful. I'd just encourage people who can't justify the expense to have a try without one.
Edit: That said, I see that low-end logic analyzers are actually pretty cheap. I should probably get one!
milesvp|4 years ago
So I may be in the market for a better analyzer soon. But all in all my $30 was a good investment, and has made it easier to setup new serial protocols.
milesvp|4 years ago
HeyLaughingBoy|4 years ago
However, looking at the data on a logic analyzer and being able to see several seconds of data at once showed that the external module I was trying to interface with was buggy. Turned out that the unit we had was a preproduction prototype!