Other Parts Discussed in Thread: SYSCONFIG
Hi,
I'm working on a project that applies a comparator to trigger the ADC routine using MSPM0G3507 Launchpad.
I used the example "comp_hs_dac_vref_external" to start my implementation. This example configures the comparator in high-speed mode using the 8-bit DAC with external reference as the positive input, and the external pin as the negative input.
I notice that the comparator triggers at the threshold set by the 8-bit DAC only for input signals with frequencies below 100 kHz. When I increased the frequency, the threshold didn't work properly, the transition of the comparator output started to occur for voltages different from the previous threshold value, eventually missing events for higher frequencies.
Looking at the figure attached on page 40 of the MSPM0G350x Mixed-Signal Microcontrollers, the comparator activation time parameter for high-speed mode is 10 us, and the propagation delay response time parameter for high-speed mode is 50 ns(max). My issues are the following:
1) Does the activation time occur only once and after the function "DL_COMP_enable(COMP_INST)"?
2) Is the propagation delay, response time parameter, the maximum time in which the comparator is able to "sense the inputs signals" and change the output accordingly?
3) Which parameters are needed to estimate the total comparison time?
I have also attached an oscilloscope image for an external triangular wave (1 MHz) as a negative input (yellow) and an external pin indicator of the comparator result (blue).
thank you for the support.