Deepak Rathore
Member level 2
- Joined
- Apr 25, 2012
- Messages
- 46
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,659
Hello everyone,
as I am using ADE7763 to measure the Vrms,Irms and Active power.
but when i am reading the Vrms register as the method suggested in the datasheet of ADE7763, i did not get accurate readings of VRMS register.
i am doing the following method to read the Vrms register.
do
{
Rstatus = Read_Reg(0x0C);
Rstatus = (Rstatus & 0x0010);
}while(Rstatus == 0x0010);
Vrms = Read_Reg(0x17);
here The readings of the Vrms register are varying randomly from min to max. readings and also there is while(Rstatus == 0x0010) infinite loop there that stuck the execution of programm if interrupt not occures.
so is there any other ways to read the Vrms register accuratly.
as I am using ADE7763 to measure the Vrms,Irms and Active power.
but when i am reading the Vrms register as the method suggested in the datasheet of ADE7763, i did not get accurate readings of VRMS register.
i am doing the following method to read the Vrms register.
do
{
Rstatus = Read_Reg(0x0C);
Rstatus = (Rstatus & 0x0010);
}while(Rstatus == 0x0010);
Vrms = Read_Reg(0x17);
here The readings of the Vrms register are varying randomly from min to max. readings and also there is while(Rstatus == 0x0010) infinite loop there that stuck the execution of programm if interrupt not occures.
so is there any other ways to read the Vrms register accuratly.