TMPA901CMXBG Toshiba, TMPA901CMXBG Datasheet - Page 310

no-image

TMPA901CMXBG

Manufacturer Part Number
TMPA901CMXBG
Description
Microcontrollers (MCU) 32-bit RISC MCU 16kb ARM926EJ 16kb 200Mhz
Manufacturer
Toshiba
Datasheet

Specifications of TMPA901CMXBG

Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
-
Rom Type
ROMless
Ram (kbytes)
32
Number Of Pins
177
Package
BGA
Vcc
3V
Tft Lcd Controller
Y
Touchscreen Controller
Y
Usb Host Fs With Phy
Y
Usb Device Hs With Phy
Y
Sd Host Controller
-
Cmos Image Sensor Interface
-
I2s
1
Ssp (ch) Spi
1
I2mc/sio (ch)
1
Uart/sio (ch)
2
External Bus Interface
Y
Cs/wait Controller (ch)
4
Dma Controller
8
10-bit Ad Converter
4
12-bit Da Converter
-
16-bit Timer / Counter
6
Real Time Clock
Y
Watchdog Timer
Y
Osc Freq Detect
Y
Low-power Modes
Y
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMPA901CMXBG
Manufacturer:
Toshiba
Quantity:
10 000
Timer0Control
Timer0Mode
Timer0Compare1
Timer0CmpEn
Timer0Control
Register
Example: Outputting the following PWM waveform on the PWM0OUT pin by using Timer 0
Bits
: Don’ t care
channels of PWM output are output on the PWM0OUT (PC3) and PWM2OUT (PC4) pins.
decrement counter value reaches 0, the counter resumes counting down from “2
Timer 2.
Note1: When using PWM function, be sure to select “periodic timer mode”, “16-bit counter” and “wrapping
Note2: The status of PWM output is kept, if PMD function is stopped by setting TIMER0 Control<TIM0EN> to "0" to
value set in the Timer0Compare1 register or when the counter value set in
Timer0Mode<PWM Period> decrements to 0.
Block 1 and Block 2 are provided with two channels of the 16-bit PWM function. The two
The PWM0OUT output is inverted when the value of the decrement counter matches the
The Timer0Compare1 register can be set in a range of duty 0% to 100%. When the
The two channels have the same specifications and the above explanation also applies to
(1) To realize the PWM period of 5.1 s with T0 = 0.02 s:
(2) Since the Low level period is 4.0
0x000000
0x000000
0x000000
0x000000
0x000000
M S B
[31:8]
PWM function support
operation” in the control register.
stop the timer. If 1 is set to " Timer0Control<TIM0EN> " in this state and the timer is made to work again, the
output of PWM starts from the state when the timer stopped before. Therefore, if PWM output is High when
timer is stopped,the phase reverses because it is output from High level. Output data is initialized by
disabling the PWM function, therefore, Timer0Mode<PWM Mode> must be set “disable” to make the PWM
function work again.
calculated as follows with T0 = 0.02 s:
5.1 s ÷ 0.02 s = 255 = 2
Therefore, n=8.
(5.1 s - 4.0 s) / 0.02 s = 55 = 0x37
with f
7
0
0
0
0
1
PCLK
4.0 s
5.1 s
×
6
1
0
0
1
= 100 MHz and TIMCLK = 50 MHz
×
5
0
1
0
1
1.1 s
4
0
0
1
0
0
×
3
0
0
0
0
TMPA901CM- 309
n
×
-1
2
0
1
0
0
×
1
0
1
0
1
L S B
×
0
0
1
1
0
[7]: Stops Timer 0.
[6], [5:4]: Selects PWM mode
[7:0]: Sets the compare value 0x37.
[0]: Enables compare.
[7]: Enables Timer 0 (Starts counting).
[6]: Selects periodic timer mode.
[5]: Enables timer interrupts.
[3:2]: Selects input clock T0.
[1]: Selects16-bit counter without exception.
[0]: Selects wrapping operation.
s, the value to be set in Timer0Compare1 is
Sets PWM period to 2
Function
8
-1.
TMPA901CM
2010-07-29
n
-2”.

Related parts for TMPA901CMXBG