Tool/software:
Hi,
I want to implement overcurrent detection for a motor controller. I connected the analog output of my control circuit to the ADC3_AIN2 pin of the AM263P-LP. The value I read from this channel, as seen in the image, is 0x5CC
.
I am using CMPSSA7. I verified in the reference manual that this CMPSS module is connected to the relevant ADC channel.
I also shared the values of DACH and DACL in the screenshot.
Despite all of this, I observe a high comparator trip, and COMPHSTS is being set.
I have also included screenshots of the CMPSSA7 configuration.
What am I doing wrong?
Regards,
Burak