Subsystem Clock Operations; Changing System Clock And Cpu Clock Settings; Time Required For Switchover Between System Clock And Cpu Clock - NEC PD78052 User Manual

Pd78054 series; pd78054y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(c) Operation when CSS is set after setting MCC with main system clock operation
Main System Clock Oscillation
Subsystem Clock Oscillation

7.5.2 Subsystem clock operations

When operated with the subsystem clock (with bit 5 (CLS) of the processor clock control register (PCC) set to 1),
the following operations are carried out.
(a) The minimum instruction execution time remains constant (122 s when operated at 32.768 kHz) irrespective
of bits 0 to 2 (PCC0 to PCC2) of the PCC.
(b) Watchdog timer counting stops.
Caution Do not execute the STOP instruction while the subsystem clock is in operation.

7.6 Changing System Clock and CPU Clock Settings

7.6.1 Time required for switchover between system clock and CPU clock

The system clock and CPU clock can be switched over by means of bits 0 to 2 (PCC0 to PCC2) and bit 4 (CSS)
of the processor clock control register (PCC).
The actual switchover operation is not performed directly after writing to the PCC, but operation continues on the
pre-switchover clock for several instructions (see Table 7-3).
Whether the system is operating on the main system clock or the subsystem clock can be discriminated by bit 5
(CLS) of the PCC register.
CHAPTER 7 CLOCK GENERATOR
Figure 7-9. Main System Clock Stop Function (2/2)
MCC
CSS
CLS
CPU Clock
171

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents