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.

8051 interfacing with 6264 RAM

Status
Not open for further replies.

ntq1633

Newbie level 3
Joined
Nov 29, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
8051 interfacing with 6264 RAM and 7-Segment LED

I have a schematic of 8051 interfacing with 6264 below, but I think it's problem. Could anyone to tell me what the problem with my schematic is.
schematic.png

Thank you !
 
Last edited:

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,435
If program memory resides in the MCU (version with built-in ROM, EProm, OTP or Flash) and RAM is properly addressed using A13, A14 and A15 then I can’t see any hardware issues ..
What’s your concern?

IanP
:wink:
 

ntq1633

Newbie level 3
Joined
Nov 29, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
I have written the code to display 1234 on the led. But it has not worked. I'm confusing !

ORG 2000H
LOOP:
MOV A,#0E4H ;number 4
CALL DISPLAY
MOV A,#0D3H ;number 3
CALL DISPLAY
MOV A,#0B2H ;number 2
CALL DISPLAY
MOV A,#071H ;number 1
CALL DISPLAY
JMP LOOP
DISPLAY:
MOV DPTR,#0000H
MOVX @DPTR,A
CALL DELAY2S
RET
DELAY2S:
MOV TMOD,#01H
MOV TH0,#HIGH(-5000)
MOV TL0,#LOW(-5000)
SETB TR0
JNB TF0,$
CLR TR0
CLR TF0
RET
END
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,435
First, make the delay time about 1ms ..
Then, keep in mind that the current to segments has only 25% duty ratio and it is limited by resistors ..
You selected 10k and that value is much, much to big .. try something like 100ohms ..

IanP
:wink:
 

Attachments

  • 8051 - RAM - 7-seg1.png
    8051 - RAM - 7-seg1.png
    163.5 KB · Views: 37

ntq1633

Newbie level 3
Joined
Nov 29, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
Thank you !!! I made it !!!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top