TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 356

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.3.2 Baud Rate Generator
UART mode
I/O interface mode
Baud rate calculation to use the baud rate generator:
The baud rate generator generates transmit and receive clocks to determine the serial
channel transfer rate.
The baud rate generator uses either the φT1, φT4, φT16 or φT64 clock supplied from the
7-bit prescaler. This input clock selection is made by setting the baud rate generator control
register, SC0BRCR <BR0CK1:0>.
The baud rate generator contains built-in dividers for divide by 1, N + m/16 (N=2~15,
m=0~15), and 16. The division is performed according to the settings of the baud rate
generator control registers SC0BRCR <BR0ADDE> <BR0S3:0> and SC0BRADD
<BR0K3:0> to determine the resulting transfer rate.
The highest baud rate of each mode is limited.
divide by N, by setting SC0BRCR <BR0ADDE> to “0”.
The N + (16 - K)/16 division function cannot be used in the I/O interface mode. Be sure to
1)
2)
1) UART mode
2) I/O interface mode
The highest baud rate out of the baud rate generator is 1.25 Mbps.
When it uses a double buffer, the highest baud rate generated with the baud rate
generator becomes 10Mbps. (If double buffering is not used, the highest baud rate will
be 5.0 Mbps).
If SC0BRCR <BR0ADDE> = 0,
The setting of SC0BRADD <BR0K3:0> is ignored and the counter is divided by N
where N is the value set to SC0BRCR <BR0S3:0>. (N = 1 to 16).
If SC0BRCR <BR0ADDE> = 1,
The N + (16 - K)/16 division function is enabled and the division is made by using the
values N (set in SC0BRCR <BR0S3:0>) and K (set in SC0BRADD<BR0K3:0>). (N = 2
to 15, K = 1 to 15)
The fsys frequency, which is independent of the baud rate generator, can be used as
the serial clock. In this case, the highest baud rate will be 2.5 Mbps.
(Note) For the N values of 1 and 16, the above N+(16-K)/16 division function is
Baud rate =
Baud rate =
inhibited. So, be sure to set SC0BRCR<BR0ADDE> to “0.”
Frequency
Frequency
Baud
Baud
TMPM380/M382 - 7 / 52 -
rated
rated
divided
divided
generator
generator
by the
by the
input
input
divide
divide
clock
clock
ratio
ratio
/16
/2
TMPM380/M382

Related parts for TMPM382FSFG