Is it possible for int_rda to work when the PIC is sleeping - im a bit confused by reading the data sheet (18F2320).
What I want to do is to sleep until a byte is recevied, then wake and process it - but at the moment the PIC just sleeps forever (int_rda & int_global are enabled).
Im using a 10Mhz XTAL with the x4 PLL and the UART is running at 115.2KBaud (the UART works fine - untill it sleeps).
Gerrit
Joined: 15 Sep 2003 Posts: 58
Posted: Thu May 27, 2004 7:53 am
Hi Ben_r,
When putting the microchip to sleep disables the uart as well from
functioning.
And you can't wakeup after detecting a start bit (via external int)
Takes to long to start.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum