參數(shù)資料
型號(hào): M38038MBL-XXXSP
廠商: Renesas Technology Corp.
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁數(shù): 36/119頁
文件大?。?/td> 1575K
代理商: M38038MBL-XXXSP
Rev.1.00
REJ03B0212-0100
Apr 2, 2007
Page 36 of 117
3803 Group (Spec.L)
(4) Pulse period measurement mode
Mode selection
This mode can be selected by setting “010” to the timer Z
operating mode bits (bits 2 to 0) and setting “0” to the
timer/event counter mode switch bit (b7) of the timer Z mode
register (address 002A
16
).
Count 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(X
IN
); or f(X
CIN
) 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(X
CIN
); or f(X
CIN
) can be selected as the
count source.
Interrupt
The interrupt at an underflow is the same as the timer mode’s.
When the pulse period measurement is completed, the
INT
4
/CNTR
2
interrupt request bit (bit 5) of the interrupt request
register 2 (address 003D
16
) is set to “1”.
Explanation of operation
The cycle of the pulse which is input from the CNTR
2
pin is
measured. When the CNTR
2
active edge switch bit (bit 5) of the
timer Z mode register (address 002A
16
) is “0”, the timer counts
during the term from one falling edge of CNTR
2
pin input to the
next falling 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 “FFFF
16
” is set to the timer.
Furthermore when the timer underflows, the timer Z interrupt
request occurs and “FFFF
16
” is set to the timer. When reading
the timer Z, the value of the timer latch (measured value) is read.
The measured value is retained until the next measurement
completion.
Precautions
Set the double-function port of CNTR
2
pin and port P4
7
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 period).
Since the timer latch in this mode is specialized for the read-out
of measured values, do not perform any write operation during
measurement.
“FFFF
16
” is set to the timer when the timer underflows or when
the valid edge of measurement start/completion is detected.
Consequently, the timer value at start of pulse period
measurement depends on the timer value just before
measurement start.
Figure 32 shows the timing chart of the pulse period
measurement mode.
(5) Pulse width measurement mode
Mode selection
This mode can be selected by setting “011” to the timer Z
operating mode bits (bits 2 to 0) and setting “0” to the
timer/event counter mode switch bit (b7) of the timer Z mode
register (address 002A
16
).
Count 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(X
IN
); or f(X
CIN
) 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(X
CIN
); or f(X
CIN
) can be selected as the
count source.
Interrupt
The interrupt at an underflow is the same as the timer mode’s.
When the pulse widths measurement is completed, the
INT
4
/CNTR
2
interrupt request bit (bit 5) of the interrupt request
register 2 (address 003D
16
) is set to “1”.
Explanation of operation
The pulse width which is input from the CNTR
2
pin is measured.
When the CNTR
2
active edge switch bit (bit 5) of the timer Z
mode register (address 002A
16
) 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 CNTR
2
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, “FFFF
16
” is set to the timer.
When the timer Z underflows, the timer Z interrupt occurs and
“FFFF
16
” is set to the timer Z. When reading the timer Z, the
value of the timer latch (measured value) is read. The measured
value is retained until the next measurement completion.
Precautions
Set the double-function port of CNTR
2
pin and port P4
7
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
measurement.
“FFFF
16
” is set to the timer when the timer underflows or when
the valid edge of measurement start/completion is detected.
Consequently, the timer value at start of pulse width
measurement depends on the timer value just before
measurement start.
Figure 33 shows the timing chart of the pulse width measurement
mode.
相關(guān)PDF資料
PDF描述
M38038MBL-XXXWG SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38038MB-XXXHP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38038MB-XXXKP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38038MB-XXXSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38038MB-XXXWG SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38039FFHFP#U0 功能描述:IC 740 MCU FLASH 60K 64QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 產(chǎn)品培訓(xùn)模塊:CAN Basics Part-1 CAN Basics Part-2 Electromagnetic Noise Reduction Techniques Part 1 M16C Product Overview Part 1 M16C Product Overview Part 2 標(biāo)準(zhǔn)包裝:1 系列:M16C™ M32C/80/87 核心處理器:M32C/80 芯體尺寸:16/32-位 速度:32MHz 連通性:EBI/EMI,I²C,IEBus,IrDA,SIO,UART/USART 外圍設(shè)備:DMA,POR,PWM,WDT 輸入/輸出數(shù):121 程序存儲(chǔ)器容量:384KB(384K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:24K x 8 電壓 - 電源 (Vcc/Vdd):3 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 34x10b,D/A 2x8b 振蕩器型:內(nèi)部 工作溫度:-20°C ~ 85°C 封裝/外殼:144-LQFP 包裝:托盤 產(chǎn)品目錄頁面:749 (CN2011-ZH PDF) 配用:R0K330879S001BE-ND - KIT DEV RSK M32C/87
M38039FFHHP 功能描述:MCU 3/5V 56K+4K 64-LQFP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
M38039FFH-HP#U 制造商:Renesas Electronics Corporation 功能描述:8BIT 740 CISC 56KB FLASH 16.8MHZ 3.3/5V - Trays
M38039FFHHP#U0 功能描述:MCU 3/5V 56K+4K PB-FREE 64-LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
M38039FFHKP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 3/5V 56K+4K PB-FREE 64-LQFP - Trays