in addition to my previous reply, you should look more closely at section 15.13.2 of the data sheet. there is a chance that the sleep is executing as a NOP because the RBIE and the RBIF were set...
Type: Posts; User: jnhammer; Keyword(s):
in addition to my previous reply, you should look more closely at section 15.13.2 of the data sheet. there is a chance that the sleep is executing as a NOP because the RBIE and the RBIF were set...
I believe that you need a NOP instruction after the SLEEP instruction. Regardless of the GIE setting, the instruction following the sleep instruction is executed.