UPSD3234AV-24U1T STMicroelectronics, UPSD3234AV-24U1T Datasheet - Page 109

no-image

UPSD3234AV-24U1T

Manufacturer Part Number
UPSD3234AV-24U1T
Description
Flash Programmable System Devices with 8032 Microcontroller Core and 64Kbit SRAM
Manufacturer
STMicroelectronics
Datasheet
www.DataSheet4U.com
Example. FS0 is valid when the address is in the
range of 8000h to BFFFh, CSBOOT0 is valid from
8000h to 9FFFh, and RS0 is valid from 8000h to
87FFh. Any address in the range of RS0 always
accesses the SRAM. Any address in the range of
CSBOOT0 greater than 87FFh (and less than
9FFFh) automatically addresses secondary Flash
memory segment 0. Any address greater than
9FFFh accesses the primary Flash memory seg-
ment 0. You can see that half of the primary Flash
memory segment 0 and one-fourth of secondary
Flash memory segment 0 cannot be accessed in
this example.
Note: An equation that defined FS1 to anywhere
in the range of 8000h to BFFFh would not be valid.
Figure
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.
Memory Select Configuration in Program and
Data Spaces. The MCU Core has separate ad-
dress spaces for Program memory and Data
memory. Any of the memories within the PSD
Module can reside in either space or both spaces.
This is controlled through manipulation of the VM
Register that resides in the CSIOP space.
The VM Register is set using PSDsoft Express to
have an initial value. It can subsequently be
changed by the MCU so that memory mapping
can be changed on-the-fly.
Table 89. VM Register
0 = disable
PIO Mode
1= enable
PIO Mode
PIO_EN
Bit 7
54
shows the priority levels for all memory
not used
not used
Bit 6
not used
not used
Bit 5
0 = RD
can’t
access
Flash
memory
1 = RD
access
Flash
memory
FL_Data
Primary
Bit 4
uPSD3234A, uPSD3234BV, uPSD3233B, uPSD3233BV
0 = RD can’t
access Secondary
Flash memory
1 = RD access
Secondary Flash
memory
Secondary Data
Bit 3
For example, you may wish to have SRAM and pri-
mary Flash memory in the Data space at Boot-up,
and secondary Flash memory in the Program
space at Boot-up, and later swap the primary and
secondary Flash memories. This is easily done
with the VM Register by using PSDsoft Express
Configuration to configure it for Boot-up and hav-
ing the MCU change it when desired. Table
scribes the VM Register.
Figure 54. Priority Level of Memory and I/O
Components in the PSD Module
Highest Priority
Lowest Priority
0 = PSEN
can’t
access
Flash
memory
1 = PSEN
access
Flash
memory
FL_Code
Primary
Bit 2
Primary Flash Memory
Non-Volatile Memory
0 = PSEN can’t
access Secondary
Flash memory
1 = PSEN access
Secondary Flash
memory
Secondary Code
SRAM, I /O, or
Peripheral I /O
Secondary
Level 1
Level 2
Level 3
Bit 1
0 = PSEN
can’t
access
SRAM
1 = PSEN
access
SRAM
SRAM_Code
Bit 0
AI02867D
109/170
89
de-

Related parts for UPSD3234AV-24U1T