TMP89xy60UG/FG Toshiba, TMP89xy60UG/FG Datasheet - Page 204

no-image

TMP89xy60UG/FG

Manufacturer Part Number
TMP89xy60UG/FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP89xy60UG/FG

Package
LQFP64/QFP64
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
32/60
Ram Size
3K
Driver Led
8
Driver Lcd
-
Spi/sio Channels
-
Uart/sio Channels
2
I2c/sio Channels
1
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
16
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
4
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
Y
Number Of I/o Ports
58
Power Supply (v)
4.3 to 5.5
14.4
Functions
RA005
T001CR<T00RUN>
T00MOD<TFF0>
Source clock
Counter
Write to T00PWM
Double buffer
T00PWM
<PWMAD>
T00PWM
<PWMDUTY>
PWM0 pin output
INTTC00 interrupt
request
is "1", the PWM0 pin changes from the "L" to "H" level. If the 2 × n-th overflow occurs at this time, an
INTTC00 interrupt request is generated. (No interrupt request is generated at the 2 × n-th -1 overflow.)
Subsequently, the up counter continues counting up.
to "0x00". The PWM0 pin returns to the level selected at T00MOD<TFF0>.
(Example) Operate TC00 in the 8-bit PWM mode with the operation clock of fcgck/2 and output a duty pulse nearly
When T001CR<T00RUN> is set to "0" during the timer operation, the up counter is stopped and cleared
Becomes the level selected at
TFF0 while the timer is stopped
Write m
equivalent to 11.625 μs (fcgck = 8 MHz)
(Actually, output a total duty pulse of 23.25 μs in 2 cycles (64 μs))
m
m
Timer start
(Duty pulse)
Figure 14-6 8-bit PWM Mode Timing Chart
SET
SET
LD
DI
SET
EI
LD
LD
SET
0
m
1
128 counts
(Cycle 1)
When the double buffer is enabled (T00MOD<DBE0>=”1”)
Match detection
m
Write r
(P7FC).0
(P7CR).0
(POFFCR0),0x10
(EIRH).4
(T00MOD),0xF2
(T00PWM),0x5D
(T001CR).0
m+1
r
(Duty pulse)
Overflow
128
Counter
clear
No interrupt request
is generated
0
m
128 counts
1
(Cycle 2)
Page 188
Match detection
m
m+1
(Duty pulse)
; Sets P7FC0 to "1"
; Sets P7CR0 to "1"
; Sets TC001EN to "1"
; Sets the interrupt master enable flag to "disable"
; Sets the INTTC00 interrupt enable register to "1"
; Sets the interrupt master enable flag to "enable"
; Selects the 8-bit PWM mode and fcgck/2
; Sets the timer register (duty pulse)
; (11.625μs × 2) / (2/fcgck) = 0x5D
; Starts TC00
128
Overflow
Counter
clear
Reflected by an
interrupt request
Interrupt request
0
r
r
1
128 counts
(Cycle 3)
Write s
s
Match detection
r
r+1
Overflow
128
(Duty pulse)
Counter
clear
No interrupt request
is generated
0
128 counts
1
r+1
(Cycle 4)
Additional pulse
Match detection
r
Timer stop
r+1
TMP89FS60
128
s
Counter
clear
Reflected by an
interrupt request
Returns to the
level selected
at TFF0
0
1
0

Related parts for TMP89xy60UG/FG