SLAAE75A November 2022 – March 2023 MSPM0L1105 , MSPM0L1106 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346
MSPM0L comparator module (COMP) is an analog voltage comparator with general comparator functionality.
The MSPM0L Comparator module include internal and external input, you can use these structures flexibly to process your analog signals. And internal temperature sensor be able to as the COMP input directly.
The MSPM0L Comparator module also include a SHORT switch which can be used to build a simple sample-and-hold for the comparator.
As shown in #FIG_NKD_5J3_GVB, the required sampling time is proportional to the size of the sampling capacitor (CS), the resistance of the input switches in series with the short switch (R), and the resistance of the external source (RS). The sampling capacitor CS should be greater than 100 pF. The time constant, Tau, to charge the sampling capacitor CS can be calculated with the below equation.
Depending on the required accuracy, 3 to 10 Tau should be used as the sampling time. With 3 Tau the sampling capacitor is charged to approximately 95% of the input signals voltage level, with 5 Tau it is charged to more than 99%, and with 10 Tau the sampled voltage is sufficient for 12-bit accuracy.