tmp86fh09amg TOSHIBA Semiconductor CORPORATION, tmp86fh09amg Datasheet - Page 115

no-image

tmp86fh09amg

Manufacturer Part Number
tmp86fh09amg
Description
8 Bit Microcontroller Tlcs-870/c Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp86fh09amg(C
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp86fh09amg(C,ZHZ
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
10.6
10.7
10.8
10.8.1
10.8.2
Select a transmit stop bit length (1 bit or 2 bits) by UARTCR1<STBT>.
Set parity / no parity by UARTCR1<PE> and set parity type (Odd- or Even-numbered) by UARTCR1<EVEN>.
STOP Bit Length
Parity
Transmit/Receive Operation
TDBUF (Transmit data buffer). Writing data in TDBUF zero-clears UARTSR<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 UARTCR1<STBT> and a parity bit if parity addition
is specified. Select the data transfer baud rate using UARTCR1<BRG>. When data transmit starts, transmit buf-
fer empty flag UARTSR<TBEP> is set to “1” and an INTTXD interrupt is generated.
written to TDBUF, the TXD pin is fixed at high level. When transmitting data, first read UARTSR, then
write data in TDBUF. Otherwise, UARTSR<TBEP> is not zero-cleared and transmit does not start.
RDBUF (Receive data buffer). At this time, the data transmitted includes a start bit and stop bit(s) and a pari-
ty bit if parity addition is specified. When stop bit(s) are received, data only are extracted and transferred to
RDBUF (Receive data buffer). Then the receive buffer full flag UARTSR<RBFL> is set and an INTRXD in-
terrupt is generated. Select the data transfer baud rate using UARTCR1<BRG>.
ceive data buffer) but discarded; data in the RDBUF are not affected.
Set UARTCR1<TXE> to “1”. Read UARTSR to check UARTSR<TBEP> = “1”, then write data in
While UARTCR1<TXE> = “0” and from when “1” is written to UARTCR1<TXE> to when send data are
Set UARTCR1<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 RDBUF (Re-
Data Transmit Operation
Data Receive Operation
Note:When a receive operation is disabled by setting UARTCR1<RXE> bit to “0”, the setting becomes val-
id when data receive is completed. However, if a framing error occurs in data receive, the receive-dis-
abling setting may not become valid. If a framing error occurs, be sure to perform a re-receive opera-
tion.
Page 105
TMP86FH09AMG

Related parts for tmp86fh09amg