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.
@srizf thank you dear ... actually for each incoming low pulse of 1usec, it has to generate only one low pulse of 2usec duration
- - - Updated - - -
@KlausST @BradTheRad thanks dear actually a low pulse of 1us is being sent to external interrupt of 8052 (active low interrupt configured)...
i have an input signal which goes active state (high or low) for 1usec and remain idle state (low or high) for the rest of the time ...
i want to put a delay in its active 1usec pulse . such that output has 2usec active state . i dont want to use microcontroller here , just want to achieve this...
i have used internal watchdog timer of At89c5131 clock at 8Mhz with X2=0; that means peripheral clock= (8/6) MHz ....
by setting watch dog counter to maxium setting of 7 ... i.e. 16384*S^2 machine cycles gives watch dog time aprox 3.1 sec where as i want upto 4.5 sec
is there any scheme/logic...
thanks FvM actually m still in beginner mode thats y i needed a direction ... thaks alot for ur help ... i have implemented 19200 and 38400 baud rates :-) now i m moving on spi , will seek ur help again :-)
it is the issue of flip software as it worked on 16Mhz , and it uses 3 oscilator options for burning i.e. 8,16,32 ....
thats y it was not working on other oscilators. . btw thank ud23 :-)
dear FvM!
if u r referring to SMOD1 methodology then i did that but if there is some other way then please let me know i could not understand via datasheet and 8051 book.
dear ud23 !
yeah i did that for 2400 baud rate and got upto 4800
as for 2400 baud rate TH1= 247.3 hence after truncation it comes TH1=247 i.e.
- - - Updated - - -
dear ud23!
yeah i did that earlier but i can go upto 4800 baud rate .. beacuse
for 2400 baud rate TH1= 247.3 , after truncation...
i m using at89c5131 @8MHz and i want to communicate via uart ...
but the actual baud rates after calculations are coming to
baud rate | value to be put in TH1 register | TH1 (8bit register)
-------------------------------------------------------------
4800 | 251.659...
thanks ud23 for ur reply,
actually i have 2 issues, one is that the circuit board (having AT89C5131) is detected by flip software via usb only if i use 8Mhz oscillator . why is it so ?
2nd issue is that if i have to use 8Mhz then how to deal with baud rate? because at 8Mhz baud rate error...
my AT89c5131 is being properly detected by FLIP via usb , after applying hardware conditions via board ... but this is only when 8Mhz oscillator is used in the circuit
when i replace 8Mhz by 11.0592Mhz , the microcontroller is not detected after applying hardware conditions.
whenever i need...
A very basic question:
what are the registers settings required to enable internal clock of AT89C5131?
is it just defining FOSC with the clock speed ?
kindly rep asap ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.