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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/27/06 16:07
Read: times


 
#115123 - Erik's right ... it's a poor spec'
Responding to: ???'s previous message
That 200 ns is a maximum on the minimum pulse width. If you're confused, you're not alone. Since this function (ALE) is purportedly an edge-triggered one, it shouldn't really matter how wide the pulse is.

I mentioned in an earlier post, that the slow rate at which you're operating may present a problem. However, you don't really need to use your timers if you use the EOC strobe as an interrupt rather than a polled input.

What you do while waiting for a conversion to end is entirely up to you, but if you have nothing else to do, you might just want to poll that input in what would otherwise be an infinite loop. It will, after a time, become active. If you don't enable the interrupt, you can just wait for the signal to become active.

I suspect that what the writeup to which you refer is meaning when they say, "source must remain stable" is the analog voltage you're trying to sample. The longer you wait, i.e. the slower you operate the converter, of course, the more opportunity there is for the voltage to change or for noise to contaminate the signal. That's one advantage of operating it at or near the maximum clock rate.

This converter uses "successive-approximation," which is a sequential method involving a reference voltage, a ratiometric DAC, and a comparator. It compares the input with a portion, starting with half, of the reference voltage and makes subsequent comparisons on the basis of the outcome of the previous comparison, each subsequent comparison is steered using the same principle as binary search. In theory, that would require eight comparisons for an eight0bit ADC, so, clearly, there's more than that going on. Monolithic converters were not so common back in the '70's when this device was developed. Converters in general were quite slow, as this one is, but they've clearly done something to speed up the operation as much as possible.

As I said before, I think you'd benefit by operating your converter with the fastest clock that you can. That might mean speeding up your 8751 in order to speed up the system timing. It will, after all, operate as fast as 12 MHz. The converter has a maximum on its clock of 1.28 MHz, so the ALE or, as you initially attempted, the ALE divided by two, will be a fine clock at 12 MHz, and that will be 3x as fast as you're currently going. It won't guarantee that your inputs won't change, but there's been no discussion of the character of your inputs. I suspect you'll be disappointed by the performance of this conversion system since you're wanting to use it for ranging on a moving device.

RE


List of 61 messages in thread
TopicAuthorDate
Interfacing A/D with 8031            01/01/70 00:00      
   what does the read the ADC code look lik            01/01/70 00:00      
      planning ..            01/01/70 00:00      
         I hope you mean flash/eprom            01/01/70 00:00      
            Thank you            01/01/70 00:00      
               well, i don't either            01/01/70 00:00      
                  Thanks Erik ..            01/01/70 00:00      
   There might be some problems            01/01/70 00:00      
      Some time ..            01/01/70 00:00      
      3 micro?            01/01/70 00:00      
         Yep ... you're right!            01/01/70 00:00      
      Explain a few things ...            01/01/70 00:00      
         updated but not finished schematic            01/01/70 00:00      
            Interrupt            01/01/70 00:00      
            address/data wiring is still wrong            01/01/70 00:00      
   Keep you updated ..            01/01/70 00:00      
      just a recomme3ndation            01/01/70 00:00      
   the ALE f/f is wrong, use MMIO            01/01/70 00:00      
      new chip ..            01/01/70 00:00      
         a lot            01/01/70 00:00      
   a few mins ..            01/01/70 00:00      
      if you are going to use the 87            01/01/70 00:00      
         i will            01/01/70 00:00      
            you will not need the 373            01/01/70 00:00      
               Different ...            01/01/70 00:00      
                  get rid of that @#&$# ALE F/F            01/01/70 00:00      
                     I apologize ...            01/01/70 00:00      
                        a "fun idea"            01/01/70 00:00      
                           Much thanx ...            01/01/70 00:00      
                              This could have been simpler            01/01/70 00:00      
                                 Thats what i thought!            01/01/70 00:00      
                           updated schematic            01/01/70 00:00      
                              you forgot to attach the ALE to the 7474            01/01/70 00:00      
                                 ALE shouldnt exist ....            01/01/70 00:00      
                                    Yup, that's right ...            01/01/70 00:00      
                                 oh ...            01/01/70 00:00      
                                    FINAL PLANS ...            01/01/70 00:00      
                                       Re: FINAL PLANS            01/01/70 00:00      
                                          Thank you            01/01/70 00:00      
                                          8051 pin configuration            01/01/70 00:00      
                                             a) it is impossible, b) why do you not f            01/01/70 00:00      
                                       just one comment            01/01/70 00:00      
                                          Liverpool USA?            01/01/70 00:00      
                                             New York?            01/01/70 00:00      
                                                Morrisville = Liverpool?            01/01/70 00:00      
                                          I live in ...            01/01/70 00:00      
   one more thought            01/01/70 00:00      
      updated schematic            01/01/70 00:00      
         get rid of the RC reset, use a superviso            01/01/70 00:00      
            found out ..            01/01/70 00:00      
               no, 666kHz            01/01/70 00:00      
                  WOW ...            01/01/70 00:00      
                     if you were serious about this ...            01/01/70 00:00      
                        a $2 LPC3xx would do nicely            01/01/70 00:00      
                           Definitly..            01/01/70 00:00      
                           That's not quite what I said, Erik            01/01/70 00:00      
                              huge problem ...            01/01/70 00:00      
                                 I see how this is confusing            01/01/70 00:00      
                                 Erik's right ... it's a poor spec'            01/01/70 00:00      
                                    knowledge            01/01/70 00:00      
                                       First lesson            01/01/70 00:00      

Back to Subject List