BMSKTOPASA900(DCE) Toshiba, BMSKTOPASA900(DCE) Datasheet - Page 344

KIT STARTER TMPA900 USB JTAG

BMSKTOPASA900(DCE)

Manufacturer Part Number
BMSKTOPASA900(DCE)
Description
KIT STARTER TMPA900 USB JTAG
Manufacturer
Toshiba
Series
TOPASr
Type
MCUr
Datasheets

Specifications of BMSKTOPASA900(DCE)

Contents
Evaluation Board, Cable(s), Software and Documentation
For Use With/related Products
TMPA900CMXBG
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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.
Note: When using PWM function, be sure to select “periodic timer mode”, “16-bit counter” and “wrapping
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 μs, the value to be set in Timer0Compare1 is
0x000000
0x000000
0x000000
0x000000
0x000000
M S B
[31:8]
PWM function support
operation” in the control register.
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
×
TENTATIVE
3
0
0
0
0
TMPA900CM- 343
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.
Sets PWM period to 2
Function
8
-1.
TMPA900CM
2009-10-14
n
-2”.

Related parts for BMSKTOPASA900(DCE)