TMPM330FWFG Toshiba, TMPM330FWFG Datasheet - Page 189

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
P re scaler output clock
TB5IN0 pin input
(e xternal pulse)
Taking data into TB5CP 0
Taking data into TB5CP 1
INTCAP50
INTCAP51
Pulse width measurement
By using the capture function, the “H” level width of an external pulse can be measured.
Specifically, by putting it in a free-running state using the prescaler output clock, an
external pulse is input through the TB5IN0 pin and the up-counter (UC5) is made to
count up. A trigger is generated at each rising and falling edge of the external pulse by
using the capture function and the value of the up-counter is taken into the capture
registers (TB5CP0, TB5CP1). The CPU must be programmed so that INTCAP51 is
generated at the falling edge of an external pulse input through the TB5IN0 pin.
The “H” level pulse width can be calculated by multiplying the difference between
TB5CP0 and TB5CP1 by the clock cycle of an internal clock.
For example, if the difference between TB5CP0 and TB5CP1 is 100 and the cycle of
the prescaler output clock is 0.5 us, the pulse width is 100 × 0.5 us = 50 us.
Caution must be exercised when measuring pulse widths exceeding the UC5
maximum count time which is dependant upon the source clock used. The
measurement of such pulse widths must be made using software.
The “L” level width of an external pulse can also be measured. In such cases, the
difference between C2 generated the first time and C1 generated the second time is
initially obtained by performing the second stage of INTCAP50 interrupt processing as
shown in “Fig. 10-8 Pulse Width Measurement” and this difference is multiplied by
the cycle of the prescaler output clock to obtain the “L” level width.
C1
Fig. 10-8 Pulse Width Measurement
Under development
Page177
C2
C2
C1
C2
TMPM330

Related parts for TMPM330FWFG