參數(shù)資料
型號: M34506E4FP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, OTPROM, MICROCONTROLLER, PDSO20
封裝: 5.30 X 12.60 MM, 1.27 MM PITCH, PLASTIC, SOP-20
文件頁數(shù): 44/114頁
文件大?。?/td> 937K
代理商: M34506E4FP
Rev.2.00
Aug 28, 2006
page 31 of 119
7643 Group
REJ03B0054-0200
q CTS (Clear-to-Send) Function
As a transmitter, the UART can be configured to recognize the
_______
Clear-to-Send (CTS) input as a handshaking signal. This is en-
abled by setting the CTS Function Enable Bit (bit 5 of UCON) to
“1”. If CTS function is enabled, even when transmission is enabled
and the UART transmit buffer register is filled with the data, the
transmission never starts; but it will start when inputting “L” to the
_______
CTS pin.
Figures 25 and 26 show the UART transmit timings.
UTXD output (P84/UTXD)
D0
D1
SP
ST
D2
D3 D4
D5 D6
D7
P
ST
SP
D0
D1
D2
D3
D4
D5
D6
D7
P
CTS pin
(P86/CTS)
Transfer clock
Tranmit enable bit
Transmit buffer
empty flag
Transmit complete flag
Data set into UART transmit buffer register 1
Data transferring from UART
transmit buffer register 1 to Transmit shift register 1
Halt due to CTS = “H”
Halt due to Tranmit
enable bit = “0”
This timing applying to the conditions:
Character length = 8 bits
Parity enabled
1 stop bit
q UART Receive Operation
Reception is enabled when the Receive Enable Bit is “1”. Detec-
tion of the start bit makes transfer clocks generated and the data
reception starts in the LSB first.
When using 9-bit character length, read the received data from the
UART receive buffer register 2 (high-order byte) first before the
UART receive buffer register 1 (low-order byte).
Reception requires the following setup:
(1) Define a baud rate by setting a value n (n = 0 to 255) into
UART baud rate generator (addresses 003116).
(2) Set the Receive Initialization Bit (bit 3 of UCON) to “1”.
(3) Configure the data format and clock selection by setting the
UART mode register.
(4) Set the RTS Function Enable Bit (bit 5 of UCON) if RTS func-
tion will be used.
(5) Set the Receive Enable Bit (bit 1 of UCON) to “1”.
_______
Fig. 25 UART transmit timing (CTS function enabled)
q UART Transmit Operation
Transmission starts when the Transmit Enable Bit is “1” and the
Transmit Buffer Empty Flag is “0”. Additionally, when CTS function
enabled, the CTS pin must be “L” to be started. The data in which
Start Bit and Stop Bit or Parity Bit are also added is transmitted
from the low-order byte sequentially. When using 9-bit character
length, set the data into the UART transmit buffer register 2 (high-
order byte) first before the UART transmit buffer register 1
(low-order byte).
Once the transmission starts, the Transmit Enable Bit, the Trans-
_______
mit Buffer Empty Flag and the CTS pin state (when this is
enabled) could not be checked until the transmission in progress
has ended.
Transmission requires the following setup:
(1) Define a baud rate by setting a value n (n = 0 to 255) into
UART baud rate generator (addresses 003116).
(2) Set the Transmit Initialization Bit (bit 2 of UCON) to “1”. This
will set the UART status register to “0316”.
(3) Select the interrupt source with the Transmit Interrupt Source
Select Bit (bit 4 of UCON).
(4) Configure the data format and clock selection by setting the
UART mode register.
(5) Set the CTS Function Enable Bit (bit 5 of UCON) if CTS func-
tion will be used.
(6) Set the Transmit Enable Bit (bit 0 of UCON) to “1”.
If updating a value of UART baud rate generator while the data is
being transmitted, be sure to disable the transmission before up-
dating. If the former data remains in the UART transmit buffer
registers 1 and 2 at retransmission, an undefined data might be
output.
相關(guān)PDF資料
PDF描述
M34508G4HFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4GP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4H-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4FP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34506M2 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34506M2-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-BIT CISC SINGLE-CHIP MICROCOMPUTER 4500 SERIES
M34506M4 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34506M4-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-BIT CISC SINGLE-CHIP MICROCOMPUTER 4500 SERIES
M34507E4FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER