Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/25/01 03:51
Read: times


 
#13477 - RE: simple program for testing 8051
Hi all friends,
I followed your advices and rearrange the program and check with the hardware. I found that crystal works
at 4 MHz frequency with 1 V pk _ pk magnitude.
I could got signals at PSEN and ALE very clearly at the address latch
terminals (IC base terminals) without connecting Latch IC (74LS373). At port
2, signals are very clear and correct signals were there. ( ie 1,0,1,0
....). But with the latch IC, signals are distorted. Always port 3 pins are
at low state.
I have adjusted the time as far as possible.( FF * FF * 5F)
Program was also changed as your advice.
org 0100H
> > mov sp, #0030H
> > loop: mov P3, #0000H
> > acall delay
> > mov P3, #00FFH
> > acall delay
> > ajmp loop
> > dalay: mov R0, #005FH
> > del_1: mov R1, #00FFH
> > del_2: mov R2, #00FFH
> > inloop: djnz R2, $
> > djnz R1, DEL_2
> > djnz R0, DEL_1
> > ret

Still I couldn't get the output results. Thank you very much for your kind attentions for my work.
Please reply to improve my work
Best regards,

Kamala



List of 12 messages in thread
TopicAuthorDate
simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      
RE: simple program for testing 8051            01/01/70 00:00      

Back to Subject List