TMPM330FWFG Toshiba, TMPM330FWFG Datasheet - Page 228

no-image

TMPM330FWFG

Manufacturer Part Number
TMPM330FWFG
Description
Microcontrollers (MCU) MCU w/ ARM Cortex-M3 128K FLASH, 8K SRAM
Manufacturer
Toshiba
Datasheets

Specifications of TMPM330FWFG

Processor Series
TX03
Core
ARM Cortex M3
3rd Party Development Tools
MDK-ARM, RL-ARM, ULINK2
Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
128K
Rom Type
Flash
Ram (kbytes)
8K
Number Of Pins
100
Package
LQFP(14×14)
Vcc
3V
Cpu Mhz
40
Ssp (ch) Spi
-
I2c/sio (ch)
3
Uart/sio (ch)
3
Usb
-
Can
-
Ethernet
-
External Bus Interface
-
Cs/wait Controller (ch)
-
Dma Controller
-
10-bit Da Converter
-
10-bit Ad Converter
12
12-bit Ad Converter
-
16-bit Timer / Counter
10
Motor / Igbt Control
-
Real Time Clock
1
Watchdog Timer
Y
Osc Freq Detect
-
Clock Gear
Y
Low-power Hold Function
-
Remote Control Interface
Y
Hardware Cec Controller
Y
Comparators
-
Low-voltage Detector
-
Etm Hardware Trace
4-bit
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMPM330FWFG
Manufacturer:
Toshiba
Quantity:
10 000
9.7
Applications using the Capture Function
9.7
9.7.1
Applications using the Capture Function
The capture function can be used to develop many applications, including those described below:
1. One-shot pulse output triggered by an external pulse
2. Frequency measurement
3. Pulse width measurement
4. Time difference measurement
An external pulse is input through the TBxIN0 pin. A trigger is generated at the rising of the external pulse by
using the capture function and the value of the up-counter is taken into the capture registers (TBxCP0).
pulse. This interrupt is used to set the timer registers (TBxRG0) to the sum of the TBxCP0 value (c) and the delay
time (d), (c + d), and set the timer registers (TBxRG1) to the sum of the TBxRG0 values and the pulse width (p)
of one-shot pulse, (c + d + p).[TBxRG1 change must be completed before the next match.]
enables triggering the timer flip-flop (TBxFF0) to reverse when TBxUC matches TBxRG0 and TBxRG1. This
trigger is disabled by the INTTBx interrupt after a one-shot pulse is output.
(With Delay)".
One-shot pulse output triggered by an external pulse
One-shot pulse output triggered by an external pulse is carried out as follows:
The 16-bit up-counter is made to count up by putting it in a free-running state using the prescaler output clock.
The CPU must be programmed so that an interrupt INTCAPx0 is generated at the rising of an external trigger
In addition, the timer flip-flop control registers(TBxFFCR<TBE1T1, TBE0T1>) must be set to "11". This
Symbols (c), (d) and (p) used in the text correspond to symbols c, d and p in "Figure 9-5 One-shot Pulse Output
Count clock
(Internal clock)
TBxIN0 pin input
(External trigger pulse)
Match with TBxRG0
Match with TBxRG1
Timer output TBxOUT pin
when data is taken
into TBxCP0.
Disable reverse
Figure 9-5 One-shot Pulse Output (With Delay)
Put the counter in a free-running state.
c
INTCAPx0
generation
Taking data into the capture register (TBxCP0).
Delay time
Enable reverse
(d)
Page 208
c + d
Enable reverse
INTTBx
generation
Pulse width
(p)
c + d + p
INTTBx generation
TMPM330FDFG/FYFG/FWFG

Related parts for TMPM330FWFG