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

Back to Subject List

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


 
#171144 - CS and RD working.
Responding to: ???'s previous message
CS and RD pins are getting activated. However there is no change in the output.Could the ADC still be going into tristate mode? The wierd part is that the ADC is even sending an INTR signal indicating the end of conversion,so the ADC is still working fine, right?
Could there be any problem in the amount of delay that I'm giving between toggling the WR and RD pins? The exact delay has not been given in any of the MC books so I tried a number of delays, 0.1ms, 1ms, even 255 ms!
Actually, initially the INTR pin was giving a low pulse so fast that I could'nt detect it on my voltmeter.I added a delay there to ensure that the intr pin stays low for sometime.But still I couldn't get a result.
I diconnected the VCC pin of the ADC quite a few number of times , so could the IC have blown up?

The two remedial moves I can think of now are:
1.Changing the ADC IC.
2.Removing a possible software bug,

Probably if the ADC is working fine, then there is definately a bug in my code. Could I therefore put up my code for you to verify?

List of 18 messages in thread
TopicAuthorDate
Receiving output from ADC0848.            01/01/70 00:00      
   Don't feed other pins without VCC            01/01/70 00:00      
      CS and RD working.            01/01/70 00:00      
         Wrong understanding of ADC!            01/01/70 00:00      
            But according to Mazidi...            01/01/70 00:00      
               No, you don't!            01/01/70 00:00      
                  Sorry!            01/01/70 00:00      
                     How do you see that?            01/01/70 00:00      
                        The LCD shows a 255.            01/01/70 00:00      
                           But this can have zillions of reasons...            01/01/70 00:00      
                     Never retype source code when posting            01/01/70 00:00      
                        Working! But with errors...            01/01/70 00:00      
                           You must convert raw ADC reading into temperature            01/01/70 00:00      
                           Self-heating?            01/01/70 00:00      
   Configured as push-pull?            01/01/70 00:00      
      It's a P89v51RD2            01/01/70 00:00      
         Difference only noticeable if contention            01/01/70 00:00      
         then STOP what you are doing            01/01/70 00:00      

Back to Subject List