# How can calculate the run current

Status
Not open for further replies.

#### zhengchao201105

##### Member level 2 now I am using S912XEG384 in our product.using a 8MHz external crystal and the system clock is 32MHz,so according to the datasheet of S912XEG384,the run supply current is 72mA@Afosc=4MHz, fbus=50MHz,so if the operatinf current is 72mA*32MHz/50MHz=46mA?
another question is to calculate the sleep current,the mcu will wake up for 8ms every 80ms,so if the sleep current is 72mA*8MHz/32MHz*8ms/80ms=1.8mA OR 72mA*32MHz/50MHz*8ms/80ms=4.6mA ,which one is right?

#### Gagandeep sharma

##### Newbie level 6 first can you please tell 72ma is total for 50 +4 mhz. then if it is total or if you can simulate your code in any simulator software it will tell you the percentage usage of your System now check and calculate how much load is there on your system in percentage accordingly..

#### zhengchao201105

##### Member level 2  I mean if the datasheet shows the current is 72mA@fbus=50MHz,if the sys clock i used is 32MHz,so does that mean the micro run current is 72mA*32/50=46mA?
this is used for wostcase calculation

Status
Not open for further replies.