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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/26/02 10:06
Read: times


 
#27938 - RE: AT89C4051 --> external databus
hi why do I need the pullup resistors on P1.0 and P1.1 ?

Is this correct?????

//READ from extern adress
mov R0,ReadAdress setb ALE
mov P1,R0 //write readadress to P1
clr ALE
clr CS
clr RD
mov R1,P1 // read data from P1
setb RD
setb CS
mov ReadData,R1
RET

//WRITE to external adress
mov R0,WriteAdress
mov R1,WriteData
setb ALE
mov P1,R0 //write extern adres to P1
clr ALE
clr CS
clr WR
mov P1,R1 //write data to P1
setb WR
setb CS
RET


List of 12 messages in thread
TopicAuthorDate
AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
RE: AT89C4051 --> external databus            01/01/70 00:00      
Peter can you check my code plz            01/01/70 00:00      
RE: Peter can you check my code plz            01/01/70 00:00      

Back to Subject List