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.

TRISD Configuration!

Status
Not open for further replies.

Sebasu

Newbie level 1
Joined
Mar 14, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
problems with CX8 interrupts on pic18f4550

i'm new with this languaje and with some time testing i can use interrupts with pic16f877a, but not with pic18f4550
can somebody tell me wich is the diference about interrupts between 16f and 18f MCU?


Thanks
 
Last edited:

16f devices use single vector for all interrupts, and 18f should have different vactors for different interrupts,
 

well... two anyway.
PIC16F have a single interrupt vector so if you want to prioritize interrupts you have to do it in software. PIC18F series have two interrupt vectors although you can still use just one if you want. The high priority interrupt can itself interrupt the low priority one but if you want other priorities you still have to implement them in software for one or both vectors.

Brian.
 

There are many SOURCES of interrupts, in fact most of the peripherals on the silicon can generate them and there are also external interrupt inputs but only two vectors, high priority and low priority.

I'm not sure what this has to do with TRISD though, the thread sems to have changed title a few messages back.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top