{"id":338,"date":"2012-02-06T21:41:22","date_gmt":"2012-02-07T02:41:22","guid":{"rendered":"http:\/\/fll-freak.com\/blog\/?p=338"},"modified":"2025-04-21T00:54:36","modified_gmt":"2025-04-21T04:54:36","slug":"ade7763-part-8-bad-datasheet","status":"publish","type":"post","link":"https:\/\/fll-freak.com\/blog\/?p=338","title":{"rendered":"ADE7763 Part-8 (Bad datasheet?)"},"content":{"rendered":"<p>I last left with a puzzle on my mind. The VRMS and IRMS registered seemed to be reversed. Changing the load did not vary the IRMS register by rather the VRMS. I figured I had screwed something up in the register definition enumeration or some sort of cut and paster error.<!--more-->Tonight I went through the whole thing very carefully and found no fault with my code. I invoked a read on the IRMS register, captured it with a logic analyzer, and hand decoded it. Got the exact same thing from my code. I also noticed that the PEAK registers were affected by the appropriate parameter.<\/p>\n<p>As I wait for a reply from Analog Devices, I must assume that the datasheet has a typo in it and that the registers are reversed. Or since the pattern of I, V, I, V related registers would change, I assume that the die revision I have (0x03) has a bug in it.<\/p>\n<p>As long as I get positive confirmation back from Analog, it will be simple to swap the two register reads. If they insist that the part or document is not defective, I am not sure what to do!<\/p>\n<p>But a good thing happened tonight as a consequence of all the testing. I proved to myself that the zero crossing ISR had nothing to do with the reversal. Looking back over my old notes, it is certain that I noticed the reversal in the early days. At that time, I was only printing out the register number and not the text &#8220;VRMS&#8221;. I could easily have just assumed that the one that changed was the correct register.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I last left with a puzzle on my mind. The VRMS and IRMS registered seemed to be reversed. Changing the load did not vary the IRMS register by rather the VRMS. I figured I had screwed something up in the &hellip; <a href=\"https:\/\/fll-freak.com\/blog\/?p=338\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[],"class_list":["post-338","post","type-post","status-publish","format-standard","hentry","category-home-power-monitor","category-projects"],"_links":{"self":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=338"}],"version-history":[{"count":3,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/338\/revisions"}],"predecessor-version":[{"id":341,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/338\/revisions\/341"}],"wp:attachment":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}