Toshiba H1 SERIES TLCS-900 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Matériel Toshiba H1 SERIES TLCS-900. Toshiba H1 SERIES TLCS-900 User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 260
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - TLCS-900/H1 Series

TOSHIBA Original CMOS 32-Bit Microcontroller TLCS-900/H1 Series TMP92CM22FG Semiconductor Company

Page 2 - Preface

TMP92CM22 2007-02-16 92CM22-8 3.1.2 Reset Operation When resetting the TMP92CM22 microcontroller, ensure that the power supply voltage is within the o

Page 3 - TMP92CM22FG

TMP92CM22 2007-02-16 92CM22-98 (2) The cautions at the time of the functional change of a CSn . A chip select signal output has the case of a combina

Page 4 - 92CM22-2

TMP92CM22 2007-02-16 92CM22-99 3.7 8-Bit Timers (TMRA) The TMP92CM22 features 4 built-in 8-bit timers. These timers are paired into four modules: TMRA

Page 5 - 92CM22-3

TMP92CM22 2007-02-16 92CM22-100 3.7.1 Block Diagrams Figure 3.7.1 TMRA01 Block Diagram φT1

Page 6 - 2.1 Pin Assignment

TMP92CM22 2007-02-16 92CM22-101 Figure 3.7.2 TMRA23 Block Diagram φT1φT16φT2568-bit compar

Page 7 - 2.2 Pin Names and Functions

TMP92CM22 2007-02-16 92CM22-102 3.7.2 Operation of Each Circuit (1) Prescaler A 9-bit prescaler generates the input clock to TMRA01. The prescaler’s

Page 8 - 92CM22-6

TMP92CM22 2007-02-16 92CM22-103 (3) Timer registers (TA0REG and TA1REG) These are 8-bit registers, which can be used to set a time interval. When the

Page 9 - 3.1 CPU

TMP92CM22 2007-02-16 92CM22-104 (4) Comparator (CP0) The comparator compares the value in an up counter with the value set in a timer register. If the

Page 10 - 3.1.2 Reset Operation

TMP92CM22 2007-02-16 92CM22-105 3.7.3 SFRs 7 6 5 4 3 2 1 0 Bit symbol TA0RDE I2TA01 TA01PRUN TA1RUN TA0RUNRead/Write R/W R/W Aft

Page 11 - 92CM22-9

TMP92CM22 2007-02-16 92CM22-106 7 6 5 4 3 2 1 0 Bit symbol TA01M1 TA01M0 PWM01 PWM00 TA1CLK1 TA1CLK0 TA0CLK1 TA0CLK0Read/Write R/W After reset

Page 12 - 3.2 Memory Map

TMP92CM22 2007-02-16 92CM22-107 7 6 5 4 3 2 1 0 Bit symbol TA23M1 TA23M0 PWM21 PWM20 TA3CLK1 TA3CLK0 TA2CLK1 TA2CLK0Read/Write R/W After reset

Page 13 - 92CM22-11

TMP92CM22 2007-02-16 92CM22-9 Figure 3.1.1 Reset Timing Example 3.1.3 Outline of Operation Mode Set AM1 and AM0 pins to “10” to use 8-bit ex

Page 14 - 92CM22-12

TMP92CM22 2007-02-16 92CM22-108 7 6 5 4 3 2 1 0 Bit symbol TA1FFC1 TA1FFC0 TA1FFCIE TA1FFCISRead/Write R/W After reset 1 1 0 0 Functio

Page 15 - 92CM22-13

TMP92CM22 2007-02-16 92CM22-109 TMRA3 Flip-Flop Control Register 7 6 5 4 3 2 1 0 Bit symbol TA3FFC1 TA3FFC0 TA3FFCIE TA3FFCISRead/Write R

Page 16 - 3.3.2 SFRs

TMP92CM22 2007-02-16 92CM22-110 Symbol Address 7 6 5 4 3 2 1 0 − W TA0REG 1102H Undefined − W TA1REG 1103H Undefined − W TA2REG 110AH Undefin

Page 17 - 92CM22-15

TMP92CM22 2007-02-16 92CM22-111 3.7.4 Operation in Each Mode (1) 8-bit timer mode Both TMRA0 and TMRA1 can be used independently as 8-bit interval t

Page 18 - 92CM22-16

TMP92CM22 2007-02-16 92CM22-112 2. Generating a 50% duty ratio square wave pulse The state of the timer flip-flop (TA1FF1) is inverted at constant in

Page 19 - 3.3.4 Clock Doubler (PLL)

TMP92CM22 2007-02-16 92CM22-113 3. Making TMRA1 count up on the match signal from the TMRA0 comparator Select 8-bit timer mode and set the comparator

Page 20 - 92CM22-18

TMP92CM22 2007-02-16 92CM22-114 The comparator match signal is output from TMRA0 each time the up counter UC0 matches TA0REG, though the up-counter UC

Page 21 - 92CM22-19

