Author Topic: Low end PC-compatible Logic Analyzer suggestions  (Read 8019 times)

0 Members and 1 Guest are viewing this topic.

Offline MathWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 2535
  • Country: ca
Low end PC-compatible Logic Analyzer suggestions
« on: September 03, 2022, 03:36:24 pm »
I don't need a $400-500 LA, but I don't want a $20 one either. And I don't want a $20 one sold for $100 either.

What do people recommend these days ? And what makes the good ones so expensive ?
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #1 on: September 03, 2022, 04:11:48 pm »
And what makes the good ones so expensive ?

Sampling rate, width, competent signal integrity. Plus, of course triggering and capturing filters so you don't even see all the irrelevant data that is inhaled by the cheap LAs. Optionally protocol analysis, but that can often be done with computers and printf() statements.

Without the filters and signal integrity, all else is in vain.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline switchabl

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: de
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #2 on: September 03, 2022, 06:03:29 pm »
I don't need a $400-500 LA, but I don't want a $20 one either.

What specifically do you need and what do you want to do with it? Are you looking for a stand-alone or PC-based LA? How many channels? What protocols or busses do want to look at (and at what speeds)? Do you want analog capability on some/all channels? Do you need to capture very long sequences (which may require either deep memory or high-bandwidth USB streaming)?
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #3 on: September 03, 2022, 07:07:11 pm »
Do you need to capture very long sequences (which may require either deep memory or high-bandwidth USB streaming)?

Very long sequences can usually be avoided by decent filtering in realtime, so that irrelevant stuff is neither captured nor stored.

Examples:
  • check setup and hold times are valid, by storing nothing until an invalid timing is found
  • only capture state changes (plus time interval), not all the crap that occurs between successive clocks
  • verify maximum latency between event and action is observed by only capturing failures

Decide whether you need protocol analysis, i.e. the semantic content of sequences of messages and responses. If so, a conventional LA is probably the wrong tool.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 18111
  • Country: 00
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #4 on: September 03, 2022, 07:17:19 pm »
a) What do you need to analyze?

would be a good start....
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30260
  • Country: nl
    • NCT Developments
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #5 on: September 03, 2022, 07:22:27 pm »
a) What do you need to analyze?

would be a good start....
Agreed. Nowadays an oscilloscope with digital inputs is a good place to start. The lower end logic analysers don't bring much extra to the table.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30260
  • Country: nl
    • NCT Developments
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #6 on: September 03, 2022, 07:45:39 pm »
Do you need to capture very long sequences (which may require either deep memory or high-bandwidth USB streaming)?

Very long sequences can usually be avoided by decent filtering in realtime, so that irrelevant stuff is neither captured nor stored.
The problem is that the low cost logic analysers don't have the trigger abilities to support such a workflow. And it is better to capture large amounts of data so you can look back what has happened before a problem occured. In the end the fact a problem occured isn't that interesting, the cause is what you are after. Even better if you can record several good 'transactions' together with the 'failed transaction' to make a 1 on 1 comparison based on having the system in the exact same hardware / software configuration.
« Last Edit: September 03, 2022, 08:28:16 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #7 on: September 03, 2022, 08:57:59 pm »
Do you need to capture very long sequences (which may require either deep memory or high-bandwidth USB streaming)?

Very long sequences can usually be avoided by decent filtering in realtime, so that irrelevant stuff is neither captured nor stored.
The problem is that the low cost logic analysers don't have the trigger abilities to support such a workflow.

My contribution is centred on what makes good LAs expensive.

Quote
And it is better to capture large amounts of data so you can look back what has happened before a problem occured. In the end the fact a problem occured isn't that interesting, the cause is what you are after. Even better if you can record several good 'transactions' together with the 'failed transaction' to make a 1 on 1 comparison based on having the system in the exact same hardware / software configuration.

Any LA with decent triggering and filtering will have exactly that capability. Digitising scopes nicked the "trigger point is on the right hand side of the screen" from LAs.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #8 on: September 03, 2022, 09:06:20 pm »
a) What do you need to analyze?

would be a good start....
Agreed. Nowadays an oscilloscope with digital inputs is a good place to start. The lower end logic analysers don't bring much extra to the table.

LAs enable state to be captured, i.e. the value at the instant the clock occurred with the relevant chip select and address signals, without the irrelevant crap between clocks and w.r.t. other devices

The real competition for LAs is protocol analysers and application specific printf() statements
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30260
  • Country: nl
    • NCT Developments
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #9 on: September 03, 2022, 09:11:00 pm »
Again, the low end LAs typically don't have the trigger & storage abilities to do what you suggest.

