參數(shù)資料
型號(hào): M34551E8-XXXFP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP48
封裝: 7 X 10 MM, 0.65 MM PITCH, PLASTIC, QFP-48
文件頁數(shù): 9/155頁
文件大?。?/td> 1467K
代理商: M34551E8-XXXFP
APPLICATION
2.4 Carrier generating circuit
2-28
4551 Group User’s Manual
2.4.3 Carrier wave output application examples
(1)
Remote control waveform output by carrier wave output auto-control function
The carrier wave output auto-control function can be used to turn carrier wave ON/OFF automatically
by counting carrier waveform.
Outline: CARRY is selected as the timer 1 count source and port CARR can be controlled.
Output of waveform can be controlled by the bit C20.
OFF interval can be output.
Specifications: The 37.9 kHz carrier wave is output from port CARR by using system clock frequency
f(XIN) = 3.64 MHz.
Also, the timer 1 interrupt occurs, and at the same time, setting the next output
interval is performed.
Figure 2.4.2 and Figure 2.4.3 show the setting example of carrier wave auto-control, Figure 2.4.4
shows the setting example of carrier wave output interval.
Fig. 2.4.2 Carrier wave auto-control setting example 1
b3
b0
0
Interrupt control register V1
Disable Interrupts
Timer 1 interrupt is temporarily disabled.
Timer 1 interrupt occur disabled (TV1A instruction)
!
Stop Timer Operation and Carrier Operation
Timer 1 operation and carrier operation is temporarily stopped.
Timer control register W2
Carrier wave generation control flag CR
b3
b0
0
!!
!
“0”
Timer 1 operation stopped (TW2A instruction)
Carrier wave generation stop (SPCR instruction)
Change of Count Source
Timer 1 count source is changed.
Timer control register W1
b3
b0
0
!
1
Count source CARRY selected (TW1A instruction)
Set Timer Value
Timer 1 count time is set. (The formula is shown VA below.)
Reload register R1 “1416
Timer count value 20 is set (T1AB instruction)
Set Carrier Generation Circuit
Carrier wave frequency and duty ratio are set.
Carrier wave selectionr register C1
Frequency STCK/24, duty ratio 1/3 selected
(TC1A instruction)
b3
b0
0
Continue to Figure 2.4.3 on the next page.
相關(guān)PDF資料
PDF描述
M34551E8FP 4-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP48
M34551M4-XXXFP 4-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP48
M34552G8FP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP48
M34552M8H-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP48
M34552G8HFP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP48
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34551M4 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:4-BIT SINGLE-CHIP MICROCOMPUTER
M34551M4-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTER
M34551M8 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:4-BIT SINGLE-CHIP MICROCOMPUTER
M34552G8FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34552G8HFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER