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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/31/03 06:32
Read: times


 
#61651 - RE: Atomic 16bit read
Responding to: ???'s previous message
The oscillations, as Erik stated, are no danger, since they occur only between two consecutive numbers (e.g. 0-1-0-1-0...) and so no problem.
So if a number was ignored, then the next number back was ignored also.


If I understand Erik right, the problem with the oscillations is not their presence but frequency that can effectively lock our program in interrupt read routine and never allow normal program loop to run, plus corrupt our summary value if we do it in some silly way, without taking previous readout value into consideration.

The transitions even though they are 0-1-0-1-0... are so high freq that we will miss readouts of most of them and should consider these we read as completely random string of zeros and ones, so without a sane transition recognition, our "angle value" will float randomly all around. If we run on incoming new value driven interrupts too, and don't limit their rate, we will never get to do anything other than reading the new incoming values.

Is this the right summary of the problem, Erik?

List of 32 messages in thread
TopicAuthorDate
Atomic 16bit read            01/01/70 00:00      
   RE: Atomic 16bit read            01/01/70 00:00      
      RE: Atomic 16bit read            01/01/70 00:00      
   RE: Atomic 16bit read            01/01/70 00:00      
      RE: Atomic 16bit read            01/01/70 00:00      
         RE: Atomic 16bit read            01/01/70 00:00      
            RE: Atomic 16bit read            01/01/70 00:00      
         RE: Atomic 16bit read            01/01/70 00:00      
   RE: Atomic 16bit read            01/01/70 00:00      
      RE: Atomic 16bit read            01/01/70 00:00      
         RE: Atomic 16bit read            01/01/70 00:00      
            RE: Atomic 16bit read            01/01/70 00:00      
               RE: Atomic 16bit read            01/01/70 00:00      
                  RE: Atomic 16bit read            01/01/70 00:00      
                  RE: Atomic 16bit read            01/01/70 00:00      
                     RE: Atomic 16bit read            01/01/70 00:00      
                        RE: Atomic 16bit read            01/01/70 00:00      
                           RE: Atomic 16bit read            01/01/70 00:00      
                              RE: Atomic 16bit read            01/01/70 00:00      
                                 RE: Atomic 16bit read            01/01/70 00:00      
                                    RE: Atomic 16bit read            01/01/70 00:00      
                                       RE: Atomic 16bit read            01/01/70 00:00      
                                          RE: Atomic 16bit read            01/01/70 00:00      
                                             RE: Atomic 16bit read            01/01/70 00:00      
                                                RE: Atomic 16bit read            01/01/70 00:00      
   RE: Atomic 16bit read            01/01/70 00:00      
      RE: Atomic 16bit read            01/01/70 00:00      
   RE: Atomic 16bit read            01/01/70 00:00      
      RE: Atomic 16bit read            01/01/70 00:00      
         RE: Atomic 16bit read            01/01/70 00:00      
            RE: Atomic 16bit read            01/01/70 00:00      
               RE: Atomic 16bit read            01/01/70 00:00      

Back to Subject List