參數(shù)資料
型號: EM6605
廠商: National Semiconductor Corporation
元件分類: 4位微控制器
英文描述: 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
中文描述: 4位單片機的小型通用紅外遙控器
文件頁數(shù): 24/43頁
文件大?。?/td> 557K
代理商: EM6605
EM6605
EM Microelectronic-Marin SA, 02/99, Rev. B/243
24
11.1. SWB Automatic send mode
Automatic mode enables a buffer on a predefined length to be sent at high transmission speeds up to ck[15]
(16khz
*f1
). In this mode user prepares all the data to be sent (minimum 8 bits, maximum 256 bits) in the RAM.
The user then selects the clock speed, sets the number of data nibbles to be sent, selects automatic transmission
mode (
AutoSWB
bit set to 1) and enters STANDBY mode by executing a HALT instruction. Once the HALT
instruction is activated the SWB peripheral module sends the data in register
SWBuff
followed by the data in the
RAM starting at address 00 up to the address specified by the bits
size[5:0
] located in the
LowSWB, HighSWB
registers.
During automatic transmission the general INTEN bit is disabled automatically to prevent other Interrupts to
reset the standby mode. At the end of automatic transmission EM6603 leaves standby mode (
INTEN
is
automatically Enabled) and sets TestVar[3] high. TestVar[3] = 1 is signaling SWB transmission is terminated.
As soon as
SWBAuto
is high, the general IntEn flag is disabled until the
SWBAuto
goes back low.
After automatic SWB transmission
INTEN
bit becomes active high. Although set to 1 via the Halt instruction the
bit
INTEN
is disabled throughout the whole SWB automatic transmission. It resumes to 1 at the end of
transmission
The data to be sent must be prepared in the following order:
First nibble to be sent must be written in the
SWBuff
register . The other nibbles must be loaded in the RAM from
address 0 (second nibble at adr.0, third at adr.1,...) up to the address with last nibble of data to be send =
"size" address. Max. address space for SWB is 3E ("size" 3E hex) what gives with
SWBuff
up to 64 nibbles (256
bits) of possible data to be sent. The minimum possible data length we can send in Automatic SWB mode is 8 bits
when the last RAM address to be sent is 00 ("size" = 00)
Once data are ready in the RAM and in the
SWBuff
, user has to load the "size" (adr. of the last nibble to be send -
bits
size[5:0]
) into the
LowSWB
and
HighSWB
register together with
AutoSWB
bit = 1.
Now everything is ready for serial transmission. To start the transmission one has to put the EM6603 in standby
mode with the HALT instruction. With this serial transmission starts. When transmission is finished the TESTvar[3]
(can be used for conditional jumps) becomes active High, the
AutoSWB
bit is cleared, the processor is leaving the
Standby mode and
INTEN
is switched on.
Figure 13.Automatic Serial Write Buffer transmission
相關PDF資料
PDF描述
EM73200 4-Bit Micro-Controller for General Purpose Product(用于家用電器,消費類產品和玩具控制器的工作電壓4.5V-5.5V,2.7V-3.3V的4位微控制器)
EM73201 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT
EM73201AP 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT
EM73201BK 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT
EM73201CP 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT
相關代理商/技術參數(shù)
參數(shù)描述
EM6605DL24A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6605SO24A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6605SO24B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6605TP24A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6605TP24B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller