Logic Analyser and Counters

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
Wow! Thats a fantastic price. Some choice English mind
smiley4.gif


OK, how about we try to get something decent off of A12 first seeing as it's the simplest because it isn't fed by the output of any of the others.

Only sample active channels. And by that I mean don't bother to connect anything to pins 3,4,5,6,7,9,10. We're not interested in them as we know they are tied either high or low permanently so we know what they're going to be doing.

So, connect up: 1,2,11,12,13,14,15

Now you're down to only 7 channels. The reason I say to do that is because digital analysers only have a limited, usually small amount of sample memory and depending on the software it may be that the fewer channels the more samples there are to go round which will in turn mean being able to sample quicker and / or longer.

Now then, I'd basically start by sampling as fast as you can. Sadly, in return for that you'll greatly reduce the amount of samples you can take so we need to use a trigger. Before we do that, just see what you get with only those channels connected up. It's possible you may need to tie the unused channels to ground. I had to do that on my first very cheep bootleg 8 channel analyser! By leaving them floating I was getting all sorts of phantom signals on adjacent channels.

OK, anyway, since you've already said that /CLR is not toggling when you look with your logic probe then I guess you can use that as a trigger. Set the trigger for a falling edge on /CLR and whenever you're ready manually pulse it low with a logic pulser, or just a resistor to GND. I've no idea what impact that will have on the game but remember we're not caring about that right now, we're simply trying to see if we can get any sense out of the logic analyser.

If you still don't get any reasonable samples at the highest possible rate and fewest channels then I'm a bit stuck and would need to have a play about.

Just to repeat, we're just seeing if we can read that 163 OK on the analyser, not really yet trying to do anything meaningful toward board fixing.
 

Mitchell Gant

Active member
vacBacker
Feedback
2 (100%)
Credits
888CR
I've hooked up my LA to a working Tiger Heli board which has a 74LS163 in the sync chain at location 9C similar to Purity's Mikie.

My Tiger Heli schematics are here: http://www.ukvac.com/forum/tiger-heli-schematics-pdfclear-but-may-be-wrong_topic340113_post853000.html?KW=Tiger+Heli#853000

I first wired up 14 signal inputs to my LA and triggered from the RCO output on the '163, with the LA clock set to 5MHz internal. I made a 'signal group' for the 4 outputs and labeled it HEX_OUT.

I got this result which is exactly what I'd hoped to see:

LA_74LS163_INTERNAL_CLOCK.jpg


Then I changed the LA to work off the '163 clock input from the PCB. I had to remove the pin 2 signal and instead put my LA CLK1 wire to the '163 pin 2.

LA_74LS163_EXTERNAL_CLOCK_FROM_PCB.jpg


I wasn't sure if this would work as this was where I'd had trouble before clocking from an external source. But I got the same pattern minus the clock pin 2 as I'd disconnected, and now the LA CLK1 input at the bottom of the picture reports a frequency of 15,420Hz. This shows that the counter at 9C of Tiger Heli is a the first line counter clocking from the horizontal sync signal.

I'd really expect you to see something very similar from your LA Purity.

Mitchell Gant2014-08-13 22:22:23
 

Mitchell Gant

Active member
vacBacker
Feedback
2 (100%)
Credits
888CR
Purity said:
Ok I've done that. Here's A12 with a trigger and without a trigger

I sampled at 8ns

I downloaded your zipfile and extracted, but I can't see how to open that format in your LA software?

So I don't know what your latest samples look like. But if you say it's similar to mine then I think you're there!
 

Purity

The Oracle
vacBacker
Feedback
17 (100%)
Credits
2,999CR
Mitchell Gant said:
Purity said:
Ok I've done that. Here's A12 with a trigger and without a trigger

I sampled at 8ns

I downloaded your zipfile and extracted, but I can't see how to open that format in your LA software?

So I don't know what your latest samples look like. But if you say it's similar to mine then I think you're there!

Whoops, forgot to put the normal format ones on. Here you go - A12.

I think A12 output looks the same as yours, but A11 doesn't. Take a look and see if you think it compares? I could be completely wrong :)
Purity2014-08-13 22:46:10
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
Haha! And I can't load the normal format ones so I can't see the samples. But I really don't think it matters as Neil has confirmed your sample now looks like a 163 should.

SO, cool. Now you should be able to move along to the next 163 and see what that one looks like. This time you'll want one of 7 or 10 connected (doesn't matter which as they're both fed from the same signal IIRC), and this time the counting will be much slower so you may start to be able to slow your sampling down.

As a rule of thumb though, I would first aim for 4x the sample rate of the target frequency like Neil mentioned much earlier. If you get odd results go as high as you can and work your way down.

Oh, and if I remember, at one point you said you could not see a way to view the CLK signal when you're using it to clock the sampler. Just hook a second grabber to the same pin (if you can squeeze it in) and sample it on a channel as well as using it to clock. Bingo!
smiley4.gif


So, hopefully we've been of some help to you! Makes me want to play with mine again
smiley36.gif
 

Purity

The Oracle
vacBacker
Feedback
17 (100%)
Credits
2,999CR
Yes this has been really helpful! Cheers guys! I now have something to compare with

Martin, I made a .vcd version of the same data that Neil is looking at in an earlier post if you want to take a look?
 

guddler

Busting vectors like it's 1982!
vacBacker
Feedback
10 (100%)
Credits
4,058CR
I think you accidentally overwrote it with the later one? They both have the same name. I did download it but it was the format native to the analyser software.

No matter for now, the important thing is you got past it
smiley1.gif
 

Purity

The Oracle
vacBacker
Feedback
17 (100%)
Credits
2,999CR
Created some more samples yesterday, also with pin 7 and 10 connected

In format:

Orig

From what I can see E12, and B12 look very much like the data from A12.

E11 looks similar but is missing Q2

Not sure about F12, F11

A11, B11 looks wacky. Both only show activity on Q0 or Q1. A11 - Q0, B11 - Q1

However the schematic suggests that only Q0 and Q1 are used on these?

Purity2014-08-16 11:34:58
 
Top