tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 208

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
16.6
STOP Bit Length
16.6
16.7
16.8
16.8.1
16.8.2
Select a transmit stop bit length (1 bit or 2 bits) by UARTCR21<STBT>.
Set parity / no parity by UARTCR21<PE> and set parity type (Odd- or Even-numbered) by UARTCR21<EVEN>.
STOP Bit Length
Parity
Transmit/Receive Operation
TDBUF2 (Transmit data buffer). Writing data in TDBUF2 zero-clears UARTSR2<TBEP>, transfers the data to
the transmit shift register and the data are sequentially output from the TXD pin. The data output include a one-
bit start bit, stop bits whose number is specified in UARTCR21<STBT> and a parity bit if parity addition is
specified. Select the data transfer baud rate using UARTCR21<BRG>. When data transmit starts, transmit buffer
empty flag UARTSR2<TBEP> is set to “1” and an INTTXD interrupt is generated.
written to TDBUF2, the TXD pin is fixed at high level. When transmitting data, first read UARTSR2, then write
data in TDBUF2. Otherwise, UARTSR2<TBEP> is not zero-cleared and transmit does not start.
RDBUF2 (Receive data buffer). At this time, the data transmitted includes a start bit and stop bit(s) and a parity
bit if parity addition is specified. When stop bit(s) are received, data only are extracted and transferred to RDBUF2
(Receive data buffer). Then the receive buffer full flag UARTSR2<RBFL> is set and an INTRXD interrupt is
generated. Select the data transfer baud rate using UARTCR21<BRG>.
data buffer) but discarded; data in the RDBUF2 are not affected.
Set UARTCR21<TXE> to “1”. Read UARTSR2 to check UARTSR2<TBEP> = “1”, then write data in
While UARTCR21<TXE> = “0” and from when “1” is written to UARTCR21<TXE> to when send data are
Set UARTCR21<RXE> to “1”. When data are received via the RXD pin, the receive data are transferred to
If an overrun error (OERR) occurs when data are received, the data are not transferred to RDBUF2 (Receive
Data Transmit Operation
Data Receive Operation
Note:When a receive operation is disabled by setting UARTCR21<RXE> bit to “0”, the setting becomes valid
when data receive is completed. However, if a framing error occurs in data receive, the receive-disabling
setting may not become valid. If a framing error occurs, be sure to perform a re-receive operation.
Page 194
TMP88FW45AFG

Related parts for tmp88fw45afg