Additionally, MSOs do 99% of the tasks you typically use a logic analyser for and most modern MSOs support rather complicated trigger conditions. I have a high end logic analyser but I hardly ever use it (it has probably been sitting unused for 2 years already) because the MSO that sits on my desk can fullfill most of the logic analysis tasks AND show digital signals change in realtime.

Bottom line: if you don't have a specific need that can only be fullfilled by a logic analyser, the better option is to spend a bit extra on an oscilloscope which has digital channels. For most oscilloscopes the only thing you need extra are the digital probe pods.
« Last Edit: September 03, 2022, 09:18:29 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #10 on: September 03, 2022, 09:24:39 pm »
Again, the low end LAs typically don't have the trigger & storage abilities to do what you suggest.

You know better than to snip context and invent strawman arguments. Your doing that is surprising and unimpressive.

Which bit of this did you not understand....

My contribution is centred on what makes good LAs expensive.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30260
  • Country: nl
    • NCT Developments
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #11 on: September 03, 2022, 09:33:40 pm »
And thus your remark is not applicable to what the OP is looking for; you should have made clear in your earlier replies that what the OP is looking for might not exist in her/his budget range. But it all depends on the requirements we still know nothing about.

Fact is that in today's world a logic analyser is a very niche piece of equipment. Keysight and Tektronix have stopped making logic analysers a long time ago. In 20 years from now it may not even be possible to perform measurements where a logic analyser would be ideal because the equipment is no longer in working order.
« Last Edit: September 03, 2022, 10:05:58 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline switchabl

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: de
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #12 on: September 03, 2022, 10:37:20 pm »
Fact is that in today's world a logic analyser is a very niche piece of equipment. Keysight and Tektronix have stopped making logic analysers a long time ago. In 20 years from now it may not even be possible to perform measurements where a logic analyser would be ideal because the equipment is no longer in running order.

I am pretty sure Keysight still make "traditional" logic analyzers, targeted mostly at debugging and validating DDR memory systems. It is a small niche but I don't think it is going away anytime soon.

I was assuming that the OP is most likely looking for a Saleae-style USB pod. Although I realize that "PC compatible" might mean (or used to mean) that it runs PC software.
« Last Edit: September 03, 2022, 10:49:34 pm by switchabl »
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30260
  • Country: nl
    • NCT Developments
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #13 on: September 03, 2022, 11:40:38 pm »
Fact is that in today's world a logic analyser is a very niche piece of equipment. Keysight and Tektronix have stopped making logic analysers a long time ago. In 20 years from now it may not even be possible to perform measurements where a logic analyser would be ideal because the equipment is no longer in running order.

I am pretty sure Keysight still make "traditional" logic analyzers, targeted mostly at debugging and validating DDR memory systems. It is a small niche but I don't think it is going away anytime soon.
You are right. I was under the impression that Keysight also had left the logic analyser market. Tektronix has for sure.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #14 on: September 04, 2022, 12:00:55 am »
And thus your remark is not applicable to what the OP is looking for;

Congratulations, you've now got the chance to see the limitation of my replies, as given in my reply #2.

Quote
you should have made clear in your earlier replies that what the OP is looking for might not exist in her/his budget range. But it all depends on the requirements we still know nothing about.

Congratulations. That second sentence demonstrates why your first sentence is nonsensical.

Quote
Fact is that in today's world a logic analyser is a very niche piece of equipment. Keysight and Tektronix have stopped making logic analysers a long time ago. In 20 years from now it may not even be possible to perform measurements where a logic analyser would be ideal because the equipment is no longer in working order.

As you have subsequently acknowleged, that isn't quite right.

You seem to think the sun shines out of MSOs, and that they don't have limitations. MSOs are just as limited as LAs, but in different ways.

Neither MSOs nor LAs are suitable for "higher up the stack" debugging, but if I had the option I would choose a decent two channel scope, a decent LA, and printf() statements.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline MathWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 2535
  • Country: ca
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #15 on: September 05, 2022, 04:53:04 pm »
Ok what I want it for is general purpose hobby repair/tinkering, like reading what a MCU/eeprom are saying. I have a Siglent scope that can decode I2C, but so far, if I'm doing it right, I find the time base is way too short to capture what's going on, using single shot. Like on a MP3 player or monitor I was working on. For figuring out what a MCU is doing on a mobo, the more channels the better.

I bought a $20 LA ages ago, but it got lost in the mail.

So yeah more than just a logic analyzer, I'd want software or an MCU to do the common protocol analyzing. And yeah I don't want a standalone thing, I'd want to use it with PC.

I see there's people with Arduino LA projects. That's interesting too, but in a week or 2, I'm going to order something, even if it is just a $20 LA again, I could use it for now on big MCU's like on a mobo.


