TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 371

no-image

TMPM382FSFG

Manufacturer Part Number
TMPM382FSFG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMPM382FSFG

Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
64K
Rom Type
Flash
Ram (kbytes)
8K
Number Of Pins
64
Package
QFP(14x14)
Vcc
5V
Cpu Mhz
40
Ssp (ch) Spi
1
I2c/sio (ch)
1
Uart/sio (ch)
3
Usb
-
Can
-
Ethernet
-
External Bus Interface
N
Cs/wait Controller (ch)
-
Dma Controller
2
10-bit Da Converter
-
10-bit Ad Converter
-
12-bit Ad Converter
10
16-bit Timer / Counter
6
Motor / Igbt Control
Y
Real Time Clock
1
Watchdog Timer
Y
Osc Freq Detect
Y
Clock Gear
Y
Low-power Hold Function
-
Remote Control Interface
Y
Hardware Cec Controller
-
Comparators
-
Low-voltage Detector
Y
Etm Hardware Trace
2-bit
13 Serial channel (UART/SIO)
13.3.14 Parity Control Circuit
13.3.15 Error Flag
Note: To switch the I/O interface SCLK output mode to other modes, read the SCxCR register
If the parity addition bit <PE> of the serial control register SC0CR is set to “1,” data is sent
with the parity bit. Note that the parity bit may be used only in the 7- or 8-bit UART mode.
The <EVEN> bit of SC0CR selects either even or odd parity.
Upon data transmission, the parity control circuit automatically generates the parity with the
data written to the transmit buffer (SC0BUF). After data transmission is complete, the parity
bit will be stored in SC0BUF bit 7 <TB7> in the 7-bit UART mode and in bit 7 <TB8> in the
serial mode control register SC0MOD in the 8-bit UART mode. The <PE> and <EVEN>
settings must be completed before data is written to the transmit buffer.
Upon data reception, the parity bit for the received data is automatically generated while the
data is shifted to receive shift register and moved to receive buffer (SC0BUF). In the 7-bit
UART mode, the parity generated is compared with the parity stored in SC0BUF <RB7>,
while in the 8-bit UART mode, it is compared with the bit 7 <RB8> of the SC0CR register. If
there is any difference, a parity error occurs and the <PERR> flag of the SC0CR register is
set.
In use of the FIFO, <RERR> indicates that a parity error was generated in one of the
recieved data.
In the I/O interface mode, the SC0CR <PERR> flag functions as an under-run error flag, not
as a parity flag.
Three error flags are provided to inprove the reliability of received data.
1.
and clear the overrun flag.
Overrun error <OERR>: Bit 4 of the serial control register SC0CR
In both UART and I/O interface modes, this bit is set to “1” when an error is generated
by completing the reception of the next frame receive data before the receive buffer
has been read. If the receive FIFO is enabled, the received data is automatically
moved to the receive FIFO and no overrun error will be generated until the receive
FIFO is full (or until the usable bytes are fully occupied). This flag is set to “0” when it is
read. In the I/O interface SCLK output mode, no overrun error is generated and
therefore, this flag is inoperative and the operation is undefined.
TMPM380/M382 - 22 / 52 -
TMPM380/M382

Related parts for TMPM382FSFG