We have been using the F2837xD for almost one year now, but using the ADC inputs to measure current. I have recently converted over to Sigma Delta hardware and software, and I have it all working except the comparator thresholds. The data-path and comparator-path are configured using the same Sinc3 filters, the data-path uses DOSR=40 and the comparator-path used DOSR=32.
The problem is all 6 comparators require an offset equal to ~1675 counts of the 0x7FFF range (mid-point is ~18059 instead of 16384). I calibrate out any measurement offset from my current-sensors, and the Sigma Delta data-path measures all 3 phase currents accurately (so I know the values of the currents entering the comparator filters). The comparator filters are the same as the data-path, yet I need to add this ~1675 count offset to ALL 6 comparators to get them to trip at the correct threshold.
I have reviewed, and re-reviewed, my Sigma Delta register settings and I find no errors. Even if there was an error in the filter-setting or OSR/resolution, those errors would cause a linear/scalor error, yet my errors on all 6 comparators are simply offset -- with this 1675 count offset, all 6 comparators trip at an accurate trip point across a broad measurement range.
While there is some errata on the comparators for the pre-released silicon, there is nothing about a comparator offset. Do you know if the rev-A silicon has any known problem in this area? Do you have any suggestions on how to troubleshoot this?
Thanks,
Jim