What about Hantek models, they seem to have cheap hobby level stuff that's PC compatible, and not total garbage.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30260
  • Country: nl
    • NCT Developments
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #16 on: September 05, 2022, 04:57:14 pm »
Ok what I want it for is general purpose hobby repair/tinkering, like reading what a MCU/eeprom are saying. I have a Siglent scope that can decode I2C, but so far, if I'm doing it right, I find the time base is way too short to capture what's going on, using single shot. Like on a MP3 player or monitor I was working on. For figuring out what a MCU is doing on a mobo, the more channels the better.
You likely need to use zoom mode to force a longer capture on your Siglent scope. In normal mode, it doesn't use all the memory even if you manually set it; just enough to fill the screen (unlike oscilloscopes from other brands).
« Last Edit: September 05, 2022, 07:54:30 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline MathWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 2535
  • Country: ca
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #17 on: September 05, 2022, 05:44:26 pm »
Yeah I should hookup my ardiunio and make it blink an output a know # of times at a known rate, etc, and figure out what the scope does.

I see the Hantek4032L, something like that is probably a good fit for me. I've been learning a lot more about 4-bit breadboard computers, and for when I'm learning MCU's, it would also be nice to have a LA/PA show me what's happening, on my computer screen.
 

Offline switchabl

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: de
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #18 on: September 05, 2022, 06:06:54 pm »
What about Hantek models, they seem to have cheap hobby level stuff that's PC compatible, and not total garbage.

When you buy a USB logic analyzer, you are also paying for the software, which can make big difference in practice. Hantek does not exactly have a great reputation in that regard, although I do not know about the logic analyzers specifically. But you can usually download a demo version that you can explore without hardware. It is highly recommended to do that before buying and compare. Other brands to potentially look at are DSLogic, Zeroplus, Ikalogic, Saleae Logic, as well as Digilent's Digital Discovery.

For the non-brand 10$ gadgets, you will likely be using the open-source software PulseView. It has support for a lot of other devices but some work better than others (even if they are technically listed as "supported").
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30260
  • Country: nl
    • NCT Developments
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #19 on: September 05, 2022, 06:14:41 pm »
Agreed. The software is what makes or breaks a good device. For most modern day test equipment the hardware is pretty simple; it is the software that makes it worth the money (or not).
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline J-R

  • Super Contributor
  • ***
  • Posts: 1775
  • Country: us
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #20 on: September 05, 2022, 07:38:18 pm »
Thoughts on the Digilent Analog and Digital Discovery devices for this purpose?
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 31985
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #21 on: September 05, 2022, 08:48:40 pm »
I have a Siglent scope that can decode I2C, but so far, if I'm doing it right, I find the time base is way too short to capture what's going on, using single shot.
Like Nico says, are you using Zoom mode ?
You should be using something like 50ms/div then press Zoom where the timebase control switches to the zoomed window where you can zoom into each packet and pan around the record.

However it's best you get rock solid triggering sorted first before using Zoom as for most protocols requires a falling edge trigger, signal thresholds set correctly with the packet vertical amplitude and most importantly Holdoff applied to prohibit retriggering within a packet.

Show us some screenshots with appropriate menus visible.
Avid Rabid Hobbyist
 

Offline Pitrsek

  • Regular Contributor
  • *
  • Posts: 172
  • Country: cz
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #22 on: September 05, 2022, 10:11:40 pm »
Thoughts on the Digilent Analog and Digital Discovery devices for this purpose?
I've bought digital discovery and so far I'm happy with it. I used it mostly to configure SPI devices, so my LA usage is so far limited. No issue with sw so far, seems well made. The ability to make a quick script to configure your SPI devices is super nice.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 18111
  • Country: 00
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #23 on: September 06, 2022, 12:00:02 am »
I see there's people with Arduino LA projects. That's interesting too, but in a week or 2, I'm going to order something, even if it is just a $20 LA again, I could use it for now on big MCU's like on a mobo.

Yep. Get one of those cheapo 24Mhz, 8bit analyzers and see how it goes. They're about $6 on Aliexpress. Use "Pulseview"software.

https://www.aliexpress.com/wholesale?SearchText=logic+analyzer

If it doesn't work out then you only lost $6.
« Last Edit: September 06, 2022, 03:56:48 am by Fungus »
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Low end PC-compatible Logic Analyzer suggestions
« Reply #24 on: September 06, 2022, 12:14:49 am »
The OP might like to consider one of the "bus pirate" family of devices.

Downloadable "personalities" are available, and they can also generate signals.

For the avoidance of doubt, I haven't used them.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->