參數(shù)資料
型號(hào): M38588GCFP
元件分類(lèi): 微控制器/微處理器
英文描述: 8-BIT, MROM, 6.25 MHz, MICROCONTROLLER, PDSO42
封裝: 8.40 X 17.50 MM, 0.80 MM PITCH, PLASTIC, SSOP-42
文件頁(yè)數(shù): 21/77頁(yè)
文件大?。?/td> 824K
代理商: M38588GCFP
Rev.1.10
Apr 3, 2006
page 28 of 75
REJ03B0139-0110
3858 Group
(4) Pulse period measurement mode
qMode selection
This mode can be selected by setting “010” to the timer Z1 operat-
ing mode bits (bits 2 to 0) and setting “0” to the timer/event
counter mode switch bit (b7) of the timer Z1 mode register (ad-
dress 002816).
qCount source selection
In high-, or middle-speed mode, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/
128, 1/256, 1/512 or 1/1024 of f(XIN); or f(XCIN) can be selected as
the count source.
In low-speed mode, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128, 1/256,
1/512 or 1/1024 of f(XCIN); or f(XCIN) can be selected as the count
source.
qInterrupt
The interrupt at an underflow is the same as the timer mode’s.
When the pulse period measurement is completed, the timer Z1/
CNTR2 interrupt request bit (bit 1) of the interrupt request register
1 (address 003C16) is set to “1”.
qExplanation of operation
The cycle of the pulse which is input from the CNTR2 pin is mea-
sured. When the CNTR2 active edge switch bit (bit 5) of the timer
Z1 mode register (address 002816) is “0”, the timer counts during
the term from one falling edge of CNTR2 pin input to the next fall-
ing edge. When it is “1”, the timer counts during the term from one
rising edge input to the next rising edge input.
When the valid edge of measurement completion/start is detected,
the 1’s complement of the timer value is written to the timer latch
and “FFFF16” is set to the timer.
Furthermore when the timer underflows, the timer Z1 interrupt re-
quest occurs and “FFFF16” is set to the timer. When reading the
timer Z1, the value of the timer latch (measured value) is read.
The measured value is retained until the next measurement
completion.
sPrecautions
Set the double-function port of CNTR2 pin and port P22 to input in
this mode.
A read-out of timer value is impossible in this mode. The timer can
be written to only during timer stop (no measurement of pulse pe-
riod).
Since the timer latch in this mode is specialized for the read-out of
measured values, do not perform any write operation during mea-
surement.
“FFFF16” is set to the timer when the timer underflows or when the
valid edge of measurement start/completion is detected. Conse-
quently, the timer value at start of pulse period measurement
depends on the timer value just before measurement start.
Figure 24 shows the timing chart of the pulse period measurement
mode.
(5) Pulse width measurement mode
qMode selection
This mode can be selected by setting “011” to the timer Z1 operat-
ing mode bits (bits 2 to 0) and setting “0” to the timer/event
counter mode switch bit (b7) of the timer Z1 mode register (ad-
dress 002816).
qCount source selection
In high-, or middle-speed mode, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/
128, 1/256, 1/512 or 1/1024 of f(XIN); or f(XCIN) can be selected as
the count source.
In low-speed mode, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128, 1/256,
1/512 or 1/1024 of f(XCIN); or f(XCIN) can be selected as the count
source.
qInterrupt
The interrupt at an underflow is the same as the timer mode’s.
When the pulse widths measurement is completed, the timer Z1/
CNTR2 interrupt request bit (bit 1) of the interrupt request register
2 (address 003C16) is set to “1”.
qExplanation of operation
The pulse width which is input from the CNTR2 pin is measured.
When the CNTR2 active edge switch bit (bit 5) of the timer Z1
mode register (address 002816) is “0”, the timer counts during the
term from one rising edge input to the next falling edge input (“H”
term). When it is “1”, the timer counts during the term from one
falling edge of CNTR2 pin input to the next rising edge of input (“L”
term).
When the valid edge of measurement completion is detected, the
1’s complement of the timer value is written to the timer latch.
When the valid edge of measurement completion/start is detected,
“FFFF16” is set to the timer.
When the timer Z1 underflows, the timer Z1 interrupt occurs and
“FFFF16” is set to the timer Z1. When reading the timer Z1, the
value of the timer latch (measured value) is read. The measured
value is retained until the next measurement completion.
sPrecautions
Set the double-function port of CNTR2 pin and port P22 to input in
this mode.
A read-out of timer value is impossible in this mode. The timer can
be written to only during timer stop (no measurement of pulse
widths).
Since the timer latch in this mode is specialized for the read-out of
measured values, do not perform any write operation during mea-
surement.
“FFFF16” is set to the timer when the timer underflows or when the
valid edge of measurement start/completion is detected. Conse-
quently, the timer value at start of pulse width measurement
depends on the timer value just before measurement start.
Figure 25 shows the timing chart of the pulse width measurement
mode.
相關(guān)PDF資料
PDF描述
M38749EFT 8-BIT, OTPROM, 6.4 MHz, MICROCONTROLLER, PQFP80
M38747M4T 8-BIT, MROM, 6.4 MHz, MICROCONTROLLER, PQFP80
M38747M6T 8-BIT, MROM, 6.4 MHz, MICROCONTROLLER, PQFP80
M38747M8T 8-BIT, MROM, 6.4 MHz, MICROCONTROLLER, PQFP80
M38747MCF 8-BIT, MROM, 6.4 MHz, MICROCONTROLLER, PQFP80
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38588GCFP#U0 功能描述:IC 740/3858 MCU QZ-ROM 42SSOP RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類(lèi)型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線(xiàn)) 包裝:帶卷 (TR)
M38588GCSP#U0 功能描述:IC 740/3858 MCU QZ-ROM 42DIP RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設(shè)備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類(lèi)型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線(xiàn)) 包裝:帶卷 (TR)
M3860 功能描述:電纜固定件和配件 FLEX LTSCG 500 RoHS:否 制造商:Heyco 類(lèi)型:Cable Grips, Liquid Tight 材料:Nylon 顏色:Black 安裝方法:Cable 最大光束直徑:11.4 mm 抗拉強(qiáng)度:
M3860 BK001 制造商:Alpha Wire Company 功能描述:CBL 30COND 14AWG BLK 1000'
M3860 BK002 制造商:Alpha Wire Company 功能描述:CBL 30COND 14AWG BLK 500'