piclist 1995\12\01\112214a >
Thread: PIC16C84 & PortB interrupt
face BY : John Payson email (remove spam text)

> On Thu, 23 Nov 1995, Andrew Warren wrote:
> > It was bad enough when only instructions that performed an EXPLICIT
> > read or read-modify-write kept the interrupt from happening... This
> > new information makes the change-on-portB interrupt almost
> > COMPLETELY worthless.  Does Microchip see this as a bug and plan to
> > correct it in future revs of the chip?

[bboles replied]
>      Actually, we understand this as a bug and it is being fixed in all new
>      devices including upcoming 'A' versions of '74, '73, '65, '64 , etc.
>      Rgds, Brian.

What precisely is Microchip fixing in the 'A' versions?  Most of the quirks
I can see with the PortB behavior (and read-modify-write in general) are
things that a "clever programmer" might exploit in some way.

Also, what is the specific behavior of the register read logic?  Does it
do the read for any opcode whose top six bits are not "00 0000", or does
it read regardless?  If the latter, does this cause any potential problems
with serial I/O on the '74 [since reading the input latch clears it, and
the output latch shares the input latch's address]?

PS--Personally, my preferred implementation for an "interrupt-on-change"
pin feature would be to have the interrupt triggered if/when the signal on
the port pin does not match the output latch.  This could then be easily
cleared either by "movf port,f" or by most read-modify-write operations on
the port.

In reply to: <m0tKTym-000BAYC@mailbox.mcs.com> from "BBoles@CCMAIL.MICROCHIP.COM" at Nov 28, 95 09:55:00 am
See also: www.piclist.com/techref/microchip/ints.htm?key=interrupt
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) PIC16C84 & PortB interrupt

month overview.

new search...