Hi Dwayne, I'm talking about external oscillator, it doesn't have anything to do with the Xtal. I know that using a Xtal it takes a thousands cycles to restart: that's exactly what I want to avoid, using the external oscillator. I can test it myself but it will take some days (4-6) before I get it, I will order it anyway, but if anybody has ever got his PIC24 (or dsPIC or even PIC I think they're all the same in this regard) out of sleep while using an external oscillator (not a Xtal), I'd like to hear his/her experiences. With kind regards, Mario At 23.41 2011.10.28, you wrote: >At 02:19 PM 10/28/2011, Electron wrote: > >>Hi, >> >>on a PIC24FV, using external oscillator, if I make the whole chip sleep, >>and I enable an CNxx INT, will the chip wake up after just one cycle? >> >>The datasheet seems to concentrate on what happens if you use a crystal >>(of course it will take ages to wake up), but what if I use an external >>oscillator? >> >>Will it wake up "instantly"? > >I don't use that PIC, but I don't think that it wakes up=20 >instantly. If you take a look at the oscillator block diagram, you=20 >will probably see a 1024 cycle delay that is enforced anytime you=20 >select any of the crystal oscillator options. And, as far as I know,=20 >you have to select one of the crystal options if you want to feed an=20 >external clock source into the PIC. > >I *could* be wrong, though. A quick look through the datasheet=20 >should make things clear. > >dwayne > >--=20 >Dwayne Reid >Trinity Electronics Systems Ltd Edmonton, AB, CANADA >(780) 489-3199 voice (780) 487-6397 fax >www.trinity-electronics.com >Custom Electronics Design and Manufacturing > >--=20 >http://www.piclist.com PIC/SX FAQ & list archive >View/change your membership options at >http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .