TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 195

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
Counter Clock
(Presc aler Output Clock)
TB0IN Input Pin
(External Trigger Pulse)
TB0RG0 Match
TB0RG1 Match
TB0OUT (Timer Output) Pin
9.6.4
Using an external count start trigger enables one-shot pulse generation with a short delay.
(1) The 16-bit up-counter (UC0) is programmed to count up on the rising edge of the TB0IN pin
(2) To enable the trigger for timer flip-flop, sets TB0FFCR<TBE1T1, TBE0T1> to 11. With this
(3) Sets TB0RUN<TBRUN> to 1 to enable the count-up by an external trigger.
(4) After the generation of one-shot pulse by the external trigger, to disable reverse of the timer
Figure 9-5 shows one-shot pulse generation, with annotations showing (d) and (p).
flip-flop or to stop 16bit counter by TB0RUN<TBRUN> setting.
(TB0CR<TRGSEL0,CSSEL0>=”01”). The TB0RG0 is loaded with the pulse delay (d), and the
TB0RG1 is loaded with the sum of the TB0RG0 value (d) and the pulse width (P). The above
settings must be done while the 16-bit up-counter is stopped (TB0RUN<TBRUN>=0).
setting, the timer flip-flop reverses when 16-bit up-counter (UC0) corresponds to TB0RG0 or
TB0RG1.
Fig. 9-5 One-shot pulse generation using an external count start trigger (with a delay)
External trigger Programmable Square Wave Output Mode (PPG)
0
Toggle is disabled for a
capture into CAP1.
The c ounter starts at the rising edge of external trigger.
TMPM380/M382 - 29 / 34 -
Toggle is
enabled.
Delay
(d)
d
Toggle is
enabled.
INTT B00 is gener ated.
Pulse
(p)
d + p
INTTB01 is generated.
TMPM380/M382

Related parts for TMPM382FSFG