I try to set MTEN bit in config0 register for ADE9430, when system initialization. but I can see any different Irms with MTEN=0, It seems the MTEN is invalid. The code see below:
config = 0;
AFEWrite16BitReg(REG_RUN, (uint16_t *)&config);
config = BITM_CONFIG0_RMS_SRC_SEL | BITM_CONFIG0_PERIOD_AVG_CFG_AV16 | BITM_CONFIG0_MTEN;
AFEWrite32BitReg(REG_CONFIG0, (uint32_t *)&config);
config = 1;
AFEWrite16BitReg(REG_RUN, (uint16_t *)&config);
Is there any other points I missed?
Thanks!
Kevin