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.

MSP430F148. Problem with multiple interrupts in TimerB.

Status
Not open for further replies.

korobov_michael

Newbie level 6
Joined
Feb 16, 2006
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,367
Hello all!
I am using the TimerB in F148 for capturing two channels. Also I want to control if there was an overflow on TimerB during operation. So I'm using two interrupt vectors -- first for CCR0 and the second for CCR1 and overflow.
But when I enable both the CCR1 and overflow interrupts, that share the same vector, I always see processing only of the most prioritized INTR - CCR1. When I disable processing CCR1 the MCU can processing Overflow.
Did anybody encounter this problem?
Thank you
 

bobcat1

Advanced Member level 4
Joined
Jul 10, 2002
Messages
1,288
Helped
99
Reputation
198
Reaction score
34
Trophy points
1,328
Activity points
8,547
Hi

You must include both process in the same interrupt function first process the overfloww and then the CCR1


All the best


Bobi
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top