7 OSCILLATOR (OSC)
7-8
EPSON
S1C17704 TECHNICAL MANUAL
7.7 External Output Clock (FOUT3, FOUT1)
A divided OSC3 clock (FOUT3) and the OSC1 clock (FOUT1) can be output to external devices.
Divider
(1/1–1/4)
FOUT3(P30)
OSC3 clock
FOUT3
output circuit
P30 port
On/Off
control
P30 function
select
Division ratio select
FOUT1(P13)
OSC1 clock
FOUT1
output circuit
P13 port
On/Off
control
P13 function
select
Figure 7.7.1 Clock Output Circuit
FOUT3 output
FOUT3 is a divided OSC3 clock.
Setting up the output pin
The FOUT3 output pin is shared with the P30 port and it functions as the P30 port pin by default. Write 1
to P30MUX (D0/P3_PMUX register) to switch the P30 pin function for the FOUT3 output.
∗
P30MUX
: P30 Port Function Select Bit in the P3 Port Function Select (P3_PMUX) Register (D0/0x52a3)
Selecting the FOUT3 clock frequency
The output clock frequency can be selected from three kinds. Select an OSC3 clock division ratio using
FOUT3D[1:0] (D[3:2]/OSC_FOUT register) to set up the clock frequency.
∗
FOUT3D[1:0]
: FOUT3 Clock Division Ratio Select Bits in the FOUT Control (OSC_FOUT) Register
(D[3:2]/0x5064)
Table 7.7.1 Selecting Division Ratio for Generating FOUT3 Clock
FOUT3D[1:0]
Division ratio
0x3
Reserved
0x2
OSC3•1/4
0x1
OSC3•1/2
0x0
OSC3•1/1
(Default: 0x0)
Controlling the clock output
Use FOUT3E (D1/OSC_FOUT register) to control the clock output. When FOUT3E is set to 1, the FOUT3
clock is output from the FOUT3 pin and the output is disabled when FOUT3E is set to 0.
∗
FOUT3E
: FOUT3 Output Enable Bit in the FOUT Control (OSC_FOUT) Register (D1/0x5064)
FOUT3E
FOUT3 output (P30)
0
0
1
Figure 7.7.2 FOUT3 Output
Note
: The FOUT3 signal is generated asynchronously with writing to FOUT3E, therefore, a hazard will
occur when the output is enabled or disabled.
Содержание S1C17704
Страница 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Страница 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...