psd813f1a-90ut STMicroelectronics, psd813f1a-90ut Datasheet - Page 30

no-image

psd813f1a-90ut

Manufacturer Part Number
psd813f1a-90ut
Description
Flash In-system Programmable Isp Peripherals For 8-bit Mcus
Manufacturer
STMicroelectronics
Datasheet
Preliminary
The
PSD913F1
Functional
Blocks
(cont.)
9.1.2 SRAM
The SRAM is a 16 Kbit (2K x 8) memory. The SRAM is enabled when RS0— the SRAM
chip select output from the DPLD— is high. RS0 can contain up to two product terms,
allowing flexible memory mapping.
The SRAM can be backed up using an external battery. The external battery should be
connected to the Vstby pin (PC2). If you have an external battery connected to the
PSD913F1, the contents of the SRAM will be retained in the event of a power loss. The
contents of the SRAM will be retained so long as the battery voltage remains at 2V or
greater. If the supply voltage falls below the battery voltage, an internal power switchover to
the battery occurs.
Pin PC4 can be configured as an output that indicates when power is being drawn from the
external battery. This Vbaton signal will be high with the supply voltage falls below the
battery voltage and the battery on PC2 is supplying power to the internal SRAM.
The chip select signal (RS0) for the SRAM, Vstby, and Vbaton are all configured using
PSDsoft.
9.1.3 Memory Select Signals
The main Flash (FSi), EEPROM (EESi), and SRAM (RS0) memory select signals are all
outputs of the DPLD. They are setup by entering equations for them in PSDsoft. The
following rules apply to the equations for the internal chip select signals:
1. Flash memory and EEPROM memory sector select signals must not be larger than the
2. Any main Flash memory sector must not be mapped in the same memory space as
3. An EEPROM memory sector must not be mapped in the same memory
4. SRAM, I/O, and Peripheral I/O spaces must not overlap.
5. An EEPROM memory sector may overlap a main Flash memory sector.
6. SRAM, I/O, and Peripheral I/O spaces may overlap any other memory sector. Priority
Example
FS0 is valid when the address is in the range of 8000h to BFFFh, EES0 is valid from
8000h to 9FFFh, and RS0 is valid from 8000h to 87FFh. Any address in the range of RS0
will always access the SRAM. Any address in the range of EES0 greater than 87FFh (and
less than 9FFFh) will automatically address EEPROM memory segment 0. Any address
greater than 9FFFh will access the Flash memory segment 0. You can see that half of the
Flash memory segment 0 and one-fourth of EEPROM segment 0 can not be accessed in
this example. Also note that an equation that defined FS1 to anywhere in the range of
8000h to BFFFh would not be valid.
Figure 7 shows the priority levels for all memory components. Any component on a higher
level can overlap and has priority over any component on a lower level. Components on the
same level must not overlap. Level one has the highest priority and level 3 has the lowest.
physical sector size.
another Flash sector.
space as another EEPROM sector.
In case of overlap, priority will be given to the EEPROM.
will be given to the SRAM, I/O, or Peripheral I/O.
PSD913F1
29

Related parts for psd813f1a-90ut