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

Back to Subject List

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


 
#142114 - my test asm code to count ADC value of ICL7135
Responding to: ???'s previous message
helo sir i have wrote asm code below. my 89c52 works on 12.0Mhz crystal.
/////////////////hardware points/////////////////////////
1) BUSY of ICL7135 connected to INTO of 89c52
2) CLOCK of ICL7135 connected to timer-0 pin of 89c52
////////////////////////////////////////////////////////

MOV TMOD, #0Dh ;timer-0 in 16bit counter mode and gated with INT0
MOV TH0, highbyte(-10,001d) ; load value with -10001 d
MOV TL0, lowbyte(-10,001d)
SETB TR0 ; start timer-0
JB INT0, $
MOV R0,TL0
MOV R1,THO

List of 41 messages in thread
TopicAuthorDate
ICL7135 count read with its CLOCK pin?            01/01/70 00:00      
   What do you plane to learn from the clock?            01/01/70 00:00      
      asm code            01/01/70 00:00      
         You didn't answer the fundamental question            01/01/70 00:00      
         You have missed the point ...            01/01/70 00:00      
            No, Richard you have missed the point            01/01/70 00:00      
               It seems you\'re right!            01/01/70 00:00      
                  RE: to Richard Erlacher            01/01/70 00:00      
                     Come on ... don\'t you want to do any work at all?            01/01/70 00:00      
                        Truly, a budding manager...            01/01/70 00:00      
   See the clock and integrator waveform            01/01/70 00:00      
      What are you good at?            01/01/70 00:00      
         It is not            01/01/70 00:00      
            Elementary simple Erik            01/01/70 00:00      
               Missed the point!            01/01/70 00:00      
            Clock biting? Hhm...            01/01/70 00:00      
               OH            01/01/70 00:00      
                  Wait a minute...            01/01/70 00:00      
                     no, it was ~12MHz (uC) and 20kHz            01/01/70 00:00      
                  One swallow doesnt make a summer            01/01/70 00:00      
                     well if you are happy with one bit less of precisi            01/01/70 00:00      
                        One's view depends on how you at it!            01/01/70 00:00      
                           that does not improve precision            01/01/70 00:00      
                              Please refresh your knowledge of Legal accuracy            01/01/70 00:00      
                                 this is nonsense            01/01/70 00:00      
               What's "Clock Biting?"            01/01/70 00:00      
                  clock biting            01/01/70 00:00      
                     Duty Cycle "biting" doesnt have effect on this            01/01/70 00:00      
                        can't you READ?            01/01/70 00:00      
                     I see ... so it's like "frame slip" in comm's            01/01/70 00:00      
         my test asm code to count ADC value of ICL7135            01/01/70 00:00      
            Code wont work properly            01/01/70 00:00      
   thnks for suggestion            01/01/70 00:00      
      6 Digits?            01/01/70 00:00      
         RE: 6 digit reason..            01/01/70 00:00      
            CHEAT            01/01/70 00:00      
               Use extra digits for something useful            01/01/70 00:00      
                  How 6 digit matter?            01/01/70 00:00      
                     my code to display on 6 digit display            01/01/70 00:00      
            Just ignore the spare one!            01/01/70 00:00      
            left-justify the display            01/01/70 00:00      

Back to Subject List