Searching \ for 'Change on PORTB interrupt' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ints.htm?key=interrupt
Search entire site for: 'Change on PORTB interrupt'.

Truncated match.
PICList Thread
'Change on PORTB interrupt'
1996\12\11@153746 by D. R. Chicotel

flavicon
face
I am using MPSIM with a stimulus file which changes pins 4 and 5 on PortB
(PIC16C64).
I am trying (desperately) to cause a Change on PortB interrupt to happen.
When the
pins change value, the interrupt (at org 0x04) is not called.  I can see
that INTCON
changes though.  Does MPSIM simulate this interrupt or am I just wishing?
If it
does, obviously I have some code problems.  This is my first attempt at
using this
interrupt.  I thought I followed AN566 (Using the PortB Int. on Change as
an...) and
AN552 (Implementing Wake-up on Key Stroke) pretty closely.   What am I
forgetting?
If anyone has sample code (bare bones) that does this, could you please
share it.

Thanks alot in advance.   DRC

More... (looser matching)
- Last day of these posts
- In 1996 , 1997 only
- Today
- New search...