English
Language : 

TMS370CX6X Datasheet, PDF (13/73 Pages) Texas Instruments – 8-BIT MICROCONTROLLER
TMS370Cx6x
8-BIT MICROCONTROLLER
SPNS033C – SEPTEMBER 1995 – REVISED FEBRUARY 1997
RAM/register file (RF)
Locations within RAM address space can serve as either register file or general-purpose read/write memory,
program memory, or stack instructions. The TMS370Cx67 and TMS370Cx68 devices contain 1K bytes of
internal RAM, mapped beginning at location 0000h and continuing through location 03FFh, which is shown in
Table 5 along with ’x69 devices.
Table 5. RAM Memory Map
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ RAM Size
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Memory Mapped
‘x67 and ‘x68
1K Bytes
0000h – 03FFh
‘x69
3.5K Bytes
0000h – 0DFFh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ The first 256 bytes of RAM (0000h – 00FFh) are register files, R0 through R255 (see Figure 1). The first two
registers, R0 and R1, are also called register A and B, respectively. Some instructions implicitly use register A
or B; for example, the instruction LDSP (load SP) assumes that the value to be loaded into the stack pointer
is contained in register B. Registers A and B are the only registers cleared on reset.
peripheral file (PF)
The TMS370Cx6x control registers contain all the registers necessary to operate the system and peripheral
modules on the device. The instruction set includes some instructions that access the PF directly. These
instructions designate the register by the number of the PF relative to 1000h, preceded by P0 for a hexadecimal
designator or by P for a decimal designator. For example, the system control register 0 (SCCR0) is located at
address 1010h; its peripheral file hexadecimal designator is P010, and its decimal designator is P16. Table 6
lists the TMS370Cx6x peripheral files.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ADDRESS RANGE
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1000h–100Fh
1010h – 101Fh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1020h–102Fh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1030h–103Fh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1040h–104Fh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1050h–105Fh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1060h–106Fh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1070h–107Fh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1080h–108Fh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1090h–10BFh
10C0h – 10FFh
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ data EEPROM
Table 6. TMS370Cx6x Peripheral File Address Map
PERIPHERAL FILE
DESIGNATOR
P000 – P00F
P010 – P01F
P020 – P02F
P030 – P03F
P040 – P04F
P050 – P05F
P060 – P06F
P070 – P07F
P080 – P08F
P090 – P0BF
P0C0 – P0FF
DESCRIPTION
Reserved for factory test
System and EEPROM/EPROM control registers
Digital I/O port control registers
Serial peripheral interface registers
Timer 1 registers
Serial communication interface 1 registers
Timer 2A registers
Analog-to-digital converter 1 registers
Timer 2B registers
Reserved
External peripheral control
The TMS370Cx6x devices contain 256 bytes of data EEPROM, and the memory is mapped beginning at
location 1F00h and continuing through location 1FFFh.
Writing to the data EEPROM module is controlled by the data-EEPROM control register (DEECTL) and the
write-protection register (WPR). Programming algorithm examples are available in the TMS370 Family User’s
Guide (literature number SPNU127) or the TMS370 Data Manual (SPNS014B). The data EEPROM features
include the following:
D Programming:
– Bit, byte, and block write/erase modes
• POST OFFICE BOX 1443 HOUSTON, TEXAS 77251–1443
13