Before performing A/D conversions, the JP1 jumper should be set for
The software driver supports both polling and interrupt driven A/D, however, polling is the simplest way to perform an A/D conversion.
The settling time of multiplexer depends on the impedance of the signal source. Because the driver does not incorporate the settling time, the user needs to program a delay when switching from one channel to another or when changing gains.
Suggested Settling Times
One settling time is suggested for all ranges of the
Input Range | Settling Time |
± 10V | 23 ∝S |
± 5V | 28 ∝S |
± 0.1V | 140 ∝S |
± 0.01V | 1300 ∝S |
The software driver provides a machine independent timer, P1002_Delay(), for settling time delay. If the user calls P1002_Delay(), counter 0 will be reserved and can not be used as a user programmable timer/counter.
The A/D converter requires a trigger signal to start an A/D conversion cycle. The
39