III PERIPHERAL BLOCK: LOW-SPEED (OSC1) OSCILLATION CIRCUIT
B-III-6-4
EPSON
S1C33210 FUNCTION PART
Power-Control Register Protection Flag
The power-control register (SOSC1, SOSC3, CLKCHG, CLKDT[1:0]) at address 0x40180, which is used to
control the oscillation circuits and the CPU operating clock, is normally disabled against writing in order to prevent
it from malfunctioning due to unnecessary writing.
To enable this register for writing, the power-control register protection flag CLGP[7:0] (D[7:0]) / Power-control
protection register (0x4019E) must be set to "0b10010110". Note that this setting allows for the power-control
register (0x40180) to be written to only once, so all bits of CLGP[7:0] are cleared to "0" when this address is written
to. Therefore, CLGP[7:0] must be set to "0b10010110" each time the power-control register (0x40180) is written to.
The flag CLGP[7:0] does not affect the readout from the power-control register (0x40180).
Operation in Standby Mode
In HALT mode, which is entered by executing the halt instruction, the low-speed (OSC1) oscillation circuits retains
its status before HALT mode is entered. Under normal conditions, therefore, there is no need to control the
oscillation circuit before entering or after exiting HALT mode.
The low-speed (OSC1) oscillation circuit does not stop operating in SLEEP mode set by executing the slp (sleep)
instruction. Therefore, if the CPU was operating using the OSC1 clock before SLEEP mode was entered, the CPU
keeps operating using the OSC1 clock in SLEEP mode.
OSC1 Clock Output to External Devices
The low-speed (OSC1) oscillation clock can be output from the FOSC1 (P14) pin to external devices.
Table 6.2 OSC1 Clock Output Pin
Pin name
I/O
Function
Function select bit
P14/FOSC1/
DCLK
I/O I/O port / Low-speed (OSC1) oscillation
clock output / DCLK signal output
CFP14(D4) / P1 function select register (0x402D4)
CFEX0 (D0) / Port function extension register (0x402DF)
Setting the clock output pin
The pin used to output the OSC1 clock to external devices is shared with the P14 I/O port and the debug clock
signal DCLK.
At cold start, it is set for the DCLK signal output (CFP14 = "0" and CFEX0 = "1"). When using the clock
output function, write "1" to CFP14 and "0" to CFEX0 (refer to "I/O Ports"), and also write "1" to IOC14
(0x402D6/D4).
At hot start, the pin retains its pre-reset status.
Output control
To start clock output, write "1" to PF1ON (D0) / Clock option register (0x40190). The clock output is stopped
by writing "0".
At initial reset, PF1ON is set to "0" (output disabled).
PF1ON register
FOSC1(P14) pin output
0
0
V
DD
V
SS
1
Figure 6.3 OSC1 Clock Output
Содержание S1C33210
Страница 4: ......
Страница 13: ...S1C33210 PRODUCT PART ...
Страница 14: ......
Страница 124: ...APPENDIX B PIN CHARACTERISTICS A 110 EPSON S1C33210 PRODUCT PART THIS PAGE IS BLANK ...
Страница 125: ...S1C33210 FUNCTION PART ...
Страница 126: ......
Страница 127: ...S1C33210 FUNCTION PART I OUTLINE ...
Страница 128: ......
Страница 130: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 138: ...I OUTLINE LIST OF PINS B I 3 6 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 139: ...S1C33210 FUNCTION PART II CORE BLOCK ...
Страница 140: ......
Страница 142: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 148: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 152: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 224: ...II CORE BLOCK ITC Interrupt Controller B II 5 26 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 234: ...II CORE BLOCK CLG Clock Generator B II 6 10 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 236: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 237: ...S1C33210 FUNCTION PART III PERIPHERAL BLOCK ...
Страница 238: ......
Страница 240: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 266: ...III PERIPHERAL BLOCK 8 BIT PROGRAMMABLE TIMERS B III 3 18 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 292: ...III PERIPHERAL BLOCK 16 BIT PROGRAMMABLE TIMERS B III 4 26 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 296: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 429: ...S1C33210 FUNCTION PART IV ANALOG BLOCK ...
Страница 430: ......
Страница 432: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 448: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 449: ...S1C33210 FUNCTION PART V DMA BLOCK ...
Страница 450: ......
Страница 452: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 506: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33210 FUNCTION PART THIS PAGE IS BLANK ...
Страница 507: ...S1C33210 FUNCTION PART Appendix I O MAP ...
Страница 508: ......
Страница 557: ......