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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/08/06 05:03
Read: times


 
#111579 - but WHEN?
Responding to: ???'s previous message
Under precisely what conditions do you want to sample those signals?

Do you need to know when the three signals occur with respect to some other event? Do you need to have the relationship with the system clock?

Do you just need to know whether a particular state ever occurs?

What information are you hoping to derive from this exercise?
(Forgive me, but I'm unfamiliar with this particular part, so those signals don't mean much to me.)

What's been said about the parallel port in general is quite true. However, if you use, say, a really fast 805x, such as my own personal favorite, the DS89C430, you can sample these signals a very fast rate and buffer the result in an external 64KB or smaller SRAM. That MCU executes 1 instruction cycle per clock, and the maker claims 1.6 cycles, on the average, per instruction in a typical mix. They also assert the thing can run at 33 MHz, so if you clock it at some precise multiple of your other mcu's clock, or with that very clock, since this part can also multiply the clock by either 2 or 4 internally, you can probably get quite a few samples, as well as triggering on some other well-defined event. If you have a single external event that you want to use as trigger, you can combine that into a trigger signal and use the trigger signal as an interrupt, where your ISR merely captures the signals you want and buffers them in external RAM. When the DPTR overflows, you can dump the resulting buffer into the PC via a serial link. If you want history before the trigger, then you make monitoring the trigger event a part of your sampling routine. you then sample until the buffer is full, produce an enable to the external trigger and then capture until you've captured 32K or 48K or some other convenient number of samples after your trigger.

That will get you fast enough samples to ensure you capture what you want to see, yet gives you a low-cost, yet effective way to get the information into your PC. These MCU's cost about $8 according to www.maxim-ic.com.

That's just another way to do it, of course, and plenty of potentially adequate means have been put forth. Just remember, the more general you make your device, the longer it will be of service to you.

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