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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/12/07 08:44
Read: times


 
#140575 - Setup problem
Responding to: ???'s previous message
Thanks Jerson,
I found it is not setup time of CD4052 making problem.
I have now connected the inputs directly to MCP3202 Ch0 & Ch1.
So byspassed all selection problems. Still it is same problem.
I figure out that it is setup of 3202.
The start bit as loaded by ADSTRT routine isnt loaded.
So MCP takes the Single/differential bit coming after that as
start bit. So in Ch0 code the next bit is 0 and makes ADC as
differential. But bias level at ch0/ch1 is midway and ADC cant
take -In more than 100mV so it seems that ADC gets latched in
differential mode till power is there.
Now interesting part is that when checking Ch0 I get output
(Ch0-Ch1)^2 summed for 64 times and then finally divided by 64
and then get square rooted. Before squaring the value of midpoint is substracted so it becomes (Ch00^2 only as Ch1 is at
midpoint. So I get the value of Ch1 correctly. But when checking
Ch1 there is something like offset value of Ch1 that makes sum = Ch0^2 + small value. So I get the output as Ch0/8 + some offset value !!!!
So now I am checking what is happening to start bit of MCP and kick it start !
Thanks everybody,
psd

List of 25 messages in thread
TopicAuthorDate
MCP3202 ADC problem            01/01/70 00:00      
   Circuit ?            01/01/70 00:00      
      MCP3202 ADC problem            01/01/70 00:00      
         Testing strategy recommendation            01/01/70 00:00      
            Prototype            01/01/70 00:00      
               Could you specify all parts of your circuit?            01/01/70 00:00      
               What is driving the inputs of CD4052?            01/01/70 00:00      
                  Diagram blues            01/01/70 00:00      
                     Why diode in /CS line of MCP3202?            01/01/70 00:00      
                     Voltage divider directly to input of CD4052?            01/01/70 00:00      
                     Pseudo-differential mode?            01/01/70 00:00      
                        Who cares for Psudo?            01/01/70 00:00      
                           You definitely need buffers at the inputs of ADC!            01/01/70 00:00      
                              No violations            01/01/70 00:00      
      Here is CKT & code            01/01/70 00:00      
         Uncommented, unformatted code :-(            01/01/70 00:00      
            connection to CH0 & CH1            01/01/70 00:00      
               Ckt Diagram            01/01/70 00:00      
            Commented code            01/01/70 00:00      
               Some changes needed            01/01/70 00:00      
                  Formatting Forward Slash - not Backslash!            01/01/70 00:00      
                  Setup problem            01/01/70 00:00      
               Togglings needed while /CS is high?            01/01/70 00:00      
                  toggling CLK doesnt help!            01/01/70 00:00      
      A picture is worth a 1000 words            01/01/70 00:00      

Back to Subject List