您好,我正在尝试用ADE7758与PIC18F4520
单片机接口来测量峰值电压、有功能量、表观能量、电压有效值、电流有效值、功率因数等。我已经阅读了ADE7758的数据表,并在PIC18F4520上配置SPI。但是我还不了解ADE7758的初始化和校准过程。启用HPF、LPF、PGA1、PGA2等?OpMod和增益寄存器的配置?任何其他建议…我已编写代码作为附件。
以上来自于百度翻译
以下为原文
Hello,
I am trying interface ADE7758 with PIC18F4520 MCU to measure Peak Voltages,Ac
tive Energy, Apparent Energy, Voltage RMS, Current RMS ,Power Factor etc. I have read datasheet of ADE7758 and configure SPI on my PIC18F4520.
But I have
not understood ADE7758 Initialization and calibration process.
When to Enable HPF, LPF , PGA1,PGA2 etc. ?
Configuration of OPMODE and GAIN Register ?
Any other suggestion ..
I have written code as attachment .
--
KR
Attachment(s)
123.zip (7.25 KB) - downloaded 214 times