| поискавой системы для электроныых деталей |
|
7643 датащи(PDF) 49 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7643 датащи(HTML) 49 Page - Renesas Technology Corp |
|
49 / 424 page ![]() Rev.2.00 Aug 28, 2006 page 32 of 103 REJ09B0133-0200 OVERVIEW FUNCTIONAL DESCRIPTION 7643 Group 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. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |