Peripheral Command Register (Phcmd) - NEC PD703114 User Manual

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

Caution Only an f
X
MHz) (i.e. 4 MHz) can be used for the oscillation frequency or external clock frequency.
When 5 × f
X
Remark
Note the following when PLL mode is selected (f
If the V850E/IA2 does not need to be operated at a high frequency, use f
= 1 × f
to reduce the power consumption by lowering the system clock frequency using software.
X

8.3.3 Peripheral command register (PHCMD)

This is an 8-bit register that is used to set protection for writing to registers that can significantly affect the system
so that the application system is not halted unexpectedly due to erroneous program execution. This register is write-
only in 8-bit units (when it is read, undefined data is read out).
Writing to the first specific register (CKC or FLPMC register) is only valid after first writing to the PHCMD register.
Because of this, the register value can be overwritten only in the specified sequence, preventing an illegal write
operation from being performed.
7
6
PHCMD
REG7
REG6
Bit position
Bit name
7 to 0
REG7 to
REG0
The generation of an illegal store operation can be checked with the PRERR bit of the peripheral status register
(PHS).
176
CHAPTER 8 CLOCK GENERATION FUNCTION
value for which 10 × f
does not exceed the system clock maximum frequency (40
X
, 2.5 × f
, or 1 × f
is used, a frequency of 4 to 6.4 MHz can be used.
X
X
5
4
3
REG5
REG4
REG3
Registration code (arbitrary 8-bit data)
The specific registers targeted are as follows.
• Clock control register (CKC)
• Flash programming mode control register (FLPMC)
User's Manual U15195EJ5V0UD
= 5 × f
= 2.5 × f
, f
XX
X
XX
X
2
1
0
REG2
REG1
REG0
Function
= 1 × f
, or f
)
XX
X
= 5 × f
= 2.5 × f
, f
, or f
XX
X
XX
X
Address
After reset
FFFFF800H Undefined
XX

Advertisement

Table of Contents
loading

Table of Contents