Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/04/06 21:42
Read: times


 
#111266 - another option
Responding to: ???'s previous message
What's faster to get done, is building a simple logic analyzer circuit on an FPGA prototype board.

If you have an FPGA prototype board available, one on which you can add a bit of circuitry (you won't need much) and a connector or two, then you're on your way. Unfortunately, the ones on which I've previously addressed this need are no longer readily available. The "cool" thing about FPGA boards with prototype area is that they allow you to program your FPGA, which, generally speaking, means some internal RAM, which you cah use for a buffer, or in which you can store trigger equations, or both (believe me, the triggering is always the most complicated portion of a logic analyzer.)

If you were to use an oscilloscope, it would be much easier to display your sampled signals, but if appears, since you don't own one, that you should use the PC, which you do own, instead. This means writing your own display and data manipulation routines. Of course, you can do this under DOS, using the old Borland 'C' compiler, which supports a GOTOXY function, and which allows for line drawing.

The way in which you'd produce the oscilloscope-compatible display would be to route the signals to a single BNC connector, through a primitive D-to-A converter consisting of a resistor ladder, or using an external DAC. The four upper bits would be for identifying (steering) the trace on the display, and the lower four would be for ensuring separation between the traces. That's where you'd attach your 'scope.

If you want to use a PC, you simply route the sample data to the PC through the parallel port, and sort it out in the PC.

If you're a real glutton for punishment, you include a simple CRTC in your FPGA, and drive a monitor directly. That's an "exercise for the student," however.

The problem with the FPGA board is finding and getting one in time.

What you probably want is a XILINX XC2S300E (1.8-volt logic, but 3-volt tolerant with series resistors) in BGA256 or PQFP208, if it's available. That one has 64Kbits of internal block RAM available. The ones I've used for this sort of thing are boards with XC2S200 FPGA (5-volt-tolerant 2.5-volt logic) with 56Kbits of block RAM. I paid about $100 each for those boards.


We can explore this further if this hasn't scared you off.

You can design and implement whatever you like on this type of board, and, if you can build your own board in a reasonable time frame, you can use it for many things.

If you have the funds available, however, and if you plan to do any sort of hardware development in the immediate future, I'd recommend you consider expending a few dollars on eBay for what's claimed to be a fully functional oscilloscope, without which you'll be pretty helpless anyway. A pretty decent Tektronix 465 or 475 should cost between 100 and 250 dollars U.S. That's a lot, but, properly cared for, it will last a long time. My old '465, purchased used in 1979 lasted me through 25 years of hard use, until I gave it away to a friend. That's a very useable 100 MHz instrument. Now, you can do without one, but not very easily.

RE




List of 77 messages in thread
TopicAuthorDate
Parallel port Logic Analyser            01/01/70 00:00      
   Maybe I can help ...            01/01/70 00:00      
      Details            01/01/70 00:00      
         Well ... YES!            01/01/70 00:00      
            Oops!            01/01/70 00:00      
               another option            01/01/70 00:00      
               ideas            01/01/70 00:00      
               Try a DOS box            01/01/70 00:00      
                  When things are not going on my way..            01/01/70 00:00      
                     well            01/01/70 00:00      
                        Cost?            01/01/70 00:00      
                        cost            01/01/70 00:00      
                           Options            01/01/70 00:00      
                              ok well            01/01/70 00:00      
                              miniLA            01/01/70 00:00      
                                 Sorry!            01/01/70 00:00      
                                    I don't sell            01/01/70 00:00      
                                    If you want something you can build ...            01/01/70 00:00      
                                 MiniLA?            01/01/70 00:00      
                                    Buying, building and Writing..            01/01/70 00:00      
                                       You've got to decide ...            01/01/70 00:00      
                                       great start!            01/01/70 00:00      
                                          AVR!            01/01/70 00:00      
                                             realterm            01/01/70 00:00      
                                          But they're not reall fast enough            01/01/70 00:00      
                                             Cheat!            01/01/70 00:00      
                                                only if it gains you something            01/01/70 00:00      
                                                   to LA or not to LA            01/01/70 00:00      
                                                      I once made one            01/01/70 00:00      
                                                         cost of time... and price of learning...            01/01/70 00:00      
                                                            there is no such thing            01/01/70 00:00      
                                                               1MHz sampling            01/01/70 00:00      
                                                                  it's not that simple            01/01/70 00:00      
                                                                     architecture            01/01/70 00:00      
   Not sure how it compares            01/01/70 00:00      
      not very useful            01/01/70 00:00      
   there is no way in hades that a "paralle            01/01/70 00:00      
      how fast?            01/01/70 00:00      
      not so fast there, Erik            01/01/70 00:00      
         PCI LPT vs. onboard            01/01/70 00:00      
            Seems a mite slow!            01/01/70 00:00      
         yes, but part of the "software" is Windo            01/01/70 00:00      
            You're right, of course,            01/01/70 00:00      
               all good and well            01/01/70 00:00      
                  wotizit            01/01/70 00:00      
                  That's it, exactly!            01/01/70 00:00      
                     Won't work either            01/01/70 00:00      
                        will work            01/01/70 00:00      
                           yes, but not the way you think            01/01/70 00:00      
                              re FIFO use            01/01/70 00:00      
                              USB+FIFO: the simplest way            01/01/70 00:00      
                                 Have you considered this?            01/01/70 00:00      
                                    simplicity            01/01/70 00:00      
                                       yes, but it's not deterministic            01/01/70 00:00      
                                          YES YES YES            01/01/70 00:00      
                                             What do you mean "forget about..."            01/01/70 00:00      
                                                quick'n'dirty            01/01/70 00:00      
                                                   there are countries with low labor cost            01/01/70 00:00      
                                                      labour cost?            01/01/70 00:00      
                                                   Even if it's 768 TB, it's too small            01/01/70 00:00      
                        think about it some more            01/01/70 00:00      
                     10MHz?            01/01/70 00:00      
                        Not the USB, the FIFO!            01/01/70 00:00      
                           USB logic analyzer            01/01/70 00:00      
                              It's just a transfer mechanism            01/01/70 00:00      
            Zigbee timing            01/01/70 00:00      
               if a byte is 32 then a bit is 4 and you            01/01/70 00:00      
               arrrrrrrrrrrrgh and stuff,just use pci            01/01/70 00:00      
                  Yes, well, what did you expect?            01/01/70 00:00      
                     better mousetrap            01/01/70 00:00      
               I must have been more precise            01/01/70 00:00      
                  but WHEN?            01/01/70 00:00      
                     2420 interface details            01/01/70 00:00      
                        Focus on your current needs            01/01/70 00:00      
                           Thank you            01/01/70 00:00      
   reconstructed website            01/01/70 00:00      
   Update            01/01/70 00:00      

Back to Subject List