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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/24/02 13:50
Read: times


 
#19059 - RE: port 0 and external memory use
Don't Use the instruction mov a,p0 or mov p0,a,because as you are using a latch 74HC373, the p0 and p1 internal SFRs are used. you can address the DAC,like use some decoder, generate a chip select,then use the p0 as accumulator

ex: if suppose i am using a 2 to 4 decoder say 74ls/hct139. connect input of decoder A0 and A1 and rest not connected. use Y0 or Y3 and connect to DAC's chip select.Then

write instruction as mov r0,#00
mov a,@r0
this will fetch you the required data

List of 13 messages in thread
TopicAuthorDate
port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      
RE: port 0 and external memory use            01/01/70 00:00      

Back to Subject List