Showing posts with label Logic Analyser. Show all posts
Showing posts with label Logic Analyser. Show all posts

Sunday, 7 September 2025

Logic analyser replacement clip leads

I sometimes wonder what exactly the manufacturers of logic analysers and the like think that people user them for. I have seen several come with leads like this with quite large clips on.

Or worse, this set with all black wires and even larger clips.

Side note, back in the 80s I knew someone who fitted car alarms. They all came with bundles of multicoloured and neatly labelled wires to make installation easier. He pointed out it also made it easier for a thief to disable it (cut the red wire .... no the green ...), so he would pull out a massive reel of black wire and use that for all the connections instead.

Those sort of clips only seem to fit if you have a large pin and lots of space around it. No chance of getting an IC or component leg.

Like the standard oscilloscope probes, they seem to have been designed in the era of point to point wired valve amps where there were lots of suitable points to clip onto large component legs in free ait, and they don't seem to haven't updated the design since then. Similarly a lot of the time I would like one or both leads on my multimeter to have clips rather than probes.

It is rare I can justify enough space for large enough test points on my designs.

If you are lucky, the connections to the analyser are standard connector types (e.g. 0.1" pin headers), so you can make up your own cables.

I have built up custom cable sets for common tasks (at least for me), such as monitoring the output of the video connector on a PET or Mini PET.

I originally bought the Ika Logic SQ200 4 channel unit to finish off development work on the original Mini PET.

It is still going strong doing the same job on the Mini PET II five years later.

Useful for sorting out things like the rather convoluted composite video specification.

And the very non-standard PET 9" monitor drive.

This has out-survived several more capable units. I am now back to something with more channels, but more on that later (in short, it's brilliant).

In previous posts you may have noticed the cabling was a bit of a mess as I was using various assorted leads with the wrong colour clips. Many of the better ones are still clipped to the plethora of unfinished projects I have.

So to get around that, I decided I should finish lots of those projects.

....

Yeah right.

This is me you know.

So, I did the right thing, and bought some new clips. I like these E-Z-Hook Micro Hooks. #NotSponsoredWishIWas

I also decided to get some nice wires to go with them. These ones were a bit pricey, but they are the more flexible silicone (?) types which are lighter and less likely to weight down the connections and should fit the hooks well (I have found some connectors slip off and whatever they are made of is impossible to solder to - maybe I need one of those battery terminal welder things?)

Since I am northern, I went for the 24" lead set, which was the same price as the 12" lead set (you often tend to pay per terminal for this sort of thing, rather than lead length).

My plan was to cut the leads in half, so I get the nice leads with the heatshrink end for the clips, and I can just wire on a standard Harwin M20 5 way connector at the other end.

I find it easier to stick with that one brand so all the crimps and shells match. You can get various random versions from ebay and Ali Express, often referred to as "Du Pont" connectors some of which seem interchangeable, other of which are not. In the same way, I stick with Molex KK and JST VH series rather than random clones. Your mileage may vary, I'll stick with my Harwin M20s. #NoSponsoredByAnyOfThemEither

I started with the four way analyser. That's looking very nice and colourful.

That plugs neatly into the analyser on the right.

My only gripe is the leads are organised on the box with green, red, yellow, blue, but in the software, the order is reversed and blue, yellow, red, green.

These clips are much easier to use on IC legs etc.

The softer wires also sit more easily, hopefully less stress on the connections.

Well, that's looking good, time for the 10 way set.

Cables cut and crimped.

Probe clips installed.

Ready to go.

The eagle eyed among you might think I have wired that up wrong, but like the other one, the pin order is not what I expected.

I initially made a test set with old leads, wired as below. If ground is the right hand pin, that should be the black wire, and so logically, the wire next to it should be brown, the red, and so on, in the standard resistor colour code (albeit backwards).

But that is not the case, channel 1 is actually far left.

You actually have to wire it 1,2,3,4,5,6,7,8,9,0. It sort of makes sense to have the black next to the channel 9, which is sometimes used as the external clock, so would be the highest frequency signal?

That way you match the colours of the wires, the signal traces, and the clips.

Even more wires to clip on now.

The new clips are great for clipping onto IC and component legs.

I am making lots of use of the external clock option, I have chanel 9 (scorchio) wired up to the 6.5MHz clock, so everything is displayed in terms of pulses of that clock.

Very useful for things like checking the critical 8 cycle per character timing.

The smaller units still gets a lot of use, and did great service with all the ZX81 BASIC for Minstrel 4th and Minstrel 3 testing.


Adverts

The Minstrel 3 and Minstrel 4th and lots of other things are available from my Tindie Store. I can still ship worldwide, currently it looks like Royal Mail to the US is working. There still may be delays or charges. We're all pawns in some petulant child's political games, but we've got to just keep going and try to make this stuff work.


Patreon

You can support me via Patreon, and get access to advance previews of development logs on new projects like the Mini PET II and Mini VIC and other behind the scenes updates. This is one combined from a few posts, but Patreon always get the long form versions before they get cut down. This also includes access to my Patreon only Discord server for even more regular updates.

Sunday, 21 June 2020

IKA Logic SQ200 Logic Analyser Review


This is a new toy I have just got, I've only had it a few days, but I've been quite impressed so far. It is an SQ200 from IKA logic, a 200MHz 4 channel logic analyser / signal generator.

I've been using a DSLogic Pro for the last three or four years, until last month it stopped being detected properly. It is one of those things which has the firmware loaded onto it by the driver, so it connects as one type of device, get the firmware, disconnects and then reconnects as the proper device. That has stopped happening now, and I've not been able to get it to identify properly, so it's bricked, currently waiting to hear back from support to see if there is anything they can do.

In the interim, I have been using a cheaper generic clone of something or other from ebay. It works, but has a sample rate of 24Mhz, which means it's not accurate enough to things changing at 16Mhz. I am currently working on the firmware for the Mini PET video controller, and the timing has to be precise down to one instruction of it's 16Mhz clock, and that is down in the sample noise of that unit.

So, time to get something that's a lot faster. This is 200Mhz, so is rather to be able to cope with signals up to 50Mhz, which is more than enough for what I need at the moment. It's limited to four channels, which is not ideal for some of the other things I do where 16 or more would be useful. But for serial protocols like UART, I2C, SPI etc. and the current video signalling it's great.

The unit comes with a USB lead and some probes. It's a very small box, 50mm square, but I guess it doesn't need to be any larger.

I wasn't too impressed with the quality of the supplied probes, those sort of clips aren't very good with IC legs. The connector at the device end is just a 5 way 0.1" connector, which is great, so you can make up your own leads. Not sure how that will work out with the higher frequency signals, but I guess just keep the leads short.

I have made up a set using the EZ Hook clips I have been using, these were a bit expensive, but have been worth it.

Because it is a easy connector to use, I have also made up a custom lead for the current job so I don’t need to clip multiple probes on each time.

The software is custom, and it is not currently supported by the open source sigrok Pulseview programs I have been using. So far it seems very nice and is doing what I need.

At 200Mhz I can capture 20mS, which is enough for a frame of video, and I can zoom down to line and pixel detail.

The issue I am currently dealing with is based on timing of the HSync pulses. They should all be 24uS high followed by 40uS low, but somewhere there is one that is slightly out. The dot clock on the PET video is 8MHz, so each pixel is 125nS wide. 
One instruction cycle on the microcontoller is 62.5nS, so a couple of instructions out and you are one pixel to the right of where you should be. Most of the code is NOP instructions so there are only a couple of NOPs to move around to fix it.

Various tweaks to the timing have given me close to the correct result, but each of the video modes needs to be dialled in to the exact timing. Ah, there's one of the culprits that 40us pulse is 60nS longer that it should be. One NOP instruction removed and it's now 40.000uS.

That is enough to change the video output from...

...to

A nice straight line, and with all the other timing tweaks, composite and drive to CRT monitors is now all working nicely with nice straight edges on the side.

The SQ200 has a lot of functionality I have yet to investigate fully. One thing that looks very handy is being able to set a conditional trigger, only trigger when that signal is low and that one goes high, then low before the other one goes high, and things like that.

It had protocol decoders built in, so you can decode I2C etc.

It can work as a signal generator, and can also work as mixed input and output, so it can actually send I2C commands and display the results.

So that's looking like a very handy tool to have, and helped me finish off the last few tweaks to the PET video firmware.