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.

Interrupt every 50us?

Status
Not open for further replies.

pavans2510

Member level 2
Joined
Jul 25, 2011
Messages
45
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,288
Location
Bangalore
Activity points
1,562
Hi edaboard'ians, Im using ATMEGA328p-8PU I need to generate an interrupt every 50us. But there shouldn't be any timers used. Is it possible?
(there are 6 pwm pins in this controller which used timer to generate pwm signal. I need all the 6 pwm channel for other load. So i cant use timer to generate an interrupt)

Thanxs...:)
 

pavan.s2510@gmail.com said:
I need to generate an interrupt every 50us. But there shouldn't be any timers used. Is it possible?
There are no other interrupt sources except timers that can produce a time based interrupt. Since all timers are busy, one way I can think of is by using an external timing source that produces pulses every 50us and you could read those pulses from an external interrupt pin.
 

If your PWM frequency was 20KHz (50uS), you could use the timer interrupt.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top