Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TMP89FS60 Datasheet(PDF) 215 Page - Toshiba Semiconductor

Part # TMP89FS60
Description  8 Bit Microcontroller
PDF  410 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TOSHIBA [Toshiba Semiconductor]
Direct Link  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP89FS60 Datasheet(HTML) 215 Page - Toshiba Semiconductor

Back Button TMP89FS60 Datasheet HTML 211Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 212Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 213Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 214Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 215Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 216Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 217Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 218Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 219Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 215 / 410 page
background image
Page 201
TMP89FS60
RA002
When an external source clock is selected, input the clock at the TC00 pin. The maximum frequency to
be supplied is fcgck/2 [Hz] (in NORMAL1/2 or IDLE1/2 mode) or fs/24 [Hz] (in SLOW1/2 or SLEEP1
mode), and a pulse width of two machine cycles or more is required at both the "H" and "L" levels.
14.4.8.3 Double buffer
The double buffer can be used for T01+00PWM and T01+00REG by setting T01MOD<DBE1>. The
double buffer is enabled by setting T01MOD<DBE1> to "0" or disabled by setting T01MOD<DBE1> to
"1".
• When the double buffer is enabled
When a write instruction is executed on T01PWM after write instructions are executed on
T00REG, T01REG and T00PWM during the timer operation, the set values are first stored in
the double buffer, and T01+00PWM and T01+00REG are not updated immediately.
T01+00PWM and T01+00REG compare the previous set values with the up counter value.
When a match between the up counter value and the T01+00REG set value is detected, an
INTT01 interrupt request is generated and the double buffer set values are stored in
T01+00PWM and T01+00REG. Subsequently, the match detection is executed using new set
values.
When a write instruction is executed on T01PWM after write instructions are executed on
T00REG, T01REG and T00PWM while the timer is stopped, the set values are immediately
stored in both the double buffer and T01+00PWM and T01+00REG.
• When the double buffer is disabled
When a write instruction is executed on T01PWM after write instructions are executed on
T00REG, T01REG and T00PWM during the timer operation, the set values are immediately
stored in T01+00PWM and T01+00REG. Subsequently, the match detection is executed using
new set values.
If the value set to T01+00PWM or T01+00REG is smaller than the up counter value, the
PPG1
pin is not reversed until the up counter overflows and a match detection is executed using
a new set value. If the value set to T01+00PWM or T01+00REG is equal to the up counter
value, the match detection is executed immediately after data is written into T01+00PWM and
T01+00REG. Therefore, the timing of changing the PPG1 pin may not be an integral multiple of
the source clock. If these are problems, enable the double buffer.
When a write instruction is executed on T01PWM after write instructions are executed on
T00REG, T01REG and T00PWM while the timer is stopped, the set values are immediately
stored in T01+00PWM and T01+00REG.
When read instructions are executed on T01+00PWM and T01+00REG, the last value written into
T01+00REG is read out, regardless of the T00MOD<DBE1> setting.
(Example)
Operate TC00 and TC01 in the 16-bit PPG mode with the operation clock of fcgck/2 and output the 68
µs duty pulse in 96µs
cycles (fcgck = 8 MHz)
SET
(P7FC).1
; Sets P7FC0 to "1"
SET
(P7CR).1
; Sets P7CR0 to "1"
LD
(POFFCR0),0x10
; Sets TC001EN to "1"
DI
; Sets the interrupt master enable flag to "disable"
SET
(EIRH).4
; Sets the INTTC00 interrupt enable register to "1"
EI
; Sets the interrupt master enable flag to "enable"
LD
(T01MOD),0xF3
; Selects the 8-bit PPG mode and fcgck/2
LD
(T00REG),0x80
; Sets the timer register (cycle)
LD
(T01REG),0x01
; Sets the timer register (cycle)
; 96
µs / (2/fcgck) = 0x0180
LD
(T00PWM),0x10
; Sets the timer register (duty pulse)
LD
(T01PWM),0x01
; Sets the timer register (duty pulse)
; 68
µs / (2/fcgck) = 0x0110



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com