Hi,
I manage to solve the problem.
The main change is above marked line.
/*##-2- Configure DAC channel1 #############################################*/
sConfig.DAC_Trigger = DAC_TRIGGER_NONE;
sConfig.DAC_OutputBuffer = DAC_OUTPUTBUFFER_ENABLE;
...
https://pointer2-my.sharepoint.com/personal/yairh_pointer_com/Documents/Share/My%20COMP_Interrupt.rar1
If u did not receive the project file, please try to download it from the above link.
Regards,
Yair Hakak
FW engineer,
Pointer
A PowerFleet(r) ...
Hi,
[Are you sure analog peripherals such as DAC and comparator are available in sleep?]
I think so, pleaes see the bellow quote from the reference manual:
[cid:image002.png@01D76DBF.387BD660]
[It should be possible to upload zipped projects dir...
Hi,
I got your suggestion, and I am trying to implement MCU COMP to detect a voltage threshold cross.
The threshold should be any value.
For that, I used "COMP_Interrupt" example while configuring the inverting input as "COMP_INPUT_MINUS_DAC1_CH1"....