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

Back to Subject List

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


 
#111474 - If it keeps you happy...
Responding to: ???'s previous message
Jeff Dache said:
I had a look in my 8051 reference and did fine what I needed to do.
      Mov R5,#8
HERE: Mov C,P3.0 ;bring in bit on P3.0
      RRC A      ;rotate right through carry 
      nop
      nop       
      DJNZ R5, HERE
      Mov R3,A  ; put byte in R3

This will simply whizz round the loop at whatever speed your 8051 happens to be running.

You have absolutely no guarantee whatsoever that this will be sampling P3.0 at any sensible position within successive bits of your data stream!

But, if it keeps you happy...



List of 32 messages in thread
TopicAuthorDate
Bit by Bit            01/01/70 00:00      
   how about the full story            01/01/70 00:00      
      Re;            01/01/70 00:00      
         Then convert it            01/01/70 00:00      
            How to Convert it            01/01/70 00:00      
         wotisit            01/01/70 00:00      
            Standard Async?            01/01/70 00:00      
               RS232?            01/01/70 00:00      
   The answer is in the question            01/01/70 00:00      
      Re:            01/01/70 00:00      
         with what            01/01/70 00:00      
            Re:            01/01/70 00:00      
               not INNER working            01/01/70 00:00      
                  this REALLY smells            01/01/70 00:00      
         good start            01/01/70 00:00      
            reverse-engineering            01/01/70 00:00      
               more likely a disassembly            01/01/70 00:00      
                  Illegal ?            01/01/70 00:00      
                     the disassembled chip most likely read c            01/01/70 00:00      
            Insufficient!            01/01/70 00:00      
               Wonderful, this is great            01/01/70 00:00      
         Up one level            01/01/70 00:00      
            already said?            01/01/70 00:00      
   Synchronously or asynchronously?            01/01/70 00:00      
      Re            01/01/70 00:00      
         If it keeps you happy...            01/01/70 00:00      
            of course it does            01/01/70 00:00      
         I give up!            01/01/70 00:00      
            Kai, how stupid we are            01/01/70 00:00      
         I want an electrified keyboard            01/01/70 00:00      
            Jez, don't you get it TO ALL NEWBIES            01/01/70 00:00      
               I'm touched!            01/01/70 00:00      

Back to Subject List