Re: 32kHz crystal issues




Ok, I did some experimenting.

First off, I realized something important - the chip has an internal
2.5v regulator for it's core logic, so the DC offset isn't as suspect
as it could have been.

I swapped the GPIO next to the OSCI return with a different GPIO that
doesn't change once the system's running, and that got rid of the
interference. There doesn't seem to be interference from the next pin
over, which is the high speed OSCI, and which is also a GPIO with lots
of edges.

I replaced the 330k resistor with a 560k resistor. It didn't change
any of the DC offsets, but it did reduce the drive Vpp some (and
increased the startup time from 1s to 3s ;)

With either resistor, the drive phase and return phase are not 180
degrees out of phase. More like 120, as if the filter wasn't pushing
it around enough. However, the return peak corresponds to the first
part of where the drive signal hits gnd; maybe an even bigger
resistor? Nope, even 1M doesn't change the phase. I guess I'll have
to tune it once it's on the final PCB and the stray capacitance is
finalized, yes?

Meanwhile, I'm going to write some software to internally compare the
32k clock to the FRC clock so I can see what effect the scope probes
have.

DJ
.



Relevant Pages

  • Re: How does an OPA work?
    ... The offset will be amplified by the usual gain equation: ... Of course adding a resistor to the noninverting input with a value ... if the inputs have equal bias currents). ... get the offset current out of the offset voltage measurement. ...
    (sci.electronics.design)
  • Re: How does an OPA work?
    ... The offset will be amplified by the usual gain equation: ... This bias current can easily be measured and then factored out by ... Of course adding a resistor to the noninverting input with a value ... if the inputs have equal bias currents). ...
    (sci.electronics.design)
  • [PATCH -mm 5/5] asic3: Use uppercase only for macros and defines.
    ... ASIC3 GPIO config ... trigger = asic3_read_register(asic, ... asic = container_of(chip, struct asic3, gpio); ... gpio_base, offset); ...
    (Linux-Kernel)
  • Re: pull up and down voltage
    ... I'd like to offset the sensor output about five percent. ... resistor on the signal pin lead, ...
    (sci.electronics.design)
  • Re: Opamp question
    ... Anders Nesheim Vinje wrote: ... > I was wondering why in an inverting opamp configuration, ... > there is resistor from the + input to ground. ... induced offset error from 4.5mV to 0.5mV. ...
    (sci.electronics.basics)