Dear Sir, I'm handling one project using chip TDK73S1121, which is 8052 core. There are 7 bank in IRAM (from 0028H to 0067H, total 64 bytes). However, I don't know how to switch to these banks and assign data in different banks. Could anyone suggest idea? Thanks and regards, Victor PS: There is one register, say "RAMBANK" in SFR 0x86
It looks like the term "IRAM" has been invented by TDK and has nothing to do with the conventional "IDATA" of the standard 8052 architecture (see note, below). As this is a feature specific to TDK, you will need to look at the Datasheet, and search for Application Notes and other supporting material on the TDK website. Your distributor may also be able to help. "There is one register, say 'RAMBANK' in SFR 0x86" Is that a question, or a statement of fact? Either way, you need to look in the Datasheet. Note. If you are not already familiar with the standard 8052 architecture, you need to read the following - sometimes referred to as "the bible" for the 8052: Chapter 1 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf