Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/29/08 13:39
Modified:
  11/29/08 13:42

Read: times


 
#160408 - '51 vs '52
Responding to: ???'s previous message
Trangga Findanugroho said:
Right now I use MCS51 (AT89S51), and I want to build such a Remote Control (Controlling by SMS), but I think the RAM is not big enough because Stack and Data together in one area of 00h-7Fh.

The easiest step for you is to go for the '52 part (e.g. AT89S52), which has twice as much RAM - 256 bytes - although the upper 128 bytes is to be used indirectly only (a great place to place the stack into it).

If you find out you need more, there are models with "internal external" memory, built into the chip, but accessed using MOVX. Of these, the 'RD2 sub-family (e.g. AT89C51RD2 of Atmel, or P89V51RD2 of NXP) are pin-compatible with the "classical" '51, and have also more extra features (lots of FLASH, a complex timer section called PCA, twice the speed - 6-clock instruction cycle). There are a lots of other, non-pin-compatible, low-voltage etc., but that's added complexity which is maybe not necessary in your case.

Nevertheless, you have to find out yourself, which of these is available at your place. There's no point in suggesting you something what you can't reasonably buy.

JW

PS. If the 256 bytes of RAM of '52 is not enough, you might want also to consider attaching some memory - EEPROM or FRAM - serially, e.g. via I2C. Unfortunately, there are no easily available SRAMs with I2C.


List of 35 messages in thread
TopicAuthorDate
Need bigger RAM            01/01/70 00:00      
   find out here            01/01/70 00:00      
   MCS-51 is the best            01/01/70 00:00      
      Not for BIG RAM!            01/01/70 00:00      
         why not?            01/01/70 00:00      
            Disagree            01/01/70 00:00      
            Address range does matter            01/01/70 00:00      
               still, why not            01/01/70 00:00      
                  while I agree with Per, here is a nugget for Jan            01/01/70 00:00      
                     Large data:: Yes, large RAM: Watch out            01/01/70 00:00      
                     particular application of OP, not yours, matters            01/01/70 00:00      
                        And the best is...            01/01/70 00:00      
                        but added complexity equals likely more buggy            01/01/70 00:00      
                  "best" is the key.            01/01/70 00:00      
                  Addressing modes do matter            01/01/70 00:00      
               Why would anyone use THAT architecture?            01/01/70 00:00      
                  Helps to check context before reacting            01/01/70 00:00      
                     It is the architecture and not the brand            01/01/70 00:00      
                        Sorry if unclear            01/01/70 00:00      
            Quick PC history            01/01/70 00:00      
               engineering insight            01/01/70 00:00      
                  What was your point?            01/01/70 00:00      
            Possible to 16Mbyte            01/01/70 00:00      
      I use MCS51            01/01/70 00:00      
         So why didn't you say that in the first place?            01/01/70 00:00      
            The universal truth again            01/01/70 00:00      
               64kB RAM?            01/01/70 00:00      
                  Both            01/01/70 00:00      
                     don't be deceived by Keil's database            01/01/70 00:00      
                        Good to know            01/01/70 00:00      
         '51 vs '52            01/01/70 00:00      
         even with AT89C2051 can be done            01/01/70 00:00      
   ... and the BIGGEST is...            01/01/70 00:00      
      Is that RAM on-chip?            01/01/70 00:00      
      Maybe biggest, but BEST?            01/01/70 00:00      

Back to Subject List