參數(shù)資料
型號: M38C12M4-XXXFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP64
封裝: 14 X 14 MM, 0.80 MM PITCH, PLASTIC, LQFP-64
文件頁數(shù): 33/59頁
文件大?。?/td> 704K
代理商: M38C12M4-XXXFP
Rev.2.40
Jun 14, 2004
page 39 of 56
38C1 Group
CLOCK GENERATING CIRCUIT
The oscillation circuit of 38C1 group can be formed by connecting
an oscillator, capacitor and resistor between XIN and XOUT (XCIN
and XCOUT). To supply a clock signal externally, input it to the XIN
pin and make the XOUT pin open. The clocks that are externally
generated cannot be directly input to XCIN. Use the circuit con-
stants in accordance with the oscillator manufacturer's recom-
mended values. No external resistor is needed between XIN and
XOUT since a feed-back resistor exists on-chip. However, a 10 M
external feed-back resistor is needed between XCIN and XCOUT.
Immediately after reset is released, only the on-chip oscillator
starts oscillating, XIN -XOUT oscillation stops oscillating, and XCIN
and XCOUT pins function as I/O ports.
Operation mode
(1) On-chip oscillator mode
The internal clock
φ is the on-chip oscillator oscillation divided by
8.
(2) Middle-speed mode
The internal clock
φ is the frequency of XIN divided by 8.
(3) High-speed mode
The internal clock
φ is half the frequency of XIN.
(4) Low-speed mode
The internal clock
φ is half the frequency of XCIN.
After reset release and when system returns from the stop mode,
the on-chip oscillator mode is selected.
Refer to the clock state transition diagram for the setting of transi-
tion to each mode.
The XIN–XOUT oscillation is controlled by the bit 5 of CPUM, and
the sub-clock oscillation is controlled by the bit 4 of CPUM. When
the mode is switched to the on-chip oscillator mode, set the bit 3
of CPUM to “1”.
In the on-chip oscillator mode, the oscillation by the oscillator can
be stopped. In the low-speed mode, the power consumption can
be reduced by stopping the XIN–XOUT oscillation.
When the mode is switched from the on-chip oscillator mode to
the low-speed mode, the on-chip oscillator is stopped.
Set enough time for oscillation to stabilize by programming to re-
start the stopped oscillation and switch the operation mode. Also,
set enough time for oscillation to stabilize by programming to
switch the timer count source .
Note: If you switch the mode between on-chip oscillator mode,
middle/high-speed mode and low-speed mode, stabilize
both XIN and XCIN oscillations. Especially be careful imme-
diately after power-on and at returning from stop mode. Re-
fer to the clock state transition diagram for the setting of
transition to each mode. Set the frequency in the condition
that f(XIN) > 3f(XCIN).
When the middle- and high-speed mode are not used (XIN-
XOUT oscillation and external clock input are not
performed), connect XIN to VCC through a resistor.
Fig. 40 Oscillator circuit example
Fig. 41 External clock input circuit
Oscillation Control
(1) Stop mode
Set the timer 1 interrupt enable bit to disabled (“0”) before execut-
ing the STP instruction. If the STP instruction is executed, the in-
ternal clock
φ stops at an “H” level, and main clock, on-chip oscil-
lator and sub-clock oscillators stop.
In this time, “1016” is set to timer 1 and the on-chip oscillator is
connected forcibly for the system clock and the timer 1 count
source. Also, the bits of the timer 123 mode register except bit 4
are cleared to “0”.
When an external interrupt is received, the clock oscillated before
stop mode and the on-chip oscillator start oscillating.
However, bit 3 of CPUM is set to “1” forcibly and system returns to
the on-chip oscillator mode.
Tthe internal clock
φ is supplied to the CPU after timer 1
underflows. However, when the system clock is switched from the
on-chip oscillator to main clock and sub-clock, generate the wait
time enough for oscillation stabilizing by program.
(2) Wait mode
If the WIT instruction is executed, only the internal clock
φ stops at
an “H” level. The states of main clock, on-chip oscillator and sub-
clock are the same as the state before the executing the WIT in-
struction and the oscillation does not stop. Since the internal clock
φ restarts when an interrupt is received, the instruction is executed
immediately.
XCIN
CIN
COUT
CCIN
CCOUT
Rf
Rd
XOUT
XIN
XCOUT
External oscillation circuit
Open
VCC
VSS
CCIN
Rf
Rd
CCOUT
XCIN
XOUT
XIN
XCOUT
相關(guān)PDF資料
PDF描述
M38C13M6-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
M38C12M4-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
M38C13E6FP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
M38C24M4A-XXXFP 8-BIT, MROM, 5 MHz, MICROCONTROLLER, PQFP64
M38C24M6-XXXHP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38C13E6FP 功能描述:IC 740 MCU OTP 24K 64LQFP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 產(chǎn)品培訓(xùn)模塊:MCU Product Line Introduction XMEGA Introduction AVR XMEGA USB Connectivity 標準包裝:90 系列:AVR® XMEGA 核心處理器:AVR 芯體尺寸:8/16-位 速度:32MHz 連通性:I²C,IrDA,SPI,UART/USART 外圍設(shè)備:欠壓檢測/復(fù)位,DMA,POR,PWM,WDT 輸入/輸出數(shù):50 程序存儲器容量:192KB(96K x 16) 程序存儲器類型:閃存 EEPROM 大小:4K x 8 RAM 容量:16K x 8 電壓 - 電源 (Vcc/Vdd):1.6 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 16x12b; D/A 2x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:64-TQFP 包裝:托盤 配用:ATSTK600-RC14-ND - STK600 SOCKET/ADAPTER 64TQFPATSTK600-TQFP64-ND - STK600 SOCKET/ADAPTER 64-TQFPATAVRONEKIT-ND - KIT AVR/AVR32 DEBUGGER/PROGRMMRATAVRISP2-ND - PROGRAMMER AVR IN SYSTEM
M38C13E6HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C13RLFS 制造商:Renesas Electronics Corporation 功能描述:EMULATION MCU/8BIT CMOS EMULATION CHIP - Bulk
M38C24M4-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M4-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER