參數(shù)資料
型號: M30833FJFP
元件分類: 微控制器/微處理器
英文描述: 32-BIT, FLASH, 30 MHz, MICROCONTROLLER, PQFP100
封裝: PLASTIC, QFP-100
文件頁數(shù): 98/159頁
文件大小: 3896K
代理商: M30833FJFP
Rev.3.00
2004.08.06
page 41 of 155
REJ03B0010-0300Z
4584 Group
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
Period measurement function
When a period measurement circuit is used, clear bit 0 of regis-
ter I1 to “0”, and set a timer 1 count start synchronous circuit to
be “not selected”.
Start timer operation immediately after operation of a period
measurement circuit is started.
When the target edge for measurement is input until timer opera-
tion is started from the operation of period measurement circuit is
started, the count operation is not executed until the timer opera-
tion becomes valid. Accordingly, be careful of count data.
When data is read from timer, stop the timer and clear bit 2 of
register W5 to “0” to stop the period measurement circuit, and
then execute the data read instruction.
Depending on the state of timer 1, the timer 1 interrupt request
flag (T1F) may be set to “1” when the period measurement cir-
cuit is stopped by clearing bit 2 of register W5 to “0”. In order to
avoid the occurrence of an unexpected interrupt, clear the bit 2 of
register V1 to “0” (refer to Figure 28) and then, stop the bit 2 of
register W5 to “0” to stop the period measurement circuit.
In addition, execute the SNZT1 instruction to clear the T1F flag
after executing at least one instruction (refer to Figure 28).
Also, set the NOP instruction for the case when a skip is per-
formed with the SNZT1 instruction (refer to Figure 28).
LA
0
; (02)
TV1A
; The SNZT1 instruction is valid ........
LA
0
; (02)
TW5A
; Period measurement circuit stop
NOP
...........................................................
SNZT1
; The SNZT1 instruction is executed
(T1F flag cleared)
NOP
...........................................................
: these bits are not used here.
Fig. 28 Period measurement circuit program example
While a period measurement circuit is operating, the timer 1 in-
terrupt request flag (T1F) is not set by the timer 1 underflow
signal, it is the flag for detecting the completion of period mea-
surement.
When a period measurement circuit is used, select the suffi-
ciently higher-speed frequency than the signal for measurement
for the count source of a timer 1.
When the target signal for period measurement is D6/CNTR0 pin
input, do not select D6/CNTR0 pin input as timer 1 count source.
(The XIN input is recommended as timer 1 count source at the
time of period measurement circuit use.)
When the input of P30/INT0 pin is selected for measurement, set
the bit 3 of a register I1 to “1”, and set the input of INT0 pin to be
enabled.
(13) Timer interrupt request flags
(T1F, T2F, T3F, T4F)
Each timer interrupt request flag is set to “1” when each timer
underflows. The state of these flags can be examined with the skip
instructions (SNZT1, SNZT2, SNZT3, SNZT4).
Use the interrupt control register V1, V2 to select an interrupt or a
skip instruction.
An interrupt request flag is cleared to “0” when an interrupt occurs
or when the next instruction is skipped with a skip instruction. The
timer 1 interrupt request flag (T1F) is not set by the timer 1 under-
flow signal, it is the flag for detecting the completion of period
measurement.
(14) Precautions
Note the following for the use of timers.
Prescaler
Stop counting and then execute the TABPS instruction to read
from prescaler data.
Stop counting and then execute the TPSAB instruction to set
prescaler data.
Timer count source
Stop timer 1, 2, 3 and 4 counting to change its count source.
Reading the count value
Stop timer 1, 2, 3 or 4 counting and then execute the data read
instruction (TAB1, TAB2, TAB3, TAB4) to read its data.
Writing to the timer
Stop timer 1, 2, 3 or 4 counting and then execute the data write
instruction (T1AB, T2AB, T3AB, T4AB) to write its data.
Writing to reload register R1, R3, R4H
When writing data to reload register R1, reload register R3 or re-
load regiser R4H while timer 1, timer 3 or timer 4 is operating,
avoid a timing when timer 1, timer 3 or timer 4 underflows.
Timer 4
Avoid a timing when timer 4 underflows to stop timer 4 at the use
of PWM output function.
When “H” interval extension function of the PWM signal is set to
be “valid”, set “1” or more to reload register R4H.
Timer input/output pin
When the PWM signal is output from C/CNTR1 pin, set the out-
put latch of port C to “0”.
相關(guān)PDF資料
PDF描述
M30833MJFP 32-BIT, MROM, 30 MHz, MICROCONTROLLER, PQFP100
M30833MJGP 32-BIT, MROM, 30 MHz, MICROCONTROLLER, PQFP100
M30835MJGP 32-BIT, MROM, 30 MHz, MICROCONTROLLER, PQFP144
M30865FJGP 32-BIT, FLASH, 32 MHz, MICROCONTROLLER, PQFP144
M30865FJTGP 32-BIT, FLASH, 32 MHz, MICROCONTROLLER, PQFP144
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M30833FJFP D5 制造商:Renesas Electronics Corporation 功能描述:
M30833FJFP#D3 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 512KB FLASH 5V 100PQFP - Trays
M30833FJFP#D5 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 512KB FLASH 5V 100PQFP - Trays
M30833FJFP#U3 功能描述:IC M32C/83 MCU FLASH 100QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:M16C™ M32C/80/83 標(biāo)準(zhǔn)包裝:160 系列:S08 核心處理器:S08 芯體尺寸:8-位 速度:40MHz 連通性:I²C,LIN,SCI,SPI 外圍設(shè)備:LCD,LVD,POR,PWM,WDT 輸入/輸出數(shù):53 程序存儲器容量:32KB(32K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1.9K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 12x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 105°C 封裝/外殼:64-LQFP 包裝:托盤
M30833FJFP#U5 功能描述:IC M32C/83 MCU FLASH 100QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:M16C™ M32C/80/83 標(biāo)準(zhǔn)包裝:96 系列:PIC® 16F 核心處理器:PIC 芯體尺寸:8-位 速度:20MHz 連通性:I²C,SPI 外圍設(shè)備:欠壓檢測/復(fù)位,POR,PWM,WDT 輸入/輸出數(shù):11 程序存儲器容量:3.5KB(2K x 14) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:128 x 8 電壓 - 電源 (Vcc/Vdd):2.3 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:14-TSSOP(0.173",4.40mm 寬) 包裝:管件