| ??? 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 |
| Topic | Author | Date |
| 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 |



