Selecting a logic analyzer

robdejonge
Posts: 1
Joined: Sat Oct 27, 2018 9:33 am

Selecting a logic analyzer

Postby robdejonge » Sat Oct 27, 2018 9:36 am

In order to debug circuits, I'm looking to buy a logic analyzer. I'm on a budget, but I'd rather not spend the money instead of buying something that isn't capable. I care little for oscilloscope features, and am looking to buy a USB logic analyzer. However, I'm struggling to define the requires sample rate I need to watch out for.

Can anyone suggest and explain why?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Selecting a logic analyzer

Postby WiFive » Sun Oct 28, 2018 3:17 am


User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: Selecting a logic analyzer

Postby loboris » Sun Oct 28, 2018 9:42 am

Seleae logic analizers are very good, with excellent software, but very expensive.
If you are on budget, you may buy some Saleae compatible LA, like 25 MHz, 8-channel for ~7 US$ or 100 MHz, 16 channel for ~40 US$.
They work with Saleae software (I don't recommend it as it violates the Saleae license, its up to you), you can also use Sigrok/Pulseview.
The 24 MHz one is extremely cheap and works very good for most use cases.

bobtidey
Posts: 43
Joined: Mon Jun 18, 2018 2:24 pm

Re: Selecting a logic analyzer

Postby bobtidey » Sun Oct 28, 2018 10:52 am

Yes. Pulseview works well for medium speed analysis. As well as the common 8 bit logic hardware available you can also use CY7C68013A dev boards which give 16 bit operation.

See https://www.thingiverse.com/thing:2153437 for a 3d printed enclosure for this.

Note that you will struggle to look at USB signals with these clock ranges. You might want to look at using wireshark to monitor usb traffic.

jcsbanks
Posts: 305
Joined: Tue Mar 28, 2017 8:03 pm

Re: Selecting a logic analyzer

Postby jcsbanks » Mon Oct 29, 2018 8:56 am

Would something like this be able to measure the time between two CAN bus frames with resolution better than a microsecond? I presume the 100MHz model could.

I use a Kvaser Leaf Light but its time resolution seems to be quantised to 80us.

The ESP32 is requiring an 8us delay added between successive CAN frame transmissions so an automotive gateway doesn't drop frames. The Kvaser sees them all. Just found empirically.

Would like a better method to analyse and oscilloscopes with CAN are expensive.

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: Selecting a logic analyzer

Postby loboris » Mon Oct 29, 2018 9:34 am

In my experience, the 24 MHz LA measures 1 us intervals quite precise.
I'we been using it to analyze SPI transactions at 5 MHz without issues.

Who is online

Users browsing this forum: No registered users and 116 guests