TMP92CM22 2007-02-16 92CM22-115 In this mode, a programmable square wave is generated by inverting the timer output each time the 8-bit up counter (UC

Page 22 - 92CM22-20

TMP92CM22 2007-02-16 92CM22-116 Example: To generate 1/4 duty 62.5 kHz pulses (at fC= 40 MHz): Calculate the value that should be set in the ti

Page 23 - (Double key)

TMP92CM22 2007-02-16 92CM22-117 (4) 8-bit PWM (Pulse width modulation) output mode This mode is only valid for TMRA0. In this mode, a PWM pulse with

Page 24 - 3.3.6 Standby Controller

TMP92CM22 2007-02-16 92CM22-10 3.2 Memory Map Figure 3.2.1 shows memory map of TMP92CM22. Figure 3.2.1 Memory Map Note 1: Wh

Page 25 - 92CM22-23

TMP92CM22 2007-02-16 92CM22-118 In this mode, the value of the register buffer will be shifted into TA0REG if 2n overflow is detected when the TA0REG

Page 26 - 92CM22-24

TMP92CM22 2007-02-16 92CM22-119 Table 3.7.4 Relationship of PWM Cycle and 2n Counter PWM cycle TAxxMOD<PWMx1:0> 26 (x64) 27(x128) 28(x256)

Page 27 - 92CM22-25

TMP92CM22 2007-02-16 92CM22-120 3.8 16-Bit Timer/Event Counters (TMRB) The TMP92CM22 contains 2 channels 16-bit timer/event counter (TMRB) which hav

Page 28 - = 10 MHz

TMP92CM22 2007-02-16 92CM22-121 3.8.1 Block Diagram Figure 3.8.1 Block Diagram of TMRB0 Captu

Page 29 - 92CM22-27

TMP92CM22 2007-02-16 92CM22-122 Figure 3.8.2 Block Diagram of TMRB1 Timer flip-flop control

Page 30 - 92CM22-28

TMP92CM22 2007-02-16 92CM22-123 3.8.2 Operation (1) Prescaler The 5-bit prescaler generates the source clock for TMRB0. The prescaler clock (φT0) is a

Page 31 - 3.4 Interrupt

TMP92CM22 2007-02-16 92CM22-124 (3) Timer registers (TB0RG0H/L and TB0RG1H/L) These two 16-bit registers are used to set the interval time. When the

Page 32 - 92CM22-30

TMP92CM22 2007-02-16 92CM22-125 (4) Capture registers (TB0CP0H/L, TB0CP1H/L, TB1CP0H/L and TB1CP1H/L) These 16-bit registers are used to latch the va

Page 33 - 92CM22-31

TMP92CM22 2007-02-16 92CM22-126 (6) Comparators (CP10 and CP11) CP10 and CP11 are 16-bit comparators which compare the value in the up counter UC10 w

Page 34 - 92CM22-32

TMP92CM22 2007-02-16 92CM22-127 3.8.3 SFRs TMRB0 Run Register 7 6 5 4 3 2 1 0 Bit symbol TB0RDE − I2TB0 TB0PRUN TB0RUNTB0RUN (1180H) Read/Wr

Page 35 - 92CM22-33

TMP92CM22 2007-02-16 92CM22-11 3.3 Clock Function and Standby Function TMP92CM22 contains (1) Clock gear, (2) Standby controller and (3) Noise-reduci

Page 36 - 3.4.2 Micro DMA

TMP92CM22 2007-02-16 92CM22-128 TMRB0 Mode Register 7 6 5 4 3 2 1 0 Bit symbol − − TB0CP0I TB0CPM1 TB0CPM0 TB0CLE TB0CLK1 TB0CLK0TB0MOD (1182H)

Page 37 - 92CM22-35

TMP92CM22 2007-02-16 92CM22-129 TMRB1 Mode Register 7 6 5 4 3 2 1 0 Bit symbol TB1CT1 TB1ET1 TB1CP0I TB1CPM1 TB1CPM0 TB1CLE TB1CLK1 TB1CLK0TB1M

Page 38 - 92CM22-36

TMP92CM22 2007-02-16 92CM22-130 TMRB0 Flip-flop Control Register 7 6 5 4 3 2 1 0 Bit symbol − − TB0C1T1 TB0C0T1 TB0E1T1 TB0E0T1 TB0FFC1 TB0FFC0

Page 39 - 92CM22-37

TMP92CM22 2007-02-16 92CM22-131 TMRB1 Flip-flop Control Register 7 6 5 4 3 2 1 0 Bit symbol TB1FF1C1 TB1FF1C0 TB1C1T1 TB1C0T1 TB1E1T1 TB1E0T1

Page 40 - 92CM22-38

TMP92CM22 2007-02-16 92CM22-132 TMRB0 register 7 6 5 4 3 2 1 0 bit Symbol − Read/Write W TB0RG0L (1188H) After reset Undefined bit Symbol − Rea

Page 41 - 92CM22-39

TMP92CM22 2007-02-16 92CM22-133 3.8.4 Operation in Each Mode (1) 16-bit interval timer mode Generating interrupts at fixed intervals in this example

Page 42 - 92CM22-40

TMP92CM22 2007-02-16 92CM22-134 (3) 16-bit programmable pulse generation (PPG) output mode Square wave pulses can be generated at any frequency and d

Page 43 - 92CM22-41

TMP92CM22 2007-02-16 92CM22-135 The following block diagram illustrates this mode. Figure 3.8.11 Block Diagram of 16-Bit PPG Mo

Page 44 - 92CM22-42

TMP92CM22 2007-02-16 92CM22-136 (4) Capture function examples Used capture function, they can be applicable in many ways, for example: 1. One-shot pu

Page 45 - 92CM22-43

TMP92CM22 2007-02-16 92CM22-137 Example: To output a 2 [ms] one-shot pulse with a 3 [ms] delay to the external trigger pulse via the TB1IN0 pin.

Page 46 - 92CM22-44

TMP92CM22 2007-02-16 92CM22-12 The clock operating modes are as follows: (a) Single clock mode (X1 and X2 pins only), (b) Dual clock mode (X1, X2 pins

Page 47 - 92CM22-45

TMP92CM22 2007-02-16 92CM22-138 Figure 3.8.13 One-shot Pulse Output (without delay) 2. Frequency measurement The frequency of the ext

Page 48 - 92CM22-46

TMP92CM22 2007-02-16 92CM22-139 3. Pulse width measurement This mode allows measuring the high level width of an external pulse. While keeping the 16-

Page 49 - 1: DMA request on burst mode

TMP92CM22 2007-02-16 92CM22-140 4. Measurement of difference time This mode is used to measure the difference in time between the rising edges of ext

Page 50 - 92CM22-48

TMP92CM22 2007-02-16

Page 51 - 3.5 Port Function

TMP92CM22 2007-02-16

Page 52 - 92CM22-50

TMP92CM22 2007-02-16

Page 53 - 92CM22-51

TMP92CM22 2007-02-16

Page 55 - 92CM22-53

TMP92CM22 2007-02-16

Page 57 - 92CM22-55

TMP92CM22 2007-02-16 92CM22-13 3.3.1 Block Diagram of System Clock Figure 3.3.2 Block Diagram of Dual Clock and System Clock

Page 59 - 92CM22-57

TMP92CM22 2007-02-16

Page 61 - 92CM22-59

TMP92CM22 2007-02-16

Page 62 - RD , WRLL

TMP92CM22 2007-02-16

Page 63 - 92CM22-61

TMP92CM22 2007-02-16

Page 65 - <P92ODE>

TMP92CM22 2007-02-16

Page 66 - 1:SCK output

TMP92CM22 2007-02-16

Page 67 - Data from

TMP92CM22 2007-02-16

Page 68 - 92CM22-66

TMP92CM22 2007-02-16 92CM22-14 3.3.2 SFRs 7 6 5 4 3 2 1 0 Bit symbol − − Read/Write R/W R/W After reset 1 0 Function Always

Page 70 - 92CM22-68

TMP92CM22 2007-02-16

Page 71 - 92CM22-69

TMP92CM22 2007-02-16

Page 73 - 92CM22-71

TMP92CM22 2007-02-16

Page 74 - 92CM22-72

TMP92CM22 2007-02-16

Page 76 - 92CM22-74

TMP92CM22 2007-02-16

Page 77 - CTS input

TMP92CM22 2007-02-16

Page 78 - <PF0F>

TMP92CM22 2007-02-16

Page 79 - 3.5.12 Port G (PG0 to PG7)

TMP92CM22 2007-02-16 92CM22-15 7 6 5 4 3 2 1 0 Bit symbol PLLON FCSEL LWUPFG Read/Write R/W R After reset 0 0 0 Function 0: PL

Page 82 - 92CM22-80

TMP92CM22 2007-02-16

Page 84 - 92CM22-82

TMP92CM22 2007-02-16 92CM22-172 3.10 Serial Bus Interface (SBI) The TMP92CM22 has a 1-channel serial bus interface. Serial bus interface (SBI0) inclu

Page 85 - 92CM22-83

TMP92CM22 2007-02-16 92CM22-173 3.10.2 Control The following registers are used to control the serial bus interface and monitor the operation status.

Page 86 - 92CM22-84

TMP92CM22 2007-02-16 92CM22-174 3.10.4 I2C Bus Mode Control Register The following registers are used to control and monitor the operation status when

Page 87 - 92CM22-85

TMP92CM22 2007-02-16 92CM22-175 Serial Bus Interface Control Register 2 7 6 5 4 3 2 1 0 Bit symbol MST TRX BB PIN SBIM1 SBIM0 SWRST1 SWRST0SBI0

Page 88 - 92CM22-86

TMP92CM22 2007-02-16 92CM22-176 Serial Bus Interface Status Register 7 6 5 4 3 2 1 0 Bit symbol MST TRX BB PIN AL AAS AD0 LRB SBI0SR (1243H) Re

Page 89 - 92CM22-87

TMP92CM22 2007-02-16 92CM22-177 Serial Bus Interface Baud Rate Register 0 7 6 5 4 3 2 1 0 Bit symbol − I2SBI0 SBI0BR0 (1244H) Read/Write W

Page 90 - WAIT input cycle (5 waits)

TMP92CM22 2007-02-16 92CM22-16 3.3.3 System Clock Controller The system clock controller generates the system clock signal (fSYS) for the CPU core and

Page 91 - 92CM22-89

TMP92CM22 2007-02-16 92CM22-178 3.10.5 Control in I2C Bus Mode (1) Acknowledge mode specification Set the SBI0CR1<ACK> to 1 for operation in t

Page 92 - 92CM22-90

TMP92CM22 2007-02-16 92CM22-179 2. Clock synchronization In the I2C bus mode, in order to wired-AND a bus, a master device which pulls down a clock li

Page 93 - 3.6.5 List of Registers

TMP92CM22 2007-02-16 92CM22-180 (6) Transmitter/receiver selection Set the SBI0CR2<TRX> to “1” for operating the TMP92CM22 as a transmitter. Cle

Page 94 - 92CM22-92

TMP92CM22 2007-02-16 92CM22-181 (8) Interrupt service requests and interrupt cancellation When a serial bus interface interrupt request 0 (INTSBE0) o

Page 95 - WAIT pin input mode

TMP92CM22 2007-02-16 92CM22-182 The TMP92CM22 compares the levels on the bus’s SDA line with those of the internal SDA output on the rising edge of th

Page 96 - 92CM22-94

TMP92CM22 2007-02-16 92CM22-183 (14) Software reset function The software reset function is used to initialize the SBI circuit, when SBI is rocked by

Page 97 - 92CM22-95

TMP92CM22 2007-02-16 92CM22-184 3.10.6 Data Transfer in I2C Bus Mode (1) Device initialization In first, set the SBI0BR1<P4EN>, SBI0CR1<ACK,

Page 98 - 92CM22-96

TMP92CM22 2007-02-16 92CM22-185 Figure 3.10.13 Start Condition and Slave Address Generation (3) 1-word data transfer Check the <MST&

Page 99 - 3.6.6 Caution

TMP92CM22 2007-02-16 92CM22-186 When the <TRX> is “0” (Receiver mode) When the next transmitted data is other than 8 bits, set <BC2:0> <

Page 100 - 92CM22-98

TMP92CM22 2007-02-16 92CM22-187 2. If <MST> = 0 (Slave mode) In the slave mode the TMP92CM22 operates either in normal slave mode or in slave mo

Page 101 - 3.7 8-Bit Timers (TMRA)

TMP92CM22 2007-02-16 92CM22-17 3.3.4 Clock Doubler (PLL) PLL outputs the fPLL clock signal, which is four times as fast as fOSCH. A reset initializes

Page 102 - 3.7.1 Block Diagrams

TMP92CM22 2007-02-16 92CM22-188 (4) Stop condition generation When SBI0SR<BB> = 1, the sequence for generating a stop condition is started by w

Page 103 - 92CM22-101

TMP92CM22 2007-02-16 92CM22-189 (5) Restart Restart is used during data transfer between a master device and a slave device to change the data transfe

Page 104 - 92CM22-102

TMP92CM22 2007-02-16 92CM22-190 3.10.7 Clocked-synchronous 8-bit SIO Mode Control The following registers are used to control and monitor the operati

Page 105 - 92CM22-103

TMP92CM22 2007-02-16 92CM22-191 Serial Bus Interface 0 Control Register 2 7 6 5 4 3 2 1 0 Bit symbol SBIM1 SBIM0 − − SBI0CR2 (1243H) Read/

Page 106 - 92CM22-104

TMP92CM22 2007-02-16 92CM22-192 (1) Serial Clock 1. Clock source SBI0CR1<SCK2:0> is used to select the following functions: Internal clock In in

Page 107 - 3.7.3 SFRs

TMP92CM22 2007-02-16 92CM22-193 2. Shift edge Data is transmitted on the leading edge of the clock and received on the trailing edge. Leading edge shi

Page 108 - (16-bit timer mode)

TMP92CM22 2007-02-16 92CM22-194 (2) Transfer modes The SBI0CR1<SIOM1:0> is used to select a transmit, receive or transmit/receive mode. 1. 8-bi

Page 109 - 92CM22-107

TMP92CM22 2007-02-16 92CM22-195 Figure 3.10.25 Transmission Mode Example: Program to stop data transmission (w

Page 110 - 92CM22-108

TMP92CM22 2007-02-16 92CM22-196 Figure 3.10.26 Transmission Data Hold Time at End Transmit 2. 8-bit receive mode Set the control register

Page 111 - 92CM22-109

TMP92CM22 2007-02-16 92CM22-197 Figure 3.10.27 Receiver Mode (Example: Internal clock) 3. 8-bit transmit/receive mode Set a control

Page 112 - 92CM22-110

Preface Thank you very much for making use of Toshiba microcomputer LSIs. Before use this LSI, refer the section, “Points of Note and Restric

Page 113 - Operation in Each Mode

TMP92CM22 2007-02-16 92CM22-18 Example 2: PLL stopping PLLCR EQU 10E8H LD (PLLCR), 10XXXXXXB ; Changes fc from 40 MHz to10 MHz. LD (PLLCR),

Page 114 - 92CM22-112

TMP92CM22 2007-02-16 92CM22-198 Figure 3.10.28 Transmission/Receiving Mode (when an external clock is used) Figure 3.

Page 115 - 92CM22-113

TMP92CM22 2007-02-16 92CM22-199 3.11 Analog/Digital Converter The TMP92CM22 incorporates a 10-bit successive approximation-type analog/digital convert

Page 116 - 92CM22-114

TMP92CM22 2007-02-16 92CM22-200 3.11.1 Analog/Digital Converter Registers The AD converter is controlled by the three AD mode control registers: ADMO

Page 117 - 92CM22-115

TMP92CM22 2007-02-16 92CM22-201 AD Mode Control Register 1 7 6 5 4 3 2 1 0 Bit symbol VREFON I2AD − − − ADCH2 ADCH1 ADCH0 ADMOD1 (12B9H) Read/

Page 118 - 92CM22-116

TMP92CM22 2007-02-16 92CM22-202 AD Conversion Result Register 0 Low 7 6 5 4 3 2 1 0 Bit symbol ADR01 ADR00 ADR0RFADREG0L (12A0H) Read/Writ

Page 119 - 92CM22-117

TMP92CM22 2007-02-16 92CM22-203 AD Conversion Result Register 2 Low 7 6 5 4 3 2 1 0 Bit symbol ADR21 ADR20 ADR2RFADREG2L (12A4H) Read/Writ

Page 120 - 92CM22-118

TMP92CM22 2007-02-16 92CM22-204 AD Conversion Result Register 4 Low 7 6 5 4 3 2 1 0 Bit symbol ADR41 ADR40 ADR4RFADREG4L (12A8H) Read/Writ

Page 121 - 92CM22-119

TMP92CM22 2007-02-16 92CM22-205 AD Conversion Result Register 6 Low 7 6 5 4 3 2 1 0 Bit symbol ADR61 ADR60 ADR6RFADREG6L (12ACH) Read/Writ

Page 122 - 92CM22-120

TMP92CM22 2007-02-16 92CM22-206 3.11.2 Description of Operation (1) Analog reference voltage A high-level analog reference voltage is applied to the

Page 123 - 3.8.1 Block Diagram

TMP92CM22 2007-02-16 92CM22-207 (3) Starting AD conversion To start AD conversion, program “1” to ADMOD0<ADS> in AD mode control register 0, or

Page 124 - 92CM22-122

TMP92CM22 2007-02-16 92CM22-19 3.3.5 Noise Reduction Circuits Noise reduction circuits are built in for reduction EMI (Unnecessary radius noise) and

Page 125 - 3.8.2 Operation

TMP92CM22 2007-02-16 92CM22-208 3. Channel fixed repeat conversion mode Setting ADMOD0<REPEAT> and ADMOD0<SCAN> to “10” selects conversio

Page 126 - 92CM22-124

TMP92CM22 2007-02-16 92CM22-209 (5) AD conversion time 84 states (8.4 μs at fSYS = 20 MHz) are required for the AD conversion of one channel. (6) St

Page 127 - 92CM22-125

TMP92CM22 2007-02-16 92CM22-210 Example: 1. Convert the analog input voltage on the AN3 pin and write the result, to memory address 0800H using the A

Page 128 - 92CM22-126

TMP92CM22 2007-02-16 92CM22-211 3.12 Watchdog Timer (Runaway detection timer) The TMP92CM22 contains a watchdog timer of runaway detecting. The watch

Page 129 - 3.8.3 SFRs

TMP92CM22 2007-02-16 92CM22-212 3.12.2 Operation The watchdog timer generates an INTWD interrupt when the detection time set in the WDMOD<WDTP1:0&g

Page 130 - 92CM22-128

TMP92CM22 2007-02-16 92CM22-213 3.12.3 Control Registers The watchdog timer (WDT) is controlled by two control registers WDMOD and WDCR. (1) Watchdog

Page 131 - 92CM22-129

TMP92CM22 2007-02-16 92CM22-214 7 6 5 4 3 2 1 0 Bit symbol WDTE WDTP1 WDTP0 − I2WDT RESCR − WDMOD (1300H) Read/Write R/W R/W After res

Page 132 - 92CM22-130

TMP92CM22 2007-02-16 92CM22-215 4. Electrical Characteristics 4.1 Absolute Maximum Ratings Parameter Symbol Rating Unit Power supply voltage Vcc

Page 133 - 92CM22-131

TMP92CM22 2007-02-16 92CM22-216 DC Characteristics (1/2) Vcc = 3.3 ± 0.3 V/fc = 4 to 40 MHz/Ta = −40 to 85°C Parameter Symbol Condition Min Typ. M

Page 134 - 92CM22-132

TMP92CM22 2007-02-16 92CM22-217 DC Characteristics (2/2) Vcc = 3.3 ± 0.3 V/fc = 4 to 40 MHz/Ta = −40 to 85°C Parameter Symbol Condition Min Typ. Ma

Page 135 - 92CM22-133

TMP92CM22 2007-02-16 92CM22-20 (2) Single drive for high-frequency oscillator (Purpose) Not need twin-drive and protect mistake operation by inputted

Page 136 - 92CM22-134

TMP92CM22 2007-02-16 92CM22-218 4.2 AC Characteristics 4.2.1 Basis Bus Cycle Read cycle Vcc = 3.3 ± 0.3 V/fc = 4 to 40 MHz/Ta = −40 to 85°C No. Param

Page 137 - 92CM22-135

TMP92CM22 2007-02-16 92CM22-219 (1) Read cycle (0 waits, fc = fOSCH, fFPH = fc/1) Note: The phase relation between X1 input sig

Page 138 - 92CM22-136

TMP92CM22 2007-02-16 92CM22-220 (2) Write cycle (0 waits, fc = fOSCH, fFPH = fc/1) Note: The phase relation between X1 input sig

Page 139 - 92CM22-137

TMP92CM22 2007-02-16 92CM22-221 (3) Read cycle (1 wait) (4) Write cycle (1 wait) A0 to A23 WAITData input tRD3tRR3tAD3CL

Page 140 - 92CM22-138

TMP92CM22 2007-02-16 92CM22-222 4.2.2 Page ROM Read Cycle (1) 3-2-2-2 mode Vcc = 3.3 ± 0.3 V/fc = 4 to 40 MHz/Ta = −40 to 85°C No. Parameter Symbol M

Page 141 - 92CM22-139

TMP92CM22 2007-02-16 92CM22-223 4.3 AD Conversion Characteristics Parameter Symbol Min Typ. Max Unit Analog reference voltage (+) VREFH VCC − 0.2 VCC

Page 142 - 92CM22-140

TMP92CM22 2007-02-16 92CM22-224 4.5 Serial Channel Timing (I/O interface mode) Note: Symbol “X” in the following table means the period of clock “fS

Page 143 - 3.9 Serial Channels (SIO)

TMP92CM22 2007-02-16 92CM22-225 4.6 Interrupt, Capture Note: Symbol “X” in the following table means the period of clock “fSYS”, it’s s

Page 144 - 92CM22-142

TMP92CM22 2007-02-16 92CM22-226 4.7 Recommended Oscillation Circuit TMP92CM22 is evaluated by below oscillator vender. When selecting external parts,

Page 145 - SCLK0 input

TMP92CM22 2007-02-16 92CM22-227 (2) TMP92CM22 recommended ceramic oscillator: Murata Manufacturing Co., Ltd. Following table shows circuit parameter r

Page 146 - SCLK1 input

TMP92CM22 2007-02-16 92CM22-21 (3) Runaway provision with SFR protection register (Purpose) Provision in runaway of program by noise mixing. Write op

Page 147 - 92CM22-145

TMP92CM22 2007-02-16 92CM22-228 5. Table of Special Function Registers (SFRs) The SFRs include the I/O ports and peripheral control registers allocat

Page 148 - 92CM22-146

TMP92CM22 2007-02-16 92CM22-229 Table 5.1 I/O Register Address Map [1] I/O port Address Name Address Name Address Name Address Name 0000H 1H 2H 3H 4H

Page 149 - 92CM22-147

TMP92CM22 2007-02-16 92CM22-230 [2] Interrupt controller [3] DMA controller Address Name Address Name Address Name Address Name 00D0H 1H 2H 3H 4H 5

Page 150 - 92CM22-148

TMP92CM22 2007-02-16 92CM22-231 [6] 8-bit timer [7] 16-bit timer [8] UART/SIO Address Name Address Name Address Name Address Name 1100H 1H 2H 3H

Page 151 - 92CM22-149

TMP92CM22 2007-02-16 92CM22-232 (1) I/O port (1/3) Symbol Name Address 7 6 5 4 3 2 1 0 P17 P16 P15 P14 P13 P12 P11 P10 R/W P1 Port 1 0004H Data from

Page 152 - 92CM22-150

TMP92CM22 2007-02-16 92CM22-233 I/O port (2/3) Symbol Name Address 7 6 5 4 3 2 1 0 P17C P16C P15C P14C P13C P12C P11C P10C W 0 0 0 0 0 0 0 0 P1CR Port

Page 153 - 92CM22-151

TMP92CM22 2007-02-16 92CM22-234 I/O port (3/3) Symbol Name Address 7 6 5 4 3 2 1 0 P92C P91C P90C W 0 0 0 P9CR Port 9 control register

Page 154 - 92CM22-152

TMP92CM22 2007-02-16 92CM22-235 (2) Interrupt control (1/2) Symbol Name Address 7 6 5 4 3 2 1 0 INT2 INT1 I2C I2M2 I2M1 I2M0 I1C I1M2 I1M1 I1M0 R R/W

Page 155 - 92CM22-153

TMP92CM22 2007-02-16 92CM22-236 Interrupt control (2/2) Symbol Name Address 7 6 5 4 3 2 1 0 − INTP0 − − − − IP0C IP0M2 IP0M1 IP0M0 − − − − R R/

Page 156 - 3.9.3 SFRs

TMP92CM22 2007-02-16 92CM22-237 (3) DMA controller Symbol Name Address 7 6 5 4 3 2 1 0 DMA0V5 DMA0V4 DMA0V3 DMA0V2 DMA0V1 DMA0V0 R/W 0 0 0 0

Page 157 - 92CM22-155

TMP92CM22 2007-02-16 92CM22-22 3.3.6 Standby Controller (1) HALT modes When the HALT instruction is executed, the operating mode switches to IDLE2, ID

Page 158 - 92CM22-156

TMP92CM22 2007-02-16 92CM22-238 (4) Memory controller (1/2) Symbol Name Address 7 6 5 4 3 2 1 0 B0WW2 B0WW1 B0WW0 B0WR2 B0WR1 B0WR0 W W 0 1 0 0

Page 159 - 92CM22-157

TMP92CM22 2007-02-16 92CM22-239 Memory controller (2/2) Symbol Name Address 7 6 5 4 3 2 1 0 BEXWW2 BEXWW1 BEXWW0 BEXWR2 BEXWR1 BEXWR0 W W 0 1 0

Page 160 - 92CM22-158

TMP92CM22 2007-02-16 92CM22-240 (5) Clock gear Symbol Name Address 7 6 5 4 3 2 1 0 − − R/W R/W 1 0 SYSCR0 System clock control 0 10

Page 161 - 92CM22-159

TMP92CM22 2007-02-16 92CM22-241 (6) 8-bit timer Symbol Name Address 7 6 5 4 3 2 1 0 TA0RDE I2TA01 TA01PRUN TA1RUN TA0RUNR/W R/W 0 0 0 0 0

Page 162 - 92CM22-160

TMP92CM22 2007-02-16 92CM22-242 (7) 16-bit timer (1/2) Symbol Name Address 7 6 5 4 3 2 1 0 TB0RDE − I2TB0 TB0PRUN TB0RUNR/W R/W R/W 0 0 0

Page 163 - 92CM22-161

TMP92CM22 2007-02-16 92CM22-243 16-bit timer (2/2) Symbol Name Address 7 6 5 4 3 2 1 0 TB1RDE − I2TB0 TB1PRUN TB1RUNR/W R/W R/W 0 0 0 0 0

Page 164 - 92CM22-162

TMP92CM22 2007-02-16 92CM22-244 (8) UART/Serial channel (1/2) Symbol Name Address 7 6 5 4 3 2 1 0 RB7 TB7 RB6 TB6 RB5 TB5 RB4 TB4 RB3 TB3 RB2 TB2 RB

Page 165 - 92CM22-163

TMP92CM22 2007-02-16 92CM22-245 UART/Serial channel (2/2) Symbol Name Address 7 6 5 4 3 2 1 0 RB7 TB7 RB6 TB6 RB5 TB5 RB4 TB4 RB3 TB3 RB2 TB2 RB1 TB1

Page 166 - 92CM22-164

TMP92CM22 2007-02-16 92CM22-246 (9) I2C bus/Serial channel (1/2) Symbol Name Address 7 6 5 4 3 2 1 0 BC2 BC1 BC0 ACK SCK2 SCK1 SCK0/ SWRMONW R/W

Page 167 - 92CM22-165

TMP92CM22 2007-02-16 92CM22-247 I2C bus/Serial channel (2/2) Symbol Name Address 7 6 5 4 3 2 1 0 − I2SBI0 W R/W 0 0 1244H (I2C mode

Page 168 - 92CM22-166

TMP92CM22 2007-02-16 92CM22-23 (2) How to release the HALT mode These halt states can be released by resetting or requesting an interrupt. The halt r

Page 169 - 92CM22-167

TMP92CM22 2007-02-16 92CM22-248 (10) AD converter (1/2) Symbol Name Address 7 6 5 4 3 2 1 0 EOCF ADBF − − ITM0 REPEAT SCAN ADS R R/W 0 0 0 0 0 0 0

Page 170 - 92CM22-168

TMP92CM22 2007-02-16 92CM22-249 AD converter (2/2) Symbol Name Address 7 6 5 4 3 2 1 0 ADR41 ADR40 ADR4RFR R ADREG4L AD result register 4

Page 171 - Transmission

TMP92CM22 2007-02-16 92CM22-250 (11) Watchdog timer Symbol Name Address 7 6 5 4 3 2 1 0 WDTE WDTP1 WDTP0 − I2WDT RESCR − R/W R/W 1 0 0 0 0 0

Page 172 - 92CM22-170

TMP92CM22 2007-02-16 92CM22-251 6. Port Section Equivalent Circuit Diagram Reading the circuit diagram Basically, the gate symbols written are th

Page 173 - 92CM22-171

TMP92CM22 2007-02-16 92CM22-252 P70 (RD ), P71 ( WRLL ), P72 ( WRLU ), P73, P74 (CLKOUT), P75 ( WR/ ), P80 ( CS0 ), P81 ( CS1 ), P82 (CS2 ), and P83

Page 174 - 3.10.1 Configuration

TMP92CM22 2007-02-16 92CM22-253 PF0 (TXD0) and PF3 (TXD1) PG0 (AN0), PG1 (AN1), PG2 (AN2), PG3 (AN3/ADTRG ), PG4 (AN4), PG5 (AN5

Page 175 - W : Direction bit

TMP92CM22 2007-02-16 92CM22-254 X1 and X2 VREFH and VREFL AM0 and AM1 NMI Stringresistance VREFON

Page 176 - C Bus Mode Control Register

TMP92CM22 2007-02-16 92CM22-255 7. Points to Note and Restrictions (1) Notation 1. The notation for built-in I/O registers is as follows register sy

Page 177 - 92CM22-175

TMP92CM22 2007-02-16 92CM22-256 (2) Points to note a) AM0 and AM1 pins This pin is connected to the VCC (Power supply level) or VSS (Ground level)

Page 178 - 92CM22-176

TMP92CM22 2007-02-16 92CM22-257 8. Package Dimensions P-LQFP100-144-0.50F Unit: mm

Page 179 - 92CM22-177

TMP92CM22 2007-02-16 92CM22-24 Table 3.3.3 Source of Halt State Release and Halt Release Operation Status of Received Interrupt Interrupt Enable (In

Page 180 - C Bus Mode

TMP92CM22 2007-02-16 92CM22-258

Page 181 - 92CM22-179

TMP92CM22 2007-02-16 92CM22-25 (3) Operation a. IDLE2 mode In IDLE2 mode only specific internal I/O operations, as designated by the IDLE2 setting re

Page 182 - W ) sent from the master

TMP92CM22 2007-02-16 92CM22-26 c. STOP mode When STOP mode is selected, all internal circuits stop, including the internal oscillator pin status in ST

Page 183 - 92CM22-181

TMP92CM22 2007-02-16 92CM22-27 Table 3.3.5 Input Buffer State Table Input Buffer State In HALT mode (IDLE1/STOP) Input Buffer State Input Buffer Stat

Page 184 - 92CM22-182

TMP92CM22 2007-02-16 92CM22-1 CMOS 32-Bit Microcontrollers TMP92CM22FG 1. Outline and Device Characteristics TMP92CM22 is high-speed advanced 32-bit

Page 185 - 92CM22-183

TMP92CM22 2007-02-16 92CM22-28 Table 3.3.6 Output Buffer State Table Note: Condition A/B are as follows. SYSCR2 register setting HALT mode <DRVE&g

Page 186 - 3.10.6 Data Transfer in I

TMP92CM22 2007-02-16 92CM22-29 3.4 Interrupt Interrupts of TLCS-900/H1 are controlled by the CPU interrupt mask flip-flop (IFF2:0) and by the built-i

Page 187 - 92CM22-185

TMP92CM22 2007-02-16 92CM22-30 Figure 3.4.1 Interrupt and Micro DMA Processing Sequence Interrupt processing Inte

Page 188 - 92CM22-186

TMP92CM22 2007-02-16 92CM22-31 3.4.1 General-purpose Interrupt Processing When the CPU accepts an interrupt, it usually performs the following sequen

Page 189 - 92CM22-187

TMP92CM22 2007-02-16 92CM22-32 Table 3.4.1 TMP92CM22 Interrupt Vectors and Micro DMA Start Vectors Default Priority Type Interrupt Source Vector Val

Page 190 - 92CM22-188

TMP92CM22 2007-02-16 92CM22-33 Default Priority Type Interrupt Source Vector Value Address Refer to Vector Micro DMA Start Vector52 INTAD: AD conver

Page 191 - 92CM22-189

TMP92CM22 2007-02-16 92CM22-34 3.4.2 Micro DMA In addition to general-purpose interrupt processing, the TMP92CM22 also includes a micro DMA function.

Page 192 - 11: Receive mode

TMP92CM22 2007-02-16 92CM22-35 Although the control registers used for setting the transfer source and transfer destination addresses are 32 bits wid

Page 193 - 92CM22-191

TMP92CM22 2007-02-16 92CM22-36 (2) Soft start function In addition to starting the micro DMA function by interrupts, TMP92CM22 includes a micro DMA

Page 194 - 92CM22-192

TMP92CM22 2007-02-16 92CM22-37 (4) Detailed description of the transfer mode register 0 0 0 Mode DMAM0 to DMAM7 DMAM [4:0] Operation Exe

Page 195 - 92CM22-193

TMP92CM22 2007-02-16 92CM22-2 (4) External memory expansion • Expandable up to 16 Mbytes (Shared program/data area) • Can simultaneously support 8

Page 196 - 92CM22-194

TMP92CM22 2007-02-16 92CM22-38 3.4.3 Interrupt Controller Operation The block diagram in Figure 3.4.3 shows the interrupt circuits. The left-hand sid

Page 197 - 92CM22-195

TMP92CM22 2007-02-16 92CM22-39 Figure 3.4.3 Block Diagram of Interrupt Controller Interrupt request signal to CPU

Page 198 - 92CM22-196

TMP92CM22 2007-02-16 92CM22-40 (1) Interrupt priority setting registers Symbol Name Address 7 6 5 4 3 2 1 0 INT2 INT1 I2C I2M2 I2M1 I2M0 I1C I1M2

Page 199 - 92CM22-197

TMP92CM22 2007-02-16 92CM22-41 Symbol Name Address 7 6 5 4 3 2 1 0 INTAD INT0 IADC IADM2 IADM1 IADM0 I0C I0M2 I0M1 I0M0 R R/W R R/W INTE0AD INT0&a

Page 200 - 92CM22-198

TMP92CM22 2007-02-16 92CM22-42 (2) External interrupt control Symbol Name Address 7 6 5 4 3 2 1 0 I3EDGE I2EDGE I1EDGE I0EDGE I0LE NMIREE W R/W

Page 201 - 92CM22-199

TMP92CM22 2007-02-16 92CM22-43 Table 3.4.2 Function Setting of External Interrupt Pin Interrupt Pin Shared Pin Mode Setting Method Rising edge

Page 202 - 92CM22-200

TMP92CM22 2007-02-16 92CM22-44 (3) SIO receive interrupt control Symbol Name Address 7 6 5 4 3 2 1 0 IR1LE IR0LE W 1 1 SIMC S

Page 203 - 92CM22-201

TMP92CM22 2007-02-16 92CM22-45 (4) Interrupt request flag clear register The interrupt request flag is cleared by writing the appropriate micro DMA s

Page 204 - 92CM22-202

TMP92CM22 2007-02-16 92CM22-46 Symbol Name Address 7 6 5 4 3 2 1 0 DMA0V5 DMA0V4 DMA0V3 DMA0V2 DMA0V1 DMA0V0 R/W 0 0 0 0 0 0 DMA0V DMA0 start v

Page 205 - 92CM22-203

TMP92CM22 2007-02-16 92CM22-47 (6) Specification of a micro DMA burst Specifying the micro DMA burst function causes micro DMA transfer, once started

Page 206 - 92CM22-204

TMP92CM22 2007-02-16 92CM22-3 Figure 1.1 TMP92CM22 Block Diagram XSP XIZ XIY XIX XHL XDE XBC XWA 900/H1 CPU F SR32 bitsIX IY IZ SP LHEDCBAWP C 32-K

Page 207 - 92CM22-205

TMP92CM22 2007-02-16 92CM22-48 (7) Notes The instruction execution unit and the bus interface unit in this CPU operate independently. Therefore if, im

Page 208 - 92CM22-206

TMP92CM22 2007-02-16 92CM22-49 3.5 Port Function The TMP92CM22 features 50-bit settings which relate to the various I/O ports. As well as general-pu

Page 209 - 92CM22-207

TMP92CM22 2007-02-16 92CM22-50 Table 3.5.2 I/O Port Setting List (1/2) I/O Register Setting Value Ports Input Pins Specification Pn PnCR PnFC PnODEI

Page 210 - 92CM22-208

TMP92CM22 2007-02-16 92CM22-51 Table 3.5.3 I/O Port Setting List (2/2) I/O Register Setting Value Ports Input Pins Specification Pn PnCR PnFC PnODEP

Page 211 - 92CM22-209

TMP92CM22 2007-02-16 92CM22-52 3.5.1 Port 1 (P10 to P17) Port1 is an 8-bit general-purpose I/O port. Bits can be individually set as either inputs or

Page 212 - 92CM22-210

TMP92CM22 2007-02-16 92CM22-53 Port 1 Register 7 6 5 4 3 2 1 0 Bit symbol P17 P16 P15 P14 P13 P12 P11 P10 Read/Write R/W After reset Data from ext

Page 213 - 3.12.1 Configuration

TMP92CM22 2007-02-16 92CM22-54 3.5.2 Port 4 (P40 to P47) Port 4 is an 8-bit general-purpose I/O port*. Bits can be individually set as either inputs

Page 214 - BUSAK goes low)

TMP92CM22 2007-02-16 92CM22-55 Port 4 Register 7 6 5 4 3 2 1 0 Bit symbol P47 P46 P45 P44 P43 P42 P41 P40 Read/Write R/W After reset Data from ex

Page 215 - 3.12.3 Control Registers

TMP92CM22 2007-02-16 92CM22-56 3.5.3 Port 5 (P50 to P57) Port 5 is an 8-bit general-purpose I/O port*. Bits can be individually set as either inputs

Page 216 - 92CM22-214

TMP92CM22 2007-02-16 92CM22-57 Port 5 Register 7 6 5 4 3 2 1 0 Bit symbol P57 P56 P55 P54 P53 P52 P51 P50 Read/Write R/W After reset Data from ex

Page 217 - 92CM22-215

TMP92CM22 2007-02-16 92CM22-4 2. Pin Assignment and Functions The assignment of input/output pins for the TMP92CM22FG, their names and functions are

Page 218 - 92CM22-216

TMP92CM22 2007-02-16 92CM22-58 3.5.4 Port 6 (P60 to P67) Port 6 is an 8-bit general-purpose I/O port*. Bits can be individually set as either inputs

Page 219 - 92CM22-217

TMP92CM22 2007-02-16 92CM22-59 Port 6 Register 7 6 5 4 3 2 1 0 Bit symbol P67 P66 P65 P64 P63 P62 P61 P60 Read/Write R/W After reset Data from ex

Page 220 - 4.2.1 Basis Bus Cycle

TMP92CM22 2007-02-16 92CM22-60 3.5.5 Port 7 (P70 to P76) Port 7 is a 7-bit general-purpose I/O port (P70 to P75 are used for output only). Bits can

Page 221 - 92CM22-219

TMP92CM22 2007-02-16 92CM22-61 Figure 3.5.10 Port 7 (P76) Port 7 Register 7 6 5 4 3 2 1 0 Bit symbol P76 P75 P74 P

Page 222 - 92CM22-220

TMP92CM22 2007-02-16 92CM22-62 3.5.6 Port 8 (P80 to P83) Port 8 is 4-bit output port. Resetting sets output latch of P82 to “0” and set output latch

Page 223 - 92CM22-221

TMP92CM22 2007-02-16 92CM22-63 3.5.7 Port 9 (P90 to P92) Port 9 is 3-bit general-purpose I/O port. Each bit can be set individually for input or outp

Page 224 - 4.2.2 Page ROM Read Cycle

TMP92CM22 2007-02-16 92CM22-64 Port 9 Register 7 6 5 4 3 2 1 0 Bit symbol P92 P91 P90 Read/Write R/W After reset Data from ex

Page 225 - 92CM22-223

TMP92CM22 2007-02-16 92CM22-65 3.5.8 Port A (PA0 to PA2, PA7) Port A is 4-bit general-purpose input port with pull-up resistor. Figure 3.5.16 Por

Page 226 - 92CM22-224

TMP92CM22 2007-02-16 92CM22-66 3.5.9 Port C (PC0, PC1, PC3, PC5, and PC6) Port C is 5-bit general-purpose I/O port. Each bit can be set individually

Page 227 - + 100 500 8X + 100

TMP92CM22 2007-02-16 92CM22-67 (2) PC1 (INT1, TA1OUT), PC5 (INT2, TA3OUT), PC6 (INT3, TB0OUT0) In addition to function as I/O port, port PC1, PC5, and

Page 228 - 92CM22-226

TMP92CM22 2007-02-16 92CM22-5 2.2 Pin Names and Functions The following tables show the names and functions of the input/output pins. Table 2.2.1 P

Page 229 - −40 to +85

TMP92CM22 2007-02-16 92CM22-68 (3) PC3 (INT0) In addition to function as I/O port, port PC3 can also function as external interrupt pin INT0. Figure

Page 230 - 92CM22-228

TMP92CM22 2007-02-16 92CM22-69 Port C Register 7 6 5 4 3 2 1 0 Bit symbol PC6 PC5 PC3 PC1 PC0 Read/Write R/W R/W R/W After reset D

Page 231 - 92CM22-229

TMP92CM22 2007-02-16 92CM22-70 3.5.10 Port D (PD0 to PD3) Port D is 4-bit general-purpose I/O port. Each bit can be set individually for input or out

Page 232 - 92CM22-230

TMP92CM22 2007-02-16 92CM22-71 (2) PD2 (TB1OUT0) and PD3 (TB1OUT1) In addition to function as I/O port, port PD0 and PD1 can also function as timer c

Page 233 - 92CM22-231

TMP92CM22 2007-02-16 92CM22-72 Port D Register 7 6 5 4 3 2 1 0 Bit symbol PD3 PD2 PD1 PD0 Read/Write R/W After reset Data from ex

Page 234 - 92CM22-232

TMP92CM22 2007-02-16 92CM22-73 3.5.11 Port F (PF0 to PF7) Port F is 8-bit general-purpose I/O port. Each bit can be set individually for input or out

Page 235 - 92CM22-233

TMP92CM22 2007-02-16 92CM22-74 (2) Ports PF1 and PF4 (RXD0 and XD1) In addition to function as I/O port, port PF1 and PF4 can also function as RXD in

Page 236 - 92CM22-234

TMP92CM22 2007-02-16 92CM22-75 (3) Port PF2 (CTS0, SCLK0) and port PF5 (CTS1, SCLK1) In addition to function as I/O port, port PF2 and PF5 can also f

Page 237 - 92CM22-235

TMP92CM22 2007-02-16 92CM22-76 Port F Register 7 6 5 4 3 2 1 0 Bit symbol PF7 PF6 PF5 PF4 PF PF2 PF1 PF0 Read/Write R/W After reset Data from ex

Page 238 - 92CM22-236

TMP92CM22 2007-02-16 92CM22-77 3.5.12 Port G (PG0 to PG7) Port G is 8-bit input port and can also be used as the analog input pins for the internal

Page 239 - 92CM22-237

TMP92CM22 2007-02-16 92CM22-6 Table 2.2.2 Pin Names and Functions (2/2) Pin Names Number of Pins I/O Functions PC0 TA0IN 1 I/O Input Port C0: I/O po

Page 240 - 92CM22-238

TMP92CM22 2007-02-16 92CM22-78 3.6 Memory Controller 3.6.1 Function TMP92CM22 has a memory controller with a variable 4-block address area that contro

Page 241 - Wait number on page

TMP92CM22 2007-02-16 92CM22-79 3.6.2 Control Register and Operation after Reset Release This section describes the registers to control the memory co

Page 242 - 92CM22-240

TMP92CM22 2007-02-16 92CM22-80 3.6.3 Basic Functions and Register Setting In this section, setting of the block address area, the connecting memory a

Page 243 - 92CM22-241

TMP92CM22 2007-02-16 92CM22-81 (iii) Example of register setting To set the block address area 1 to 512 bytes from address 110000H, set the register a

Page 244 - 92CM22-242

TMP92CM22 2007-02-16 92CM22-82 (2) Connection memory specification Setting the BnOM1 to BnOM0 bit of the control register (BnCSH) specifies the memory

Page 245 - 92CM22-243

TMP92CM22 2007-02-16 92CM22-83 CPU Data Data Size (Bit) Start Address Data Width in Memory Side (Bit)CPU Address D15 to D8 D7 to D0 4n + 0 8/16 4n

Page 246 - Receive

TMP92CM22 2007-02-16 92CM22-84 (4) Wait control The external bus cycle completes a wait of two states at least (100 ns at fSYS = 20 MHz). Setting the

Page 247 - 1: SCLK1↓

TMP92CM22 2007-02-16 92CM22-85 • When not inserting a dummy (0 waits) • When inserting a dummy cycle (0 waits) CLKOUTAddressCSmCSnRDC

Page 248 - AL/SBIM1

TMP92CM22 2007-02-16 92CM22-86 (5) Bus access timing • External read/write bus cycle (0 waits) • External read/write bus cycle (1 wai

Page 249 - 92CM22-247

TMP92CM22 2007-02-16 92CM22-87 • External read/write bus cycle (0 waits at WAIT pin input mode) • External read/write bus cy

Page 250 - 92CM22-248

TMP92CM22 2007-02-16 92CM22-7 3. Operation This section describes the basic components, functions and operation of the TMP92CM22. 3.1 CPU The TMP92CM

Page 251 - 92CM22-249

TMP92CM22 2007-02-16 92CM22-88 Example of WAIT input cycle (5 waits) D Q CK RES D Q CK RESD Q CK RESD Q CK RE

Page 252 - 92CM22-250

TMP92CM22 2007-02-16 92CM22-89 (6) Connecting external memory Figure 3.6.1 shows an example of how to connect external memory to the TMP92CM22. This

Page 253 - CTS0 )

TMP92CM22 2007-02-16 92CM22-90 3.6.4 ROM Control (Page mode) This section describes ROM page mode accessing and how to set registers. ROM page mode i

Page 254 - CS2 ), and P83 ( CS3 )

TMP92CM22 2007-02-16 92CM22-91 3.6.5 List of Registers The memory control registers and the settings are described as follows. For the addresses of t

Page 255 - 92CM22-253

TMP92CM22 2007-02-16 92CM22-92 B2REC Sets the dummy cycle for data output recovery time. 0 = Not insert a dummy cycle (Default) 1 = Insert a dummy cy

Page 256 - 92CM22-254

TMP92CM22 2007-02-16 92CM22-93 BEXCSL 7 6 5 4 3 2 1 0 Bit symbol BEXWW2 BEXWW1 BEXWW0 BEXWR2 BEXWR1 BEXWR0Read/Write W W After reset 0 1

Page 257 - 92CM22-255

TMP92CM22 2007-02-16 92CM22-94 (1) Block address area specification register A start address and range in the block address are specified by the memo

Page 258 - 92CM22-256

TMP92CM22 2007-02-16 92CM22-95 (2) Page ROM control register (PMEMCR) The page ROM control register sets page ROM accessing. ROM page accessing is ex

Page 259 - 8. Package Dimensions

TMP92CM22 2007-02-16 92CM22-96 Table 3.6.1 Control Register 7 6 5 4 3 2 1 0 B0CSL Bit symbol B0WW2 B0WW1 B0WW0 B0WR2 B0WR1 B0WR0 (0140H) Read

Page 260 - 92CM22-258

TMP92CM22 2007-02-16 92CM22-97 3.6.6 Caution If the parasitic capacitance of the read signal (Output enable signal) is greater than that of the chip s

Modèles reliés H1 SERIES TMP92CM22FG

Commentaires sur ces manuels

Pas de commentaire