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.

Port0 latch up in 89C51RD2

Status
Not open for further replies.

rohi

Newbie level 4
Joined
Mar 22, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
INDIA
Activity points
1,313
Hello
Can anyone help me ??
ITS URGENT!!!!
I am using Port0 of 89C51RD2 in my final year project
When i simulate my code,its working properly but when i burn the IC Port0 is latched up to 5V

Code:

ORG 0000H
MOV A,#00H
MOV P0,A
MOV A,#0AAH
BACK: MOV P0,A
ACALL DELAY
CPL A
SJMP BACK
DELAY:
MOV R7,#05H
LEB1:MOV R5,#0FFH
LEB2:MOV R6,#0FFH
AGAIN: DJNZ R6,AGAIN
DJNZ R5,LEB2
DJNZ R7,LEB1
RET
END
 

Dear My Frind
Try to test port1 insted of port0


best regards
 

Port 0 is an 8-bit open drain bidirectional I/O port. Need Pullup Resistor...
 

thanks Thomas but i have already connected 10k pull ups to this port

Added after 1 minutes:

hello friend
i am bind to use port 0 only...so is there any solution
 

just test this for port1 and feedback the result
 

are i tried.bt the same problem is there

Added after 6 minutes:

Hi Medtronic
is there any problem in hardware?i am uploading the image of hardware schematic..
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top