+ Post New Thread
Results 1 to 9 of 9
  1. #1
    Newbie level 4
    Points: 1,364, Level: 8
    Yin-Yang's Avatar
    Join Date
    Aug 2005
    Posts
    7
    Helped
    0 / 0
    Points
    1,364
    Level
    8

    External memory

    Hiya

    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.

    Your help would be appreicated

    ::Yin-Yang::

  2. #2
    Full Member level 2
    Points: 2,500, Level: 11
    helios's Avatar
    Join Date
    Jun 2005
    Posts
    147
    Helped
    23 / 23
    Points
    2,500
    Level
    11

    Re: External memory

    hai

    Its great to see u here

    I would advise u to first read a good embedded system Design book ( search in our Ebook fourm) . and u`ll get exact idea of wat to use..

    i soon post a link for ebook or ... some of our forum guys will post
    a good ebook for u.



    -helios



    •   AltAdvertisment

        
       

  3. #3
    Newbie level 4
    Points: 1,364, Level: 8
    Yin-Yang's Avatar
    Join Date
    Aug 2005
    Posts
    7
    Helped
    0 / 0
    Points
    1,364
    Level
    8

    Re: External memory

    Hiya guys

    I can't find 'embedded system design' in Ebook section but I would find tutorial better.

    I am sure there are plenty of genuis guys have pretty good idea of using external memory with AT89C52. So please heeeeeeeelp me? 8O

    ::Yin-Yang::



    •   AltAdvertisment

        
       

  4. #4
    Full Member level 2
    Points: 3,753, Level: 14

    Join Date
    Aug 2005
    Location
    São Paulo - Brazil
    Posts
    143
    Helped
    14 / 14
    Points
    3,753
    Level
    14

    Re: External memory

    you can use at89s8252 have 2 k internal eeprom, and easy to use, I have example how to use eeprom, if you want use at89s8252 I post it



    •   AltAdvertisment

        
       

  5. #5
    Newbie level 4
    Points: 1,364, Level: 8
    Yin-Yang's Avatar
    Join Date
    Aug 2005
    Posts
    7
    Helped
    0 / 0
    Points
    1,364
    Level
    8

    Re: External memory

    Quote Originally Posted by aldevan
    you can use at89s8252 have 2 k internal eeprom, and easy to use, I have example how to use eeprom, if you want use at89s8252 I post it
    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.

    Yin-Yang :)



  6. #6
    Full Member level 2
    Points: 3,753, Level: 14

    Join Date
    Aug 2005
    Location
    São Paulo - Brazil
    Posts
    143
    Helped
    14 / 14
    Points
    3,753
    Level
    14

    Re: External memory

    this examplo, was compilled with SDCC C compiller, and is a litle program to Save using INT0 and INT1 to Restore from eeprom



  7. #7
    Advanced Member level 3
    Points: 7,253, Level: 20
    checkmate's Avatar
    Join Date
    Feb 2004
    Location
    Toilet Seat
    Posts
    833
    Helped
    179 / 179
    Points
    7,253
    Level
    20

    Re: External memory

    There are also serial EEPROMs and flash memory available. You can check out Atmel's website for their offering.



    •   AltAdvertisment

        
       

  8. #8
    Advanced Member level 1
    Points: 5,813, Level: 18
    Maverickmax's Avatar
    Join Date
    Dec 2004
    Posts
    404
    Helped
    8 / 8
    Points
    5,813
    Level
    18

    Re: External memory

    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?

    Maverick Max



  9. #9
    Full Member level 2
    Points: 1,845, Level: 9

    Join Date
    Jul 2005
    Location
    Canada
    Posts
    139
    Helped
    6 / 6
    Points
    1,845
    Level
    9

    Re: External memory

    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.

    Good luck,

    CyBeRbLaK



--[[ ]]--