Content originally posted in LPCWare by aamir ali on Mon Mar 25 04:59:03 MST 2013
Zero,
I know conversion time is fixed.
Sampling time which datasheet mentions in LPC1317, is mentioned with no source resistor value. So one can assume that for that much of speed no source resistance is used.
But problem occurs when source resistance is high, like in my case. Due to large source resistance the capacitor don't get fully charged if not sampled for enough time.
Generally 8, 16 Bit MCU have this time mentioned,
Quote:
For example for MSP4330G2553, tsample should be greater than
tsample > (RS + RI) × ln(2^11) × C,
Rs - Rsource,
Ri - input mux resistance
C = cap.
.
I have gone through many of ARM documents/other cortex M3 MCU, none have mentioned the sampling time formula.