2008-05-20 02:12 AM
Strange current Increase for STR912FAW44
2011-05-17 12:53 AM
hi,
I use a STR912FAW44 evisions G +IAR 4.40 The colck=25Mhz+32768hz. My Product need change the clock Automatically for the lower power. The code and The actual current is : ------------------------------- int main() { #ifdef DEBUG debug(); #endif SCU_MCLKSourceConfig(SCU_MCLK_RTC); Delay(50); //current=3.3mA SCU_MCLKSourceConfig(SCU_MCLK_OSC); FMI_Config(FMI_READ_WAIT_STATE_2,FMI_WRITE_WAIT_STATE_0, FMI_PWD_DISABLE, FMI_LVD_DISABLE,FMI_FREQ_HIGH); SCU_PLLFactorsConfig(192,25,2); SCU_PLLCmd(ENABLE); SCU_MCLKSourceConfig(SCU_MCLK_PLL); Delay(80000); //current=160mA SCU_PLLCmd(DISABLE); SCU_MCLKSourceConfig(SCU_MCLK_OSC); FMI_Config(FMI_READ_WAIT_STATE_1, FMI_WRITE_WAIT_STATE_0, FMI_PWD_DISABLE, FMI_LVD_DISABLE, FMI_FREQ_LOW); Delay(30000); //current=52mA SCU_MCLKSourceConfig(SCU_MCLK_RTC); Delay(50); //current=9.7mA?????????? where are from...... SCU_MCLKSourceConfig(SCU_MCLK_OSC); while(1) { } } ---------------------------------- Has anybody faced this problem? Any suggestions would be really helpful. Regards, tybl.