參數(shù)資料
型號(hào): W78ERD2_07
廠(chǎng)商: WINBOND ELECTRONICS CORP
元件分類(lèi): 8位微控制器
英文描述: 8-BIT MICROCONTROLLER
中文描述: 8位微控制器
文件頁(yè)數(shù): 41/76頁(yè)
文件大?。?/td> 650K
代理商: W78ERD2_07
W78ERD2/W78ERD2A
Publication Release Date: February 14, 2007
- 41 -
Revision A10
Transmission begins when data is written to SBUF but is synchronized with the roll-over of the counter
(divided by 32 or 64, as configured) and not the write signal. The W78ERD2 waits until the next roll-
over of the counter (divided by 32 or 64) before the data is put on TxD. The next bit is placed on TxD
after the next rollover. After all nine bits of data are transmitted, the stop bit is transmitted. Finally, the
TI flag is set, at the eleventh rollover after the write signal.
Reception is enabled only if REN is high. The W78ERD2 samples the RxD line at a rate of 16 times
the selected baud rate, looking for a falling edge. When a falling edge is detected on the RxD pin, the
counter (divided by 32 or 64) is immediately reset to align the bit boundaries better, and the serial port
starts receiving data. The 16 states of the counter effectively divide the time into 16 slices, and bit
detection is done on a best-of-three basis using the eighth, ninth and tenth states. If the start bit is
invalid (1), reception is aborted, and the serial port resumes looking for a falling edge on RxD. If the
start bit is valid, the rest of the bits are shifted in. Then, if
(1) RI = 0 and
(2) Either SM2 = 0 or the received 9th bit = 1,
the ninth bit is put into RB8, the data is put in SBUF, and RI is set. Otherwise, the received frame may
be lost. In the middle of the stop bit, the W78ERD2 resumes looking for falling edges on RxD.
10.4 MODE 3
Mode 3 is similar to mode 2 in all respects, except that the baud rate is programmable the same way it
is programmable in mode 1. The functional diagram is shown below.
SBUF
RB8
Transmit Shift Register
Receive Shift
Register
TX SHIFT
PAROUT
D8
Internal
Data Bus
Internal
Data
Bus
TXD
RXD
Serial Port
Interrupt
SMOD =
TCLK
RCLK
SAMPLE
Write to
SBUF
TX START
SOUT
0
1
0
1
TI
1
0
PARIN
STOP
START
LOAD
CLOCK
Read
SBUF
Timer 2
Overflow
Timer 1
Overflow
TX CLOCK
RI
SERIAL
CONTROLLER
RX CLOCK
LOAD
SBUF
RX
START
RX SHIFT
2
16
1-TO-0
DETECTOR
BIT
DETECTOR
16
CLOCK
SIN
D8
TB8
Figure 10-4 Serial Port Mode 3
相關(guān)PDF資料
PDF描述
W78ERD2A 8-BIT MICROCONTROLLER
W78ERD2A40DL 8-BIT MICROCONTROLLER
W78ERD2A40FL 8-BIT MICROCONTROLLER
W78ERD2A40PL 8-BIT MICROCONTROLLER
W78ERD2 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W78ERD2A 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:8-BIT MICROCONTROLLER
W78ERD2A40DL 功能描述:IC MCU 8-BIT 64K FLASH 40-DIP RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:W78 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線(xiàn) SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲(chǔ)器容量:16KB(16K x 8) 程序存儲(chǔ)器類(lèi)型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤(pán)
W78ERD2A40DN 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:8-BIT MICROCONTROLLER
W78ERD2A40FL 功能描述:IC MCU 8-BIT 64K FLASH 44-PQFP RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:W78 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線(xiàn) SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲(chǔ)器容量:16KB(16K x 8) 程序存儲(chǔ)器類(lèi)型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤(pán)
W78ERD2A40FN 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:8-BIT MICROCONTROLLER