18 UART
S1C17704 TECHNICAL MANUAL
EPSON
18-3
18.3 Transfer Clock
The UART allows the application to select either the internal clock or an external clock as the transfer clock. Use
the SSCK bit (D0/UART_MOD register) for this selection.
∗
SSCK
: Input Clock Select Bit in the UART Mode (UART_MOD) Register (D0/0x4103)
Note
: Make sure that the UART is disabled (RXEN/UART_CTL register = 0) when alter the SSCK bit.
∗
RXEN
: UART Enable Bit in the UART Control (UART_CTL) Register (D0/0x4104)
Internal clock
When SSCK is set to 0 (default), the internal clock is selected. The UART uses the 8-bit timer output clock as
the transfer clock. Therefore, it is necessary to program the 8-bit timer so that it will output a clock according to
the transfer rate.
See Chapter 12, “8-bit Timer (T8F),” for controlling the 8-bit timer.
External clock
When SSCK is set to 1, an external clock is selected. Configure the P25 pin as the SCLK pin (see Section 18.2)
and input an external clock to the pin.
Notes
: • The UART divides the 8-bit timer output clock or external clock by 16 to generate the sampling
clock. Make sure of the division ratio when setting a transfer rate.
• The frequency of the external clock input from the SCLK pin must be half of PCLK or lower
and the clock duty ratio must be 50%.
Содержание 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 ...