C
Charlie E.
Your digitizing scheme is not what you really need; the small current
can easily be integrated onto a capacitor, and a comparator input
with one of the nice timer sections can give a single-slope
digitization of the noisy input. Using instead the DAC section, your
noise bandwidth is quite high.
Current-input D/A conversion is easy, and voltage conversion then
voltage DAC has no real benefit here.
Hmmmm... interesting idea.
So, I just feed the emitter of the phototransistor directly to a cap,
and use a comparator input to determine when it has reached a
reference voltage. I probably need to hit it before and after with a
ground to clear the cap for the next sample...
Charlie