|
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
|
▷ |