Dear All,
I am using MSP430FE425 for Energy meter application. With the TI demo code, I am able to display the parameters perfectly, Where as during scrolling the meter hangs at VA page & doesn't resume back.
Below is the Code I have used :
if(Auto_Mode==0)
{
/*
if(key_press_count>14)
key_press_count=1;
*/
//key_press_count=2;
switch(key_press_count) // count value selects what to display.
{
case 1: //ok
clear_lcd();
display_date=1; // represents Hours , minutes and seconds.
_DINT();
read_rtc();
_EINT();
update_rtc_display(rtc.hour, rtc.minute, rtc.second,
rtc.day, rtc.month, rtc.year);
LCD[0]|=(SEG_c); // Semicolon.
Date_icon;
.
.
.
.
case 10:
display_dec(VA_Previous.l,2);
V_icon;
A_icon;
}
Please guide me to come out of this &
HOW IS THE ENERGY CALCULATION DONE IN CASE OF MSP430FE425 FOR ENERGY METERS.????
Regards
Mahesh.V.S.