参数资料
型号: M34551M4-XXXFP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP48
封装: 7 X 10 MM, 0.65 MM PITCH, PLASTIC, QFP-48
文件页数: 9/155页
文件大小: 1467K
代理商: M34551M4-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.
相关PDF资料
PDF描述
M37272M8-XXXSP 8-BIT, MROM, 8.1 MHz, MICROCONTROLLER, PDIP42
M37280MKH-XXXSP 8-BIT, MROM, 8.1 MHz, MICROCONTROLLER, PDIP64
MSP430F5502IRGZ 16-BIT, FLASH, 25 MHz, RISC MICROCONTROLLER, PQCC48
MPC9299FN 400 MHz, OTHER CLOCK GENERATOR, PQCC28
M48T512Y-85PM1 REAL TIME CLOCK, PDIP32
相关代理商/技术参数
参数描述
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
M34552M4H-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34552M4-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER