TMP86xy49UG/F/NG Toshiba, TMP86xy49UG/F/NG Datasheet - Page 171

no-image

TMP86xy49UG/F/NG

Manufacturer Part Number
TMP86xy49UG/F/NG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy49UG/F/NG

Package
LQFP64/QFP64/SDIP64
Rom Types (m=mask,p=otp,f=flash)
M/P/F
Rom Size
16/32/60
Ram Size
512/1K/2K
Driver Led
13
Driver Lcd
-
Spi/sio Channels
2
Uart/sio Channels
2
I2c/sio Channels
1
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
16
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
4
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
56
Power Supply (v)
4.5 to 5.5
13.6 STOP Bit Length
13.6 STOP Bit Length
13.7 Parity
13.8 Transmit/Receive Operation
13.8.1 Data Transmit Operation
13.8.2 Data Receive Operation
UART2CR1<EVEN>.
Select a transmit stop bit length (1 bit or 2 bits) by UART2CR1<STBT>.
Set parity / no parity by UART2CR1<PE> and set parity type (Odd- or Even-numbered) by
TD2BUF (Transmit data buffer). Writing data in TD2BUF zero-clears UART2SR<TBEP>, transfers the data
to the transmit shift register and the data are sequentially output from the TXD2 pin. The data output include a
one-bit start bit, stop bits whose number is specified in UART2CR1<STBT> and a parity bit if parity addition
is specified. Select the data transfer baud rate using UART2CR1<BRG>. When data transmit starts, transmit
buffer empty flag UART2SR<TBEP> is set to “1” and an INTTXD2 interrupt is generated.
written to TD2BUF, the TXD2 pin is fixed at high level.
When transmitting data, first read UART2SR, then write data in TD2BUF. Otherwise, UART2SR<TBEP> is
not zero-cleared and transmit does not start.
RD2BUF (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
RD2BUF (Receive data buffer). Then the receive buffer full flag UART2SR<RBFL> is set and an INTRXD2
interrupt is generated. Select the data transfer baud rate using UART2CR1<BRG>.
data buffer) but discarded; data in the RD2BUF are not affected.
Set UART2CR1<TXE> to “1”. Read UART2SR to check UART2SR<TBEP> = “1”, then write data in
While UART2CR1<TXE> = “0” and from when “1” is written to UART2CR1<TXE> to when send data are
Set UART2CR1<RXE> to “1”. When data are received via the RXD2 pin, the receive data are transferred to
If an overrun error (OERR) occurs when data are received, the data are not transferred to RD2BUF (Receive
Note:When a receive operation is disabled by setting UART2CR1<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 154
TMP86PM49UG

Related parts for TMP86xy49UG/F/NG