It's my first post today! I have been told that this forum is a good place to ask for help especially electronic and microcontroller engineering, also a lot of people are friendly here too. Let hope so!
I have been learning to use a simple 8-bit microcontroller chip like AT89C52 in C. Now I need to understand how to connect external memory where I can store 1024 bytes of data in. Unfortunately I do not know which external memory will be suitable for my application or how to write the codes to write the data 1024 bytes in the external memory.
That would be really lovely if you post the example here for me and everyone to learn (Please be aware that I only write in C). But I still need to understand about interfacing memory and write in C.
That's interesting because I have been trying to understand to use the external memory and pdata for keil environment. So if I intend to use AT93C46 (serial EEPROM), should I need to carry out serial data aglorithm instead of pdata?
If you want to use a at89s8252 with external memory, you should use a serial EEPROM such as the AT25xxx family from Atmel. It uses SPI communication and your micrcontroller has a hardware SPI module, which simplifies greatly the implementation. I don't have ready-made code, but you can read the uC's datasheet in combination with the memory's datasheet in order to know how to communicate between the two.