TMPM330FWFG Toshiba, TMPM330FWFG Datasheet - Page 188

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
10 16-bit Timer/Event Counters (TMRBs)
Count clock
(TB3IN0 pin input)
TB0OUT
Taking data into TB3CP0
Taking data into TB3CP1
INTTB8
Enable reverse when data is
taken into TB5CP0
Count clock
(Prescaler output
clock)
TB5IN0 input
(External trigger pulse)
Match with TB5RG1
Timer output TB5OUT pin
Fig. 10-6 One-shot Pulse Output Triggered by an External Pulse (Without Delay)
TB5RG1 is set to the sum of the TB5CPO value (c) and the one-shot pulse width (p), (c + p),
by generating the INT0 interrupt. TB5RG1 change must be completed before the next
match. TB5FF0 is enabled to reverse when UC5 matches with TB5RG1, and is disabled by
generating the INTTB5 interrupt.
If a delay is not required, TB5FF0 is reversed when data is taken into TB5CP0, and
Frequency measurement
The frequency of an external clock can be measured by using the capture function.
To measure frequency, another 16-bit timer (TMRB0) is used in combination with the
16-bit event counter mode. As an example, we explain with TMRB3 and TMRB8.
TB8OUT of the 16-bit timer TMRB8 is used to specify the measurement time.
The TB3IN0 pin input is selected as the TMRB3 count clock to perform the count
operation using an external input clock. TB3MOD<TB3CPM1:0> is set to “11.” This
setting allows a count value of the 16-bit up-counter UC3 to be taken into the capture
register (TB3CP0) upon rising of a timer flip-flop output (TB8OUT) of the 16-bit timer
(TMRB8), and an UC3 counter value to be taken into the capture register (TB3CP1)
upon falling of TB8OUT of the 16-bit timer (TMRB8).
A frequency is then obtained from the difference between TB3CP0 and TB3CP1
based on the measurement, by generating the INTTB8 16-bit timer interrupt.
For example, if the set width of TB0FF level “1” of the 16-bit timer is 0.5 s and if the
difference between TB3CP0 and TB3CP1 is 100, the frequency is 100 / 0.5 s = 200
Hz.
C1
C1
c
Enable reverse
Fig. 10-7 Frequency Measurement
Taking data into the capture register
TB5CP0. INTCAP50 generation
Pulse width
(p)
Under development
Page176
c + p
INTTB5 generation
C2
C2
Disable reverse when data is taken into
TB5CP1
Taking data into the capture
register TB5CP1
C1
C2
TMPM330

Related parts for TMPM330FWFG