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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/15/05 17:09
Read: times


 
#103757 - logic analyser
Responding to: ???'s previous message
The LA is basically nothing else just a sequencer which generates successive addresses and a memory where the data are stored. You can try to do a simple loop like:
Grab:   
        MOV  A,P1
        MOVX @DPTR,A
        INC  DPTR
        MOV  A,DPH
        CJNE A,#HIGH(MEM_END),Grab
(of course after proper initialisation of DPTR) and fill up an external memory with 8-bit data attached on port P1. Later you can transfer it to PC and process further. This example reaches a whopping 140ksamples/s on the vanilla 8051 at 12MHz, but on faster '51 clones you could possibly achieve above 2Msamples/s (although you need much more to actually see 0.5us wide pulses - at least 5Msamples or better), especially if you unroll the loop and use features of the faster clones such as autoincremented DPTR (for features of fast clones see e.g. the overview at my 8052.com homepage). However, for faster sampling rates you will need to implement a separate logic (today often implemented in CPLD or FPGA) which will do the fast address sequencing, and use a fast memory. I am somewhat involved in an amateur LA construction ("miniLA") published at http://minila.sf.net (see also the links given there); and I am also preparing a simpler construction ("pikoLA"), 16 bits at 66 MSamples/s, controlled by - surprise, surprise - '51... (coming in December... hopefully).

Jan Waclawek


List of 12 messages in thread
TopicAuthorDate
Digital Pattern Logging (logic analyser)            01/01/70 00:00      
   your pictures            01/01/70 00:00      
   try a f12x the PCA can clock at 100 MHz            01/01/70 00:00      
      Thanks JW for
 and EM for PCA      
      01/01/70 00:00      
   logic analyser            01/01/70 00:00      
      just for fun, I calculated it for a f120            01/01/70 00:00      
         cost per value            01/01/70 00:00      
            as I said, "just for fun"            01/01/70 00:00      
         Error, or ...            01/01/70 00:00      
            instr.timing on 1clockers            01/01/70 00:00      
            The f12x is a 1 clocker and, as many red            01/01/70 00:00      
   cypress fx2, DMA, USB 2.0            01/01/70 00:00      

Back to Subject List