69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69r
lq62d-f714peg4 * Memec (Headquar
ters) - Unique
T
ech, Insight, Impact * UNDER ND
A# 12101050
MAR
VELL CONFIDENTIAL - UNA
UTHORIZED DISTRIB
UTION OR USE STRICTL
Y PR
OHIBITED
Services Power Management Unit
Copyright © 12/13/06 Marvell
CONFIDENTIAL
Doc. No. MV-TBD-00 Rev. A
December 13, 2006
Document Classification: Proprietary Information
Page 221
Not approved by Document Control. For review only.
b. Write to the external regulator VCC_SRAM DVM Target Voltage 2 register (SDTV2) to set the
VCC_SRAM output voltage.
c. Write to the Voltage Change Control register (VCC1) to select the ADTV2 and SDTV2 registers for the
voltage settings and enable the voltage change.
4. If the TIS bit in the
“Power Management Unit Control Register (PMCR)”
is set to 1, an interrupt is
generated to the core to notify users of its frequency change.
Once the core PLL-output frequency has been changed due to an over-temperature condition, software can
monitor the temperature sensor outputs (see the TSS bit field in
Table 8-7, “PSR Bit Definitions”
) and increase
the core clock after an acceptable temperature is reached.
8.8.4
Accessing PI2C registers directly through S/W
Following sequence should be used to perform S/W PI2C register accesses:
•
S/W must make sure that the following code is executed in a single thread mode and that all interrupts
(except critical ones like Batt Fault detected) are disabled before the following sequence is started. This is to
prevent another piece of S/W from causing a PMIC event, like LPM entry.
•
Read the PMER register and verify that the value read is 0x0 (if not keep looping), this ensures that Services
is not attempting to service any of the asynchronous events (nBATT_FAULT, GPIO reset and application
core frequency changes due to high temperature conditions).
•
Write 0x0f to PMER to mask nBATT_FAULT, GPIO reset and application core frequency changes due to
high temperature conditions
•
Read the PMER register and verify that the value read is 0xf (if not go back to writing 0xf to PMER and
keep looping), this ensures that the masking of asynchronous events is complete.
•
Wait for ~100us to allow any pending PI2C reqsts in services to go through.
•
Read the VCSA bit in the PVCR register and verify the value read is 0x0 to ensure that there are no PI2C
command sequences in progress or that the PI2C module is idle. If the value read is non-zero then keep
looping until the bit is cleared.
•
Perform the required S/W access to the PI2C module.
•
Write 0x0 to PMER to enable execution of nBATT_FAULT, GPIO reset and application core frequency
changes due to high temperature condition when they are detected.
See the PI2C chapter of the IAS for details on the PI2C registers that can be controlled/accessed through this
procedure
Note:
PMER is a reserved system register and must not be witten to or read from outside the scope of
the above defined PI2C S/W access.
.