UPD78F0537DGA(T)-9EV-A NEC, UPD78F0537DGA(T)-9EV-A Datasheet - Page 160

no-image

UPD78F0537DGA(T)-9EV-A

Manufacturer Part Number
UPD78F0537DGA(T)-9EV-A
Description
8BIT MCU, 128K FLASH, 7KB RAM, SMD
Manufacturer
NEC
Datasheet

Specifications of UPD78F0537DGA(T)-9EV-A

Controller Family/series
UPD78
No. Of I/o's
55
Ram Memory Size
7KB
Cpu Speed
20MHz
No. Of Timers
8
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
128KB
Oscillator Type
External, Internal
6.6 Controlling Clock
6.6.1 Controlling high-speed system clock
pins.
160
(4) When stopping high-speed system clock
(1) Example of setting procedure when oscillating the X1 clock
The following two types of high-speed system clocks are available.
• X1 clock:
• External main system clock: External clock is input to the EXCLK pin.
When the high-speed system clock is not used, the X1/P121 and X2/EXCLK/P122 pins can be used as I/O port
Caution The X1/P121 and X2/EXCLK/P122 pins are in the I/O port mode after a reset release.
The following describes examples of setting procedures for the following cases.
(1) When oscillating X1 clock
(2) When using external main system clock
(3) When using high-speed system clock as CPU clock and peripheral hardware clock
<1> Setting frequency (OSCCTL register)
<2> Setting P121/X1 and P122/X2/EXCLK pins and selecting X1 clock or external clock (OSCCTL register)
<3> Controlling oscillation of X1 clock (MOC register)
<4> Waiting for the stabilization of the oscillation of X1 clock
Caution 1. Do not change the value of EXCLK and OSCSEL while the X1 clock is operating.
Using AMPH, set the gain of the on-chip oscillator according to the frequency to be used.
Note Set AMPH before setting the peripheral functions after a reset release. The value of AMPH can
Remark f
When EXCLK is cleared to 0 and OSCSEL is set to 1, the mode is switched from port mode to X1
oscillation mode.
If MSTOP is cleared to 0, the X1 oscillator starts oscillating.
Check the OSTC register and wait for the necessary time.
During the wait time, other software processing can be executed with the internal high-speed oscillation
clock.
AMPH
EXCLK
0
1
0
be changed only once after a reset release. When AMPH is set to 1, the clock supply to the CPU
is stopped for 4.06 to 16.12
Note
XH
1 MHz ≤ f
10 MHz < f
: High-speed system clock oscillation frequency
OSCSEL
1
Crystal/ceramic resonator is connected across the X1 and X2 pins.
XH
XH
X1 oscillation mode
≤ 10 MHz
Speed System Clock Pin
Operation Mode of High-
≤ 20 MHz
CHAPTER 6 CLOCK GENERATOR
User’s Manual U17260EJ6V0UD
µ
s.
Operating Frequency Control
Crystal/ceramic resonator connection
P121/X1 Pin
P122/X2/EXCLK Pin

Related parts for UPD78F0537DGA(T)-9EV-A