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.

Stop controller to Hanging from Genrating higher freq.

Status
Not open for further replies.

embpic

Advanced Member level 3
Joined
May 29, 2013
Messages
742
Helped
80
Reputation
160
Reaction score
77
Trophy points
1,308
Location
india
Activity points
5,213
Hello friends
I am tried to genrate higher freq. from p89v51rd2 with 12 MHz crystal. I am using timer0 for genrating freq. and i am also updating LCD but when tried to achieve high freq. its get hang. And also have limit to genrate high freq.

This is ISR routine
{
timer0();
freq_out =~ freq_out;
}

So, help me to genrate higher freq. and update lcd.

Is there any way to interface timer555 with controller.
 

Controller is hanged means u enter infinite loop & reason are.
1. Due to software logic.
2. In Reading so me external pin or bit during software polling condition but corresponding
signal not recived
3. In ur case at lower frequency if it work then it may possible that at high Crystal value
ISR of timer have problem.
Please post ur code & hardware circuit dig.
 
  • Like
Reactions: embpic

    embpic

    Points: 2
    Helpful Answer Positive Rating
i will post my s/f and h/w soon but it's working on medium freq. if i load TH0 & TL0 with near about ff and ee reap.
then it get hang.
 

Means it is ISR realated issue. Make very small code is ISR. Check Time Required for only ISR execution
 
  • Like
Reactions: embpic

    embpic

    Points: 2
    Helpful Answer Positive Rating
k thanks. but i need to create higher freak. and i think there should be any way to interface 555 with controller.
 

to genrate higher freq. with change in PWM and most of work on burdon on timer can be reduced and timer can do another work.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top