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.

timer0 programing in Atiny461a

Status
Not open for further replies.

Dinuwilson

Advanced Member level 4
Full Member level 1
Joined
Aug 20, 2011
Messages
100
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Visit site
Activity points
1,985
i try to program the timer0 module in attiny461a. but...timer value is incrementing but interrupt is nor generated.... i try to simulate this in avr studio but timer value is not incrementing.when i test that same code in hardware with the help of an lcd display i saw the timer value is incrementing...

these are my register values

TCCR0A=0b00000000;
TCCR0B=0b00000001;

TCNT0L=0X01;
SREG = 0x80;
TIMSK=0B00000010;

why it happens.....help me to solve this probleam
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top