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

Back to Subject List

Thread Closed: Thread will re-open when original poster replies

???
06/13/07 12:22
Read: times


 
#140656 - nonsense?
Responding to: ???'s previous message
That can be done with those uCs with about 100Mhz clock and
single instruction cycle.


NONSENSE! The fast MCU will produce a 10 MHz clock only if you do something explicit to force it to do so. With only 10 instruction cycles per 100 ns output clock cycle, it can't really do much else. Would you consume nearly all the bandwidth of your MCU just to produce that one clock?


Nonsense?, well let's have a look
this is a 'speed demon' so no resource restrictions apply
1) the port where the data pin resides has no other use
2) the output is in an array where 6 bits of each byte is unused, one bit, the position of which correspond to the data output pin, is used for data and another bit in the data array is set for all but the last byte.
3)the last bit output will be zero (could be handled but not in the 3 minutes I am willing to spend)
loop:
clr CLOCK    2
mov a,@R0    2
inc R0       1
mov port,a   2
setb CLOCK   2
jz loop      2
OK it is 11 cycles, not 10, but this is 3 mimnutes of development, I guess another hour could reduce it to 10

Erik

List of 28 messages in thread
TopicAuthorDate
10mhz clock from 8051 cpu            01/01/70 00:00      
   BARELY possible ...            01/01/70 00:00      
      Ten milli hertz - that's a doddle!            01/01/70 00:00      
         SynMOS            01/01/70 00:00      
            what's MIP?            01/01/70 00:00      
            What, exactly, do you mean?            01/01/70 00:00      
      if you don't mind WHICH pin it is...            01/01/70 00:00      
         I think he does            01/01/70 00:00      
            well if that data does not need to change...            01/01/70 00:00      
               how are you going to get the data to "any pin"            01/01/70 00:00      
                  one instruction cycle            01/01/70 00:00      
                  DS89C4x0 might manage it            01/01/70 00:00      
                     let's have a 'yellow light'            01/01/70 00:00      
   graphical display            01/01/70 00:00      
      so you do NOT need just a clock            01/01/70 00:00      
         10MHz clock from 8051            01/01/70 00:00      
            Consider what you\'re doing.            01/01/70 00:00      
               SiLabs F120            01/01/70 00:00      
                  Are you certain that applies?            01/01/70 00:00      
                     I specifically did not            01/01/70 00:00      
                        that's true ...            01/01/70 00:00      
                           then why7 the ^&%$&^(* are we discussing that?            01/01/70 00:00      
                              You're absolutely right, Erik ... We need input.            01/01/70 00:00      
               nonsense?            01/01/70 00:00      
                  Little nonsense is better            01/01/70 00:00      
                     not 'a little' but 'utter' nonsense            01/01/70 00:00      
                     interrupt latency            01/01/70 00:00      
                        Maarten, you are correct            01/01/70 00:00      

Back to Subject List