參數(shù)資料
型號: M37640E8FP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 24 MHz, MICROCONTROLLER, PQFP80
封裝: 14 X 20 MM, 0.80 MM PITCH, PLASTIC, QFP-80
文件頁數(shù): 40/96頁
文件大?。?/td> 1477K
代理商: M37640E8FP
45
Ver 1.4
MITSUBISHI MICROCOMPUTERS
7640 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
1.19.4.2 Receive Method
Set up
Define the baud rate by writing a value from 0-255 into
UxBRG.
Set the Receive Initialization Bit (RIN, bit 3 in the
UxCON), to "1".
Configure the data format and the clock selection by
writing the appropriate value to UxMOD.
Set the Request-To-Send Enable Bit (RTS_SEL, bit 6
of UxCON), if RTS handshaking will be used.
Set the Receive Enable Bit (REN, bit 1 in the
UxCON), to "1".
Operation
When a falling edge is detected on the URXDx pin,
the value on the pin is sampled at the basic clock rate,
which is 16 times faster than the baud rate. If the pin is
low for at least two cycles of the basic clock, the start
bit is detected. Sampling is again performed three
times in the approximate middle of the start bit. If two
or more of the samples are low, the start bit is deemed
valid. If two or more of the samples are not low, the
start bit is invalidated and the UART again begins wait-
ing for a falling edge on the URXDx pin.
Fig. 1.45. UART Transmit Operation Waveform
UxTRB1
UxBRG
UTXDx
TBE
Start bit
D0
Stop bit
Start bit
Stop bit
Clock
Write
TCM
Once a valid start bit has been detected, input data re-
ceived through the URXDx pin is read one bit at a time,
LSB first, into the receive shift register. As is the case
with the start bit, three samples are taken in the ap-
proximate middle of each data bit, the parity bit, and
the stop bit(s). If two or more of the samples are low, a
"0" is latched, and if two or more of the samples are
high, a "0" is latched.
When the number of bits specified by the data format
has been received and the last stop bit is detected, the
contents of the receive shift register are transferred to
the receive buffer and the Receive Buffer Full Flag in
the UxSTS is set to a "1", if a receive error has not oc-
curred (see Figure 1.46). The RBF interrupt request is
also generated at this time if a receive error has not oc-
curred. However, if a receive error did occur, the
appropriate error flags are set and the Receive Error
Sum (SER) interrupt request is generated at this time.
When the low-order byte of the receive buffer
(UxTRB1) is read, the Receive Buffer Full Flag is
cleared, and the receive buffer is now ready for the next
byte. If 9-bit character length has been selected, the
high-order byte of the receive buffer (UxTRB2) should
be read before reading the low-order byte (UxTRB1).
相關(guān)PDF資料
PDF描述
M37643M8-XXXHP 8-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP80
M37643F8HP 8-BIT, FLASH, 12 MHz, MICROCONTROLLER, PQFP80
M37700E2AFS 16-BIT, UVPROM, 16 MHz, MICROCONTROLLER, CQCC80
M37700E2AXXXFP 16-BIT, OTPROM, 16 MHz, MICROCONTROLLER, PQFP80
M37701E2-XXXSP 16-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37640E8FS 功能描述:EPROM MCU/8BIT CMOS EMULATION CH RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 配件 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 附件類型:適配器板 適用于相關(guān)產(chǎn)品:RCB230,RCB231,RCB212 配用:26790D-ND - RCB BREAKOUT BOARD RS232 CABLE
M37640M4T 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37640M8-111FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37640M8-126FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37640M8-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE CHIP 8 BIT CMOS MICROCOMPUTER