AT89C5115 Atmel Corporation, AT89C5115 Datasheet - Page 24

no-image

AT89C5115

Manufacturer Part Number
AT89C5115
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5115

Flash (kbytes)
16 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
20
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
0.5
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C5115-RATUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5115-SISUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5115-UM
Manufacturer:
SANYO
Quantity:
84
Data Memory
Internal Space
Lower 128 Bytes RAM
24
AT89C5115
The T89C5115 provides data memory access in two different spaces:
The internal space mapped in three separate segments:
A fourth internal segment is available but dedicated to Special Function Registers,
SFRs, (addresses 80h to FFh) accessible by direct addressing mode.
Figure 9 shows the internal data memory spaces organization.
Figure 9. Internal memory - RAM
The lower 128 Bytes of RAM (See Figure 10) are accessible from address 00h to 7Fh
using direct or indirect addressing modes. The lowest 32 Bytes are grouped into 4
banks of 8 registers (R0 to R7). Two bits RS0 and RS1 in PSW register (See Table 17)
select which bank is in use according to Table 16. This allows more efficient use of code
space, since register instructions are shorter than instructions that use direct address-
ing, and can be used for context switching in interrupt service routines.
Table 16. Register Bank Selection
The next 16 Bytes above the register banks form a block of bit-addressable memory
space. The C51 instruction set includes a wide selection of singlebit instructions, and
the 128 bits in this area can be directly addressed by these instructions. The bit
addresses in this area are 00h to 7Fh.
The lower 128 Bytes RAM segment.
The upper 128 Bytes RAM segment.
The expanded 256 Bytes RAM segment (XRAM).
RS1
0
0
1
1
FFh
00h
Internal XRAM
256 Bytes
RS0
0
1
0
1
FFh
7Fh
80h
00h
Description
Register bank 0 from 00h to 07h
Register bank 0 from 08h to 0Fh
Register bank 0 from 10h to 17h
Register bank 0 from 18h to 1Fh
Indirect Addressing
Direct or Indirect
Internal RAM
Internal RAM
Addressing
128 Bytes
128 Bytes
Upper
Lower
FFh
80h
Direct Addressing
Registers
Function
Special
4128G–8051–02/08

Related parts for AT89C5115