??? 06/08/04 14:14 Read: times |
#72065 - RE: Using P0 for LCD along with 64K Ext. RAM Responding to: ???'s previous message |
hi,
by first quick look: 1) use one of A8...A15 lines for RS signal of LCD; it keeps P1.3 for another usage. Possible such method may be used for LITE (as I understand, it is R/W) signal as well - anyway the main control feature for LCD is EN strobe signal so you may set both RS and LITE before use strobe. Indeed, it requires some additional programming of P2.x bits. 2) use additional latch on port 0 and one extra pin for load A8...A15 in it. This way you may set high byte of memory address manually to this latch and then use MOVX @Ri,A for memory access. Such command keeps P2 value during external memory access and so P2 may be still used as output port for your purposes. 3) use MCU with more pins. 4) use CPLD as expander. Regards, Oleg |