This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
When reading the reference manual, it looks like there are 3 magnitude threshold compare interrupts that can be generated. Each of those interrupts have an associated control register where you can configure if you want to compare between two channels or compare a specific channel to programmed constant threshold value; and finally if that comparison type needs to be greater than or less than.
While working on a demo app setup using HALCoGen 4.07.01, I noticed the following when stepping through the code on target:
Does this Hercules device or any other device have 6 magnitude threshold compare registers?
Ultimately, looking to be able to detect overcurrent conditions for 3-phase motor control application; so being able to detect over and under limits on the 3 ADC inputs representing the current feedback.
On the latest dual-core delfinos, there was a CMPSS module that easily allowed this but not seeing how I can implement this on the Hercules unless it's possible to setup a comparison per group rather than per channel.
Any clarifications on this is appreciated, thanks!
HI,
ADC only support three magnitude compare interrupts. I hope the below description clarifies your doubt.
On the latest dual-core delfinos, there was a CMPSS module that easily allowed this but not seeing how I can implement this on the Hercules unless it's possible to setup a comparison per group rather than per channel.
Sorry, for Hercules, the compare is done per channel.