English
Language : 

UPSD3422_06 Datasheet, PDF (191/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
PSD module
28.1.16
Power management
The PSD Module has bits in csiop registers that are configured at run-time by the 8032 to
reduce power consumption of the GPLD. The Turbo Bit in the PMMR0 Register can be set to
logic ’1’ and both PLDs will go to Non-Turbo mode, meaning it will latch its outputs and go to
sleep until the next transition on its inputs. There is a slight penalty in PLD performance
(longer propagation delay), but significant power savings are realized. Going to Non-Turbo
mode may require an additional wait state in the 8032 SFR, BUSCON, because memory
decode signals are also delayed. The default state of the Turbo Bit is logic '0,' meaning by
default, the GPLD is in fast Turbo mode until the user turns off Turbo mode.
Additionally, bits in csiop registers PMMR0 and PMMR2 can be set by the 8032 to
selectively block signals from entering both PLDs which further reduces power
consumption. There is also an Automatic Power Down counter that detects lack of 8032
activity and reduces power consumption on the PSD Module to its lowest level (see
Section 28.1.16: Power management on page 191).
28.1.17
Security and NVM Sector Protection
A programmable security bit in the PSD Module protects its contents from unauthorized
viewing and copying. The security bit is specified in PSDsoft Express and programmed into
the uPSD34xx with JTAG. Once set, the security bit will block access of JTAG programming
equipment to the PSD Module Flash memory and PLD configuration, and also blocks JTAG
debugging access to the MCU Module. The only way to defeat the security bit is to erase the
entire PSD Module using JTAG (the erase command is the only JTAG command allowed
after the security bit has been set), after which the device is blank and may be used again.
Additionally and independently, the contents of each individual Flash memory sector can be
write protected (sector protection) by configuration with PSDsoft Express. This is typically
used to protect 8032 boot code from being corrupted by inadvertent WRITEs to Flash
memory from the 8032.
Status of sector protection bits may be read (but not written) using two registers in csiop
space.
28.2
Memory mapping
There many different ways to place (or map) the address range of PSD Module memory and
I/O depending on system requirements. The DPLD provides complete mapping flexibility.
Figure 64 shows one possible system memory map. In this example, 128K bytes of Main
Flash memory for a uPSD3433 device is in 8032 program address space, and 32K bytes of
Secondary Flash memory, the SRAM, and csiop registers are all in 8032 XDATA space.
In Figure 64, the nomenclature fs0..fs7 are designators for the individual sectors of Main
Flash memory, 16K bytes each. CSBOOT0..CSBOOT3 are designators for the individual
Secondary Flash memory segments, 8K bytes each. rs0 is the designator for SRAM, and
csiop designates the PSD Module control register set.
The designer may easily specify memory mapping in a point-and-click software environment
using PSDsoft Express, creating a non-volatile configuration when the DPLD is
programmed using JTAG.
191/293