128
TOSHIBA CORPORATION
TMP96C141AF
How to calculate the transfer rate (when timer 0 is used):
Transfer rate =
fc
TREG0 x 8 x 16
(When timer 0 (input clock
φ
T1) is used)
Input clock of timer 0
φ
T1 =
fc
/8
φ
T4 =
fc
/32
φ
T16 =
fc
/128
Note:
Timer 0 match detect signal cannot be used as the transfer clock in I/O interface mode.
Table 3.11 (2) Selection of Transfer Rate (1) (When Timer 0 (Input Clock
φ
T1) is Used)
Unit (Kbps)
fc
TREG0
12.288MHz
12MHz
9.8304MHz
8MHz
6.144MHz
1H
96
76.8
62.5
48
2H
48
38.4
31.25
24
3H
32
31.25
16
4H
24
19.2
12
5H
19.2
9.6
8H
12
9.6
6
AH
9.6
4.8
10H
6
4.8
3
14H
4.8
2.4
↑
➁
Serial Clock Generation Circuit
This circuit generates the basic clock for transmitting
and receiving data.
1) I/O interface mode (channel 1 only)
When in SCLK output mode with the set-
ting of SC1CR <IOC> = “0", the basic clock
will be generated by dividing by 2 the output
of the baud rate generator as described
before. When in SCLK input mode with the
setting of SC1CR <IOC> = “1", the rising
edge or falling edge will be detected accord-
ing to the setting of SC1CR <SCLKC> regis-
ter to generate the basic clock.
2) Asynchronous Communication (UART) mode
According to the setting of SC0CR and
SC1CR <SC1, 0>, the above baud rate gen-
erator clock, internal clock
φ
1 (500 Kbps @ fc
= 16 MHz), or the match detect signal from
timer 0 will be selected to generate the basic
clock SIOCLK.
➂
Receiving Counter
The receiving counter is a 4-bit binary counter
used in asynchronous communication (UART) mode
and counts up by SIOCLK clock. Sixteen pulses of
SIOCLK are used for receiving one bit of data, and
the data bit is sampled three times at 7th, 8th and
9th clock.
With the three samples, the received data is
evaluated by the rule of majority.
For example, if the sampled data bit is “1", “0” and
“1” at 7th, 8th and 9th clock respectively, the received
data is evaluated as “1”. The sampled data “0", “0” and
“1” is evaluated that the received data is “0”.
➃
Receiving Control
1) I/O interface mode (channel 1 only)
When in SCLK1 output mode with the
setting of SC1CR <IOC> = “0", RxD1 signal
will be sampled at the rising edge of shift
clock which is output to SCLK pin.
When in SCLK input mode with the set-
ting SC1CR <IOC> = “1", RxD1 signal will be
sampled at the rising edge or falling edge of
SCLK input according to the setting of
SC1CR <SCLKS> register.
Содержание TLCS-900 Series
Страница 2: ...2 TOSHIBA CORPORATION TMP96C141AF Figure 1 TMP96C141AF Block Diagram ...
Страница 10: ...10 TOSHIBA CORPORATION TMP96C141AF Figure 3 3 1 Interrupt Processing Flowchart ...
Страница 17: ...TOSHIBA CORPORATION 17 TMP96C141AF Figure 3 3 3 1 Block Diagram of Interrupt Controller ...
Страница 18: ...18 TOSHIBA CORPORATION TMP96C141AF 1 Interrupt Priority Setting Register ...
Страница 19: ...TOSHIBA CORPORATION 19 TMP96C141AF 2 External Interrupt Control ...
Страница 26: ...26 TOSHIBA CORPORATION TMP96C141AF Port 0 Register Figure 3 5 3 Registers for Ports 0 and 1 ...
Страница 28: ...28 TOSHIBA CORPORATION TMP96C141AF Figure 3 5 5 Registers for Port 2 ...
Страница 30: ...30 TOSHIBA CORPORATION TMP96C141AF Figure 3 5 6 Port 3 P30 P31 P32 P35 P36 P37 ...
Страница 31: ...TOSHIBA CORPORATION 31 TMP96C141AF Figure 3 5 7 Port 3 P33 P34 ...
Страница 34: ...34 TOSHIBA CORPORATION TMP96C141AF Figure 3 5 9 Port 4 ...
Страница 38: ...38 TOSHIBA CORPORATION TMP96C141AF Port 6 Register Figure 3 5 14 Registers for Port 6 ...
Страница 40: ...40 TOSHIBA CORPORATION TMP96C141AF Figure 3 5 16 Registers for Port 7 ...
Страница 43: ...TOSHIBA CORPORATION 43 TMP96C141AF Figure 3 5 19 Registers for Port 8 ...
Страница 47: ...TOSHIBA CORPORATION 47 TMP96C141AF Figure 3 5 24 Registers for Port 9 ...
Страница 55: ...TOSHIBA CORPORATION 55 TMP96C141AF Figure 3 7 1 Block Diagram of 8 Bit Timers Timers 0 and 1 ...
Страница 58: ...58 TOSHIBA CORPORATION TMP96C141AF Figure 3 7 4 Timer Operation Control Register TRUN ...
Страница 59: ...TOSHIBA CORPORATION 59 TMP96C141AF Figure 3 7 5 Timer Mode Control Register TMOD ...
Страница 60: ...60 TOSHIBA CORPORATION TMP96C141AF Figure 3 7 6 Timer Flip Flop Control Register TFFCR ...
Страница 74: ...74 TOSHIBA CORPORATION TMP96C141AF Figure 3 8 4 8 Bit PWM0 Mode Control Register ...
Страница 75: ...TOSHIBA CORPORATION 75 TMP96C141AF Figure 3 8 5 8 Bit PWM1 Mode Control Register ...
Страница 76: ...76 TOSHIBA CORPORATION TMP96C141AF Figure 3 8 6 8 Bit PWM F F Control Register ...
Страница 77: ...TOSHIBA CORPORATION 77 TMP96C141AF Figure 3 8 7 Timer Operation Control Register TRUN ...
Страница 85: ...TOSHIBA CORPORATION 85 TMP96C141AF Figure 3 9 1 Block Diagram of 16 Bit Timer Timer 4 ...
Страница 86: ...86 TOSHIBA CORPORATION TMP96C141AF Figure 3 9 2 Block Diagram of 16 Bit Timer Timer 5 ...
Страница 87: ...TOSHIBA CORPORATION 87 TMP96C141AF Figure 3 9 3 16 Bit Timer Mode Controller Register T4MOD 1 2 ...
Страница 88: ...88 TOSHIBA CORPORATION TMP96C141AF Figure 3 9 4 16 Bit Controller Register T4MOD 2 2 ...
Страница 89: ...TOSHIBA CORPORATION 89 TMP96C141AF Figure 3 9 5 16 Bit Timer 4 F F Control T4FFCR ...
Страница 90: ...90 TOSHIBA CORPORATION TMP96C141AF Figure 3 9 6 16 Bit Timer Mode Control Register T5MOD 1 2 ...
Страница 91: ...TOSHIBA CORPORATION 91 TMP96C141AF Figure 3 9 7 16 Bit Timer Control Register T5MOD 2 2 ...
Страница 104: ...104 TOSHIBA CORPORATION TMP96C141AF Figure 3 10 2a Pattern Generation Control Register PG01CR ...
Страница 105: ...TOSHIBA CORPORATION 105 TMP96C141AF Figure 3 10 2b Pattern Generation Control Register PG01CR ...
Страница 107: ...TOSHIBA CORPORATION 107 TMP96C141AF Figure 3 10 5 16 bit Timer Trigger Control Register T45CR ...
Страница 121: ...TOSHIBA CORPORATION 121 TMP96C141AF Figure 3 11 6 Serial Mode Control Register Channel 1 SC1MOD ...
Страница 140: ...140 TOSHIBA CORPORATION TMP96C141AF Figure 3 12 2 A D Control Register ...
Страница 148: ...148 TOSHIBA CORPORATION TMP96C141AF Figure 3 13 4 Watchdog Timer Mode Register ...
Страница 149: ...TOSHIBA CORPORATION 149 TMP96C141AF Figure 3 13 5 Watchdog Timer Control Register ...
Страница 153: ...TOSHIBA CORPORATION 153 TMP96C141AF 1 Read Cycle ...
Страница 154: ...154 TOSHIBA CORPORATION TMP96C141AF 2 Write Cycle ...
Страница 157: ...TOSHIBA CORPORATION 157 TMP96C141AF 4 8 Timing Chart for I O Interface Mode ...
Страница 159: ...TOSHIBA CORPORATION 159 TMP96C141AF 4 10 Interrupt Operation Vcc 5V Ta 25 C unless otherwise noted ...
Страница 171: ...TOSHIBA CORPORATION 171 TMP96C141AF 8 Interrupt Control 1 2 ...
Страница 175: ...TOSHIBA CORPORATION 175 TMP96C141AF P42 CS2 CAS2 P5 AN0 3 P87 INT0 P90 TXD0 P93 TXD1 ...
Страница 176: ...176 TOSHIBA CORPORATION TMP96C141AF NMI WDTOUT CLK EA AM8 16 ALE RESET ...
Страница 177: ...TOSHIBA CORPORATION 177 TMP96C141AF X1 X2 VREF AGND ...