Author Topic: Suggestions on pattern generator (and logic analyzer)  (Read 2763 times)

0 Members and 1 Guest are viewing this topic.

Online JPorticiTopic starter

  • Super Contributor
  • ***
  • Posts: 3532
  • Country: it
Suggestions on pattern generator (and logic analyzer)
« on: January 08, 2018, 06:37:43 pm »
Hi.
I am looking for a digital pattern generator.
Specs...

I guess 8 channel, 1MSPS may be the bare minimum.
It doesn't seem to high a requirement and i could just make one myself with the fist MCU i find laying around, but i'd like not to have to write firmware and computer software...
Plus having a standalone unit with its own screen and everything..

Ideally i would acquire something from a LA, save it as a csv file or whatever, download the file into the patter generator, set the playback speed and go.

Re:LA, i am currently using a DSLogic, works fine but i'd like to have a better "real time" operation...
In the continous stream mode it triggers, acquires, send over usb, wait for a couple of seconds than acquire again.

I'd like to have more of a scope-like operation, this thing doesn't seem to have an history buffer either..

I may convince the boss to replace our current picoscope with a new one, with LA channels. I use the picoscope a lot and using a single unit could be a smart thing. Plus, it should have the "real time performance" i want.

Or in alternative, a LA that has a pattern generator? Or an AWG with also a pattern generator? (I know hantek do this, and we could also benefit from a new AWG..)
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28145
  • Country: nl
    • NCT Developments
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #1 on: January 08, 2018, 07:21:04 pm »
Pattern generator boards for Agilent LAs are cheap and plenty. AFAIK the 16700 or 16900 series are relatively recent.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline KrudyZ

  • Frequent Contributor
  • **
  • Posts: 293
  • Country: us
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #2 on: January 13, 2018, 09:58:43 pm »
In my opinion, generic pattern generators are not all that useful.
Whenever I have a need for a digital stimulus I just generate some Verilog and program it into an FPGA or CPLD eval board.
If it is a serial bus stimulus, I would use a processor board, or just re-use some Verilog code.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28145
  • Country: nl
    • NCT Developments
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #3 on: January 14, 2018, 06:21:23 pm »
That is one way but you need to have such a board around and hacking some C code or VHDL/Verilog together may be more cumbersome than creating a pattern. Let's not get into introducing errors every now and then. Also pattern generators typically have an adjustable output voltage setting so they can be used with various logic level types.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 20795
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #4 on: January 14, 2018, 07:39:23 pm »
A variable output voltage is a two-edged sword, just like a *1/*10 scope probe.

There is also the possibility of the pattern generator applying a voltage to an unpowered UUT.
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: 28145
  • Country: nl
    • NCT Developments
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #5 on: January 14, 2018, 07:57:48 pm »
The real pattern generators I have seen so far have an output resistor around 50 to 75 Ohms as back termination. That limits the current below damage levels unless you have a really sensitive device.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline KrudyZ

  • Frequent Contributor
  • **
  • Posts: 293
  • Country: us
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #6 on: January 15, 2018, 12:28:38 am »
That is one way but you need to have such a board around and hacking some C code or VHDL/Verilog together may be more cumbersome than creating a pattern. Let's not get into introducing errors every now and then. Also pattern generators typically have an adjustable output voltage setting so they can be used with various logic level types.

If all you need is a simple pattern, then a generator would be easier.
However, a CPLD / FPGA can react to the DUT and adjust its pattern / behavior accordingly.
That's a lot more flexible. The setup time isn't really that bad, once you get the hang of it.
 

Online JPorticiTopic starter

  • Super Contributor
  • ***
  • Posts: 3532
  • Country: it
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #7 on: January 15, 2018, 09:47:19 am »
However, a pattern generator is exactly what i need. I have acquisitions of sets of signals that made the unit misbehave, when i think i have isolated and solved the error i want to play back the pattern to see if the unit behaves correctly.
Samplerate is low (1 MS/s max), number of signals is 8 max, so in reality i could make my own "Digital pattern playback device" with the first MCU i find laying around -which i will probably do at some point- but if i don't have to write the firmware, test the firmware, write the computer software to download the pattern and control the unit, test the computer software and just get on with my work it would be better.

Only dedicated unit i could find at the moment is the agilent nctnico referred to. probably i can do it with some national devices unit.. i have a couple here in the office but they make it reeeeeeally hard for you to use them if they are more than a couple years old.
It seems that there is really no need for these things?

Oh, another thing.. This is probably something that could be done in simulation, however for the latest series of PIC18 MPLAB Simulator says "Beta-Core Support" which usually means that i can simulate a routine that only use variables stored in GP RAM with 100% accuracy on the result, but have zero assurance that any action involving the peripherals will work at all
 

Offline 0xfede

  • Regular Contributor
  • *
  • Posts: 201
  • Country: it
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #8 on: January 15, 2018, 10:42:54 am »
Hello JPortici,

may I suggest you a DIGILENT Digital Discovery? It has its own pattern generator (16ch-100MS/s IIRC)and it should be cheap enough.

Best,
0xfede
Semel in anno licet insanire.
 
The following users thanked this post: JPortici

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 7282
  • Country: hr
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #9 on: January 15, 2018, 11:04:46 am »
Digital Discovery will do nicely, but I would suggest putting buffers on outputs if you want additional protection...
It will capture and generate, and can import/export to CVS file..

It is surprisingly useful little thing... You can also make custom logic functions and decodes ...

Take a look at the documentation..

Regards,

Sinisa

 

Offline hli

  • Frequent Contributor
  • **
  • Posts: 259
  • Country: de
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #10 on: January 15, 2018, 11:04:58 am »
may I suggest you a DIGILENT Digital Discovery? It has its own pattern generator (16ch-100MS/s IIRC)and it should be cheap enough.
+1 for the DDD. It can store recorded data, though I never tried to replay it later.
 

Online JPorticiTopic starter

  • Super Contributor
  • ***
  • Posts: 3532
  • Country: it
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #11 on: January 15, 2018, 11:48:24 am »
DIGILENT Digital Discovery

 :palm:

of course. how could i miss it.. thanks fede

quick questions related to the LA part:
- Can it trigger from serial protocol?
- Can it trigger on serial protocol errors?
- Can it do both on custom protocols?
« Last Edit: January 15, 2018, 11:55:01 am by JPortici »
 

Offline 0xfede

  • Regular Contributor
  • *
  • Posts: 201
  • Country: it
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #12 on: January 15, 2018, 12:02:29 pm »
I don't have one but it seems that can trigger serial protocol.

There is a thread here for the DDD where you can find many answer:
https://www.eevblog.com/forum/testgear/digilent-digital-discovery/

I don't know if it is a limitation but the maximum output voltage for pattern generator is 3V3.

Best,
0xfede
Semel in anno licet insanire.
 

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 7282
  • Country: hr
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #13 on: January 15, 2018, 03:48:06 pm »
quick questions related to the LA part:
1.- Can it trigger from serial protocol?
2.- Can it trigger on serial protocol errors?
3.- Can it do both on custom protocols?

1.- Yes. SPI, I2C, I2S, 1Wire, SPI, UART, CAN
2.- SPI (Start, Stop, Value), I2C (Start, Stop, any NACK/ACK, Address&Data), I2S (Left, right, data) , 1Wire (Reset, Value), UART (Break, Idle, Value), CAN (Error, Break, Identifier)
3.- It can do custom protocol.  Don't know about trigger.

Regards,
Sinisa
 

Offline hli

  • Frequent Contributor
  • **
  • Posts: 259
  • Country: de
Re: Suggestions on pattern generator (and logic analyzer)
« Reply #14 on: January 15, 2018, 07:20:25 pm »
- Can it trigger from serial protocol?
Yes
- Can it trigger on serial protocol errors?
Yes
- Can it do both on custom protocols?
Unfortunately no, custom protocols are only used for 'rendering' the result data. But I think the first two capabilities already set the DDD apart from many other, even more expensive, logic analyzers.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf