We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everyone.
I'm using a Keil C51 compiler. I have a Philips P89C664 Microcontroller besed on 8051. I want to activate an external memory K6X1008C2D.
The memory connected to the controller by 2 ports: P0 -> is the LSB adress pins true LATCH , and the DATABUS. P2 -> is the MSB adress pins.
Can anyone axplane to me how to activate the memory???
Best Regards. Moshe Levi.
The description of the external memory interface for the 8051 architecture is the first thing in Chapter 1 of the so-called "bible" for the 8051; further details are in Chapter 3:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
a) hardware as Andy stated above b) you must as the very first in startup.a51 set the appropiate SFR for external memory access.
Erik
PS woould a '668 (8k internal RAM) not do it?
Wich SFRs and what i need ti write to them??????
Doesn't the Datasheet tell you that????????????????????????????????????
I am not working with a 66x at this time
I think I recall the name, but if I am wrong, it will take the OP much longer to get it right than if he just have a look at the datasheet and get it right in the first place.