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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/18/03 12:15
Read: times


 
#39338 - RE: Interfacing 2Kx8 RAM to the 8051
Responding to: ???'s previous message
Of course, you can still use P2.3-P2.7 as free I/O-lines and P2.0-P2.2 as A8-A10 of your SRAM.

But then you must only use "MOVX @Ri,A" and "MOVX A,@Ri" to access the SRAM. Since otherwise all MOVX using DPTR should also affect the P2.3-P2.7 lines during SRAM access.

To set the A8-A10 of your SRAM, use ANL and ORL instructions, which leave the remaining port pins unchanged. Also "INC P2" and "DEC P2" can be used, if you watch, that no overflow can occur.


Peter

List of 16 messages in thread
TopicAuthorDate
Interfacing 2Kx8 RAM to the 8051            01/01/70 00:00      
   RE: Interfacing 2Kx8 RAM to the 8051            01/01/70 00:00      
      RE: Interfacing 2Kx8 RAM to the 8051            01/01/70 00:00      
      RE: Interfacing 2Kx8 RAM to the 8051            01/01/70 00:00      
   RE: Interfacing 2Kx8 RAM to the 8051            01/01/70 00:00      
   RE: Interfacing 2Kx8 RAM to the 8051.Jez            01/01/70 00:00      
      RE: Interfacing 2Kx8 RAM to the 8051.Jez            01/01/70 00:00      
   RE: Interfacing 2Kx8 RAM to the 8051            01/01/70 00:00      
   RE: Interfacing 2Kx8 RAM to the 8051            01/01/70 00:00      
   RE: Interfacing 2Kx8 RAM to the 8051            01/01/70 00:00      
      Interfacing 2Kx8 RAM to the 8051+pins            01/01/70 00:00      
   Saving pins idea            01/01/70 00:00      
      RE: Saving pins idea            01/01/70 00:00      
         RE: Saving pins idea            01/01/70 00:00      
            RE: Saving pins idea            01/01/70 00:00      
               RE: Saving pins idea            01/01/70 00:00      

Back to Subject List