Hello there,
I'm doing some logic on the MSP430F6779 which requires zero-crossing detection, to do time-sensitive relay switching.
We're using the EMDC package to also do energy metering.
Are there any consequences if I use the EMDC package, but have a loop which waits for a zero-crossing by reading the ADC values directly?
How would such a wait-loop be implemented with the way EMDC sets up the ADCs?
Since a lot of the code is pre-compiled, I'm not entirely sure how the ADCs are setup in EMDC, nor how to wait for a zero-crossing to perform time-sensitive switching.
Any ideas?
Thanks in advance! The TI support forum has been very helpful so far, we appreciate the TI support team very much :)