SLAA475A October 2010 – March 2019 MSP430L092
To compare the different methods regarding accuracy and speed, a few basic conditions must be taken into account. The parameters for the following comparisons are:
Table 2 shows comparison of the conversion methods regarding execution speed and measurement accuracy.
Measurement Method | Maximum Error | Program Execution Clock Cycles | Measurement Only Clock Cycles ± Error | Overall Clock Cycles Needed |
---|---|---|---|---|
Ramp without compensation | ±3 | 44 (70) | 128 ± 3 | 169 to 175 |
Ramp with offset compensation | ±1 | 68 (150) | 2 × (128 ± 1) | 322 to 326 |
Ramp with overdrive compensation | ±2 | 68 (142) | 2 × (128 ± 2) | 320 to 328 |
Ramp with overall compensation | ±0 | 138 (288) | (2 × (128 ± 2)) + (2 × (128 ± 1)) | 692 to 704 |
Windowed ramp without compensation
(starting point 0x70) |
±3 | 44 (71) | 16 ± 3 | 57 to 63 |
Windowed ramp with overall compensation
(starting points 0x70 and 0x90) |
±0 | 152 (288) | (2 × (16 ± 2)) + (2 × (16 ± 1)) | 210 to 222 |
SAR logic | ±1 | 39 | 8 | 47 |