Answer From Microchip ticket:
I'm sorry, but this is a known errata issue.
http://ww1.microchip.com/downloads/e...doc/80171j.pdf
7. Module: PORTB Interrupts
When the PORTB interrupt-on-change feature and
a PORTB peripheral are enabled simultaneously,
the PORTB peripheral input signals rising and
falling edges will trigger an interrupt-on-change
event. This is due to the interrupt-on-change
feature not being disabled on the respective pin for
that peripheral when it is enabled.
The affected pins and peripheral signals on
PORTB are RB4: SCK and SCL, RB5: SS and
RB6: T1CKI. The functionality of T1OSI (RB7),
T1OSO (RB6) and TX/CK (RB5) is not affected by
this issue.
Work around
None.
But the big problem are the last words.......Work around = none.
Roberto
Bookmarks