Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

External Interrupts in PIC18F47J53

Status
Not open for further replies.

natraj20

Member level 3
Joined
Oct 28, 2010
Messages
65
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Florida
Activity points
1,769
The only external interrupt pin explicitly denoted in the PIC 18F47J53 controller was INT0 which is the RB0 pin.
RB0/AN12/C3IND/INT0/RP3
Can anyone tell me which pins the external interrupt flags INT1IF, INT2IF and INT3IF refer to in this controller?? I wanted to use more than one external interrupts. Though there are alternate ways to use a single interrupt pin to implement multiple interrupts with a simple digital logic, i just want to figure out what pins these interrupt flags associate with!!
Thanks in advance!View attachment PIC18F47J53 Datasheet.pdf
 

RB4/RB5/RB6/RB7 are all interrupt on change pins, see page 150 in the datasheet for more information. I am not sure which port relates to which interrupt flag but you should be able to determine this in software by triggering the interrupt and then checking which flag has changed state.

Hope this helps.

/Pete
 

Thanks a lot for taking your time at the datasheet Pete,

The RB4 to RB7 pins have a separate interrupt flag RBIF which is associated with these interrupt on change pins.
But have figured out how to use any reprogrammable pin as an external interrupt. By default, those interrupt flags do not associate with any pin it seems.
Thanks again Pete!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top