Hi All,
I have one PIC18F4520 application running at 40MHz (10MHz XTAL, 4x PLL). To get more IO's, I thought to run PIC with internal clock (8MHz, 4x PLL). Everything works perfectly, until I tested sleep mode.
PIC goes to sleep, but current consumptions is much higher (~8x) than with 10MHz XTAL.Code:</i></font><b>ASM </b><font color="#008000">sleep </font><b>ENDASM</b>
40MHz: 0.85mA (XTAL)
32MHz: 6.75mA (Int CLK)
Differences between codes:
Code:<code><font color="#000000"><b>DEFINE </b>OSC 40 </code>Differences in INC-fileCode:<code><font color="#000000"><b>DEFINE </b>OSC 32 OSCCON=%11111100 OSCTUNE.6=1 </code>
Code:__CONFIG _CONFIG1H, _OSC_HSPLL_1HAny ideas how to recude power consumption?Code:__CONFIG _CONFIG1H, _OSC_INTIO67_1H
I tried to search forum and web, but no hits. Also I have read data sheet, but I was not able to find any help.
BR,
-Gusse-





Bookmarks