Dear Champs,
I am asking this for our customer.
There is one COMP on this MCU, but the user wants to have two independent protection usages and generate their respective ISR.
Questions:
1. There is an internal 8-bit DAC that can be used for the COMP. And this can be used as one protection case. The user wonders if it possible to have another different internal DAC with OPA as another different protection?
2. If not, the user uses an external circuit as negative threshold with our internal OPA or GPAMP. Is it OK?
3. The user uses the internal OPA/GPAMP and bring the output to a GPIO as external interrupt. We notice there is only one GPIO interrupt vector. If the user already uses another GPIO as the trigger source for this GPIO input interrupt vector and also use the GPIO from the OPA/GPAMP as another trigger source. Does it make sense? That is, is it possible to have several GPIO as the interrupt triggering source and the inside the ISR, the user can determine which GPIO to trigger this ISR?
4. Can ADC/OPA be used at the same time to save analog pin usage?
5. Can ADC/GPAMP be used at the same time to save analog pin usage?