Toshiba TMP87CP24AF Manual de usuario

Busca en linea o descarga Manual de usuario para Hardware Toshiba TMP87CP24AF. Toshiba TMP87CP24AF User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
TOSHIBA
TMP87CM24A/P24A
CMOS 8-Bit Microcontroller
TMP87CM24AF, TMP87CP24AF
The TMP87CM24A/P24A are the high speed and high performance 8-bit single chip microcomputers. These
MCU contain, large ROM, RAM, input/output ports, LCD driver, a 8-bit AD converter, four multi-function
timer/counters, two serial interfaces, and two clock generators on chip.
Product No.
ROM RAM
Package
OTP MCU
TMP87CM24A
32 Kx8 bits
2Kx8bits P-LQFP100-1414-0.50C
TMP87PP24A
TMP87CP24A
48 K
X
8 bits
Features
♦8-bit single chip microcomputer TLCS-870 Series
instruction execution time: 0.5 jjs (at 8 MHz), 122 jjs (at 32 kHz)
129 types and 412 basic instructions
Multiplication and Division (8 bitsx 8 bits, 16 bits -r 8 bits): Execution time 3.5 /js (at 8 MHz)
Bit manipulations (Set/Clear/Complement/Load/Store/Test/Exclusive OR)
16-bit data operations
1-byte jump/call (Short relative jumpA/ector call)
l4 interruptsources(External: 5, Internal: 9)
All sources have independent latches each,
and nested interrupt control is available
4 edge-selectable external interruptswith noise reject
High-speed task switching by register bank changeover
lO-input/output ports (Max 69 pins)
two 16-bit timer^ounters
Timer, Event counter. External trigger timer. Window, PPG output
Pulse width measurement modes
♦Two 8-bit timer/counters
Timer, Eventcounter, Capture (Pulse width/duty measurement),
PWM output, PDO modes
♦Time Base Timer (Interrupt frequency: 1 Hz to 16384 kHz)
Divider output function (frequency: 1 kHz to 8 kHz)
♦watchdog Timer
two 8-bit Serial Interfaces
Each 8 bytes transmit/receive data buffer
Internal/external serial clock, and 4-/8-bit mode
000707EBP1
I For a discussion of how the reliability of microcontrollers can be predicted, please refer to Section 1.3 of the chapter entitled
Quality and Reliability Assurance / Handling Precautions.
TOSHIBA is continually working to improve the quality and reliability of its products. Nevertheless, semiconductor
devices in general can malfunction or fail due to their inherent electrical sensitivity and vulnerability to physical stress.
It is the responsibility of the buyer, when utilizing TOSHIBA products, to comply with the standards of safety in
making a safe design for the entire system, and to avoid situations in which a malfunction or failure of such TOSHIBA
products could cause loss of human life, bodily injury or damage to property.
In developing your designs, please ensure that TOSHIBA products are used within specified operating ranges as set
forth in the most recent TOSHIBA products specifications. Also, please keep in mind the precautions and conditions set
forth in the "Handling Guide for Semiconductor Devices," or "TOSHIBA Semiconductor Reliability Handbook" etc..
• The TOSHIBA products listed in this document are intended for usage in general electronics applications (computer,
personal equipment, office equipment, measuring equipment, industrial robotics, domestic appliances, etc.). These
TOSHIBA products are neither intended nor warranted for usage in equipment that requires extraordinarily high
quality and/or reliability or a malfunction or failure of which may cause loss of human life or bodily injury
("Unintended Usage"). Unintended Usage include atomic energy control instruments, airplane or spaceship instruments,
transportation instruments, traffic signal instruments, combustion control instruments, medical instruments, all types of
safety devices, etc.. Unintended Usage of TOSHIBA products listed in this document shall be made at the customer's
own risk.
The products described in this document are subject to the foreign exchange and foreign trade laws.
• The information contained herein is presented only as a guide for the applications of our products. No responsibility
is assumed by TOSHIBA CORPORATION for any infringements of intellectual property or other rights of the third
parties which may result from its use. No license is granted by implication or otherwise under any intellectual
property or other rights of TOSHIBA CORPORATION or others.
The information contained herein is subject to change without notice.
3-24-1
2002-10-03
Vista de pagina 0
1 2 3 4 5 6 ... 131 132

Indice de contenidos

Pagina 1 - TMP87CM24AF, TMP87CP24AF

TOSHIBATMP87CM24A/P24ACMOS 8-Bit MicrocontrollerTMP87CM24AF, TMP87CP24AFThe TMP87CM24A/P24A are the high speed and high performance 8-bit si

Pagina 2

TOSHIBATMP87CM24A/P24A3-24-10 2002-10-03

Pagina 3 - U) N>

N>OON>OON>OWSEG2SEG1SEGOCOMOCOMICOM2JÚ IODisplay data areaAddress OF80h0F81*111*010**01*: Don't careSEG1SEG2COMOCOMICOM2"COM1-SEG2

Pagina 4 - ___________

N>N>ООN>ОWHо(/)XS> o00nN>>N>>

Pagina 5 - Pin Functions

TOSHIBATMP87CM24A/P24AVoltage Regulator for LCD Driver in TMP87CM24A/P24AFTwo phenomenon have been found that the Voltage Regulator for LCD Driver in

Pagina 6 - 1.1 Memory Address Map

TOSHIBATMP87CM24A/P24AThe phenomena (2) occurs underthe condition.Once the power supply voltage (Vdd) falls down below 2.2 V and comes back above 2.2

Pagina 7 - 1.2 Program Memory (ROM)

TOSHIBATMP87CM24A/P24AOther specification for phenomena (2) Please refer the Figure 2-57)Topr= -10 to 70 °CSymbolItem Condition Min Typ. MaxUnite)T st

Pagina 8 - ХЗЗЕОСЗЕПС

TOSHIBATMP87CM24A/P24AFigure 2-56. The Diagram forthe Falling Time of Vdd3-24-105 2002-10-03

Pagina 9 - 1.4 Data Memory (RAM)

TOSHIBATMP87CM24A/P24A2.11 8-Bit AD Converter (ADC)The TMP87CM24A/P24A each have an 8-channel multiplexed-input 8-bit successive approximate

Pagina 10 - 3-24-10 2002-10-03

TOSHIBATMP87CM24A/P24AAD Converter Control RegisterADCCR(OOOEh)76 5432 10EOCFADSACKAINDSSAIN______1_____1_____1_____(Initial value : 0000 0000)0000 A

Pagina 11

TOSHIBATMP87CM24A/P24A(2) Reading of AD conversion resultAfter the end of conversion, read the conversion result from the ADCDR.The EOCF is automa

Pagina 12

TOSHIBATMP87CM24A/P24AConversionresultVAREF-VASS256Figure 2-61. Analog Input Voltage vs AD Conversion Result (typ.)3-24-109 2002-10-03

Pagina 13 - 1.6.2 Flags

TOSHIBATMP87CM24A/P24A1.5 General-purpose Register BanksGeneral-purpose registers are mapped into addresses 0040h to OOBFh in the data me

Pagina 14 - 1.7.1 Stack

TOSHIBATMP87CM24A/P24AInput/Output Circuitry(1) Control pinsThe input/output circuitries of the TMP87CM24A/P24A control pins are shown below.Please s

Pagina 15 - 1.8 System Clock Controller

TOSHIBATMP87CM24A/P24A(2) Input/Output PortsThe input/output circuitries of the TMP87CM24A/P24A input/output ports are shown below.3-24-1112002-10-03

Pagina 16 - 1.8.2 Timing Generator

TOSHIBATMP87CM24A/P24AElectrical CharacteristicsAbsolute Maximum Ratings(Vss = ov )ParameterSymbol Pins Ratings UnitSupply VoltageVdd- 0.3 to 6.5VInpu

Pagina 17

TOSHIBATMP87CM24A/P24ADC Characteristics(Vss = 0 V, Topr = - 10 to 70°C)ParameterSymbol Pins ConditionsMin Typ. MaxUnitHysteresis VoltageVhsHysteresis

Pagina 18 - 1.8.3 Stand-by Controller

TOSHIBATMP87CM24A/P24AAD Conversion Characteristics (I )(Topr= - 10to70°C)ParameterSymbol ConditionsMin Typ. MaxUnitAnalog Reference VoltageVarefVaref

Pagina 19

TOSHIBATMP87CM24A/P24AAC Characteristics (I)(Vss = 0 V, Vdd = 4.5 to 5.5 V, Topr = - 10 to 70°C)ParameterSymbol ConditionsMin Typ. MaxUnitMachine Cycl

Pagina 20 - 3-24-20 2002-10-03

TOSHIBATMP87CM24A/P24ARecomended Oscillating Condition (I) (Vss = o v, VDD = 4.5to5.5 v, Topr= - ioto70°C)ParameterOsillatorFrequencyRecommenderOscill

Pagina 21

TOSHIBATMP87PP24ACMOS 8-Bit MicrocontrollerTMP87PP24AFThe TMP87PP24A is a One-Time PROM microcontroller with low-power 384 Kbits electrical

Pagina 22 - V pin input is high

TJ TJ TJ TJ KO KD KD KD U) N> -» O VJ VJ vî vî vî vîOOOO V-OV/1COCOCOCOsssscìCìCìCìCìCìCìCìCìCì->->->->0-“NJWO-“NJUOÍalJl(Tl^(»lOO-“NJU

Pagina 23 - 3-24-23 2002-10-03

TOSHIBATMP87PP24APin FunctionThe TMP87PP24A has two modes: MCU and PROM.(1) MCU modeIn this mode, the TMP87PP24A is pin compatible with the TMP87CM24

Pagina 24 - (b) STOP Mode Release

TOSHIBATMP87CM24A/P24AThe TLCS-870 Series can transfer data directly memory to memory, and operate directly between memory data and memory data. This

Pagina 25 - 3-24-25 2002-10-03

TOSHIBATMP87PP24AOperational DescriptionThe following explains the TMP87PP24A hardware configuration and operation. The configuration and f

Pagina 26 -

TOSHIBATMP87PP24A1.1.2 Data MemoryThe TMP87PP24A has an on-chip 2K x 8-bit data memory (static RAM).1.1.3 Input/Output Circuitry(1) Control pinsThe

Pagina 27

TOSHIBATMP87PP24A1.2 PROM ModeThe PROM mode is activated by setting the TEST, RESET pin and the ports PI 7 to P10, P22 to P20 an

Pagina 28 - 3-24-28 2002-10-03

TOSHIBATMP87PP24A1.2.1 Programming Flowchart (High-speed Programming Mode)The high-speed programming mode is achieved by applying the progra

Pagina 29

TOSHIBATMP87PP24A1.2.2 Writing Method for General-purpose PROM Program(1) AdaptersBM11127 : TMP87PP24AF(2) Adapter settingSwitch (SW1) is set to si

Pagina 30 - 1.9 Interrupt Controller

TOSHIBATMP87PP24AElectrical CharacteristicsAbsolute Maximum Ratings(Vss = ov )ParameterSymbol Pins Ratings UnitSupply VoltageVdd- 0.3 to 6.5VProgram V

Pagina 31 - TMP87CM24A/P24A

TOSHIBATMP87PP24ADC Characteristics(Vss = 0 V, Topr = - 10 to 70°C)ParameterSymbol Pins ConditionsMin Typ. MaxUnitHysteresis VoltageVhsHysteresis inpu

Pagina 32 - IMF<-0

TOSHIBATMP87PP24AAD Conversion Characteristics (I)(Vss = 0 V, Vdd = 2.7 to 5.5 V, Topr = - 10 to 70°C)ParameterSymbol ConditionsMin Typ. MaxUnitAnalog

Pagina 33 - 3-24-33 2002-10-03

TOSHIBATMP87PP24AAC Characteristics (I)(Vss = OV, Vdd = 4.5 to 5.5V, Topr = - 10 to 70°C)ParameterSymbol ConditionsMin Typ. MaxUnitMachine Cycle Timet

Pagina 34 - "Z)C

TOSHIBATMP87PP24ARecomended Oscillating Condition (I) (Vss = o v, VDD = 4.5to5.5 v, Topr= - ioto70°C)ParameterOsillatorFrequencyRecommenderOscillatorR

Pagina 35 - 3-24-35 2002-10-03

TOSHIBATMP87CM24A/P24A1.6 Program Status Word (PSW)The program status word (PSW) consists of a register bank selector (RBS) and four fl

Pagina 36

TOSHIBATMP87PP24ADC/AC Characteristics (PROM mode) (Vss = 0 v)(1) Read OperationParameterSymbol ConditionsMin Typ. MaxUnitInput High VoltageV|H4Vcc X

Pagina 37 - 1.9.3 External Interrupts

TOSHIBATMP87PP24A(2) High-Speed Programming Operation (Торг = 25 ± 5°C)ParameterSymbol ConditionsMin Typ. MaxUnitInput High VoltageV|H4Vcc X 0.7-VccVI

Pagina 38 - 3-24-38 2002-10-03

TOSHIBATMP87PP24A3-24-1322002-10-03

Pagina 39 - 3-24-39 2002-10-03

TOSHIBATMP87CM24A/P24AExample: BCD operation(The A becomes 4?H after executing the following program when A = 19h, B = 28h)ADD A, B ; A<-41h, HF&

Pagina 40 - 3-24-40 2002-10-03

TOSHIBATMP87CM24A/P24AMSB LSB15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0Stack Pointer (SP)1.7.2 Stack Pointer (SP)The stack pointer (SP) is a 16-bit

Pagina 41

TOSHIBATMP87CM24A/P24A1.8.1 Clock GeneratorThe clock generator generates the basic clock which provides the system clocks supplied to t

Pagina 42 - INT3 control register

TOSHIBATMP87CM24A/P24A© In the single-clock modeA divided-by-256 of high-frequency clock (fc/28) is input to the 7th stage of the divider.Do not set D

Pagina 43 - 3-24-43 2002-10-03

TOSHIBATMP87CM24A/P24A1/fc or 1/fs [s]Main System Clock1_StateSO SIS2S3 SO SIS2S3-------Machine cycle-------------0.5//S atfc=8MHz 122 //s at fs = 32.

Pagina 44

TOSHIBATMP87CM24A/P24A(2) Dual-dock modeBoth high-frequency and low-frequency oscillation circuits are used in this mode. Pins P21 (XTIN

Pagina 45 - 3-24-45 2002-10-03

TOSHIBATMP87CM24A/P24A♦ LCD driver• Built-in voltage booster for LCD driver• With display memory (20 bytes)• LCD direct drive capability (Max 40 se

Pagina 46

TOSHIBATMP87CM24A/P24ARESETIReset release, SoftwareSoftwareIDLE1moder :NORMALImodeSTO PI modeInterruptSTOP Din inout(a) Single-clock modeIDLE2modeSLEE

Pagina 47 - 1.10 Watchdog Timer (WDT)

TOSHIBATMP87CM24A/P24ASystem Control Register 17 6 5SYSCR1(0038h)STOPRELM RETM OUTEN WUT_______1______(Initial value: 0000 00**)STOPRELMRETMOUTENWUT

Pagina 48 - 3-24-48 2002-10-03

TOSHIBATMP87CM24A/P24A1.8.4 Operating Mode Control(1) STOP mode (STORI, STOP2)STOP mode is controlled by the system control register 1 (SY

Pagina 49

TOSHIBATMP87CM24A/P24Ab. Edge-sensitive release mode (RELM = 0)In this mode, STOP mode is released by a rising edge of the STOP pin inp

Pagina 50 - 1.11 Reset Circuit

(a) STOP Mode Start (Example : Start with SET (SYSCR1). 7 instruction located at address a)Ho(/)Turn offOscillatorcircuitMainsystemclockProgramcounter

Pagina 51 - 1.11.4 System-Clock-Reset

TOSHIBATMP87CM24A/P24ANote: When STOP mode is released with alow hold voltage, the following cautions must be observed. The power sup

Pagina 52

N>O»N>OON>OUlMainsystemclockInterruptrequestProgramcounterInstructionexecutionWatchdogtimer1 1 ! 1 1 1 1 II !1 II1 1 II 1a + 2Xa + 31111SET (

Pagina 53 - 2.2 I/O Ports

TOSHIBATMP87CM24A/P24A(3) SLOW modeSLOW mode is controlled by the system control register 2 (SYSCR2) and the timer/counter 2 (TC2).a. Switching from

Pagina 54 - 2.2.1 Port PO (P07 to POO)

TOSHIBATMP87CM24A/P24Ab. Switching from SLOW mode to NORMAL2 mode First, set XEN (bit 7 in SYSCR2) to turn on the high-frequency oscillation. When tim

Pagina 55 - 2.2.2 PortPI (P17to P10)

Ho(/)mode00>(a) Switching to the SLOW ModeN>VD o00vlnooN>owFigure 1-21. Switching between the NORMAL2 and SLOW ModesN)>N>>

Pagina 56 - 2.2.3 Port P2 (P22 to P20)

TJ TJ TJ TJKO KD U) N>nnnn oooovîvîb¿b¿b¿b¿mmrnrnrnrnrnrnrnrnoo¿r4¿r4 <<SSSSCÌCÌCÌCÌCÌCÌCÌCÌCÌCÌ^^^^ N>U)0-»N>U)0-»N>U)Ji>tncy&g

Pagina 57 - 2.2.4 Port P3 (P35 to P30)

TOSHIBATMP87CM24A/P24A1.9 Interrupt ControllerThe TMP87CM24A/P24A each have a total of 14 interrupt sources: 5 externals and 9 internal

Pagina 58 - 2.2.5 Port P4 (P47 to P40)

TOSHIBATMP87CM24A/P24AQ_omL-_QJ"oL- *->couQ.Dk.cu+->c3Ol3-24-312002-10-03

Pagina 59 - 2.2.6 Port P5 (P57 to P50)

TOSHIBATMP87CM24A/P24AExample 2 : Reads interrupt latchesLD WA, (IL)Examples: Tests an interrupt latch TEST (IL).7JR F,SSET; W<-ILh, A<-IL|_;

Pagina 60 - 3-24-60 2002-10-03

TOSHIBATMP87CM24A/P24A1514131 2 1 11 098765 4 3 2 1 01 ILi5ILi4IL1 3; IL1 2 i IL1 1IL1 0IL9ILs 1IL7iLe; IL5 ; IL4 ; IL3 ; IL2 1ILh (003Dh)ILl(003Ch)(I

Pagina 61

TOSHIBATMP87CM24A/P24A1.9.1 Interrupt SequenceAn interrupt request is held until the interrupt is accepted or the interrupt latch is c

Pagina 62 - 2.3 Time Base Timer (TBT)

TOSHIBATMP87CM24A/P24AHowever, an acceptance of external interrupt 0 cannot be disabled by the EF; therefore, if disablement is necess

Pagina 63 - 2.4 Divider Output (DVO)

TOSHIBATMP87CM24A/P24ASPGeneral-purpose register save/restore using push and pop instructions:To save only a specific register, and when the

Pagina 64

TOSHIBATMP87CM24A/P24A1.9.2 Software Interrupt (INTSW)Executing the [SWI] instruction generates a software interrupt and immediately starts

Pagina 65 - Fugure2-14. Timer/Counter 1

TOSHIBATMP87CM24A/P24ANotes on usage of external interrupts:Note 1: When INTO to INT5 flNTO, INTI, INT2, INT3, INT5J are used in SLOW o

Pagina 66 - 2.5.2 Control

TOSHIBATMP87CM24A/P24ANote 6: Change EINTCR only when IMF = 0. After changing EINTCR, interrupt latches of external interrupt inputs mu

Pagina 67 - 2.5.3 Function

TOSHIBATMP87CM24A/P24ABlock DiagramrI/O Port(Segment outputs)__________A___________Common outputs COM3 to COMOPower SupplyLCD drive [empower supply

Pagina 68 - I)GZ)GZ)C2:XiZ)GZn^XHXZDGZ)(

TOSHIBATMP87CM24A/P24ATable 1-3. (a) External InterruptsSOURCE PinSecondaryfunctionEnableConditionEdgeDigital noise rejectrising falling bothINTO TÑÍÜ

Pagina 69 - 3-24-69 2002-10-03

TOSHIBATMP87CM24A/P24AExternal interrupt Control Register 1 7 6 5 4EINTCR(0037h)INTIINTO INT3INT2 INTI INT3WNC EN ES ES ES(initial value 0 0** 0 0 0

Pagina 70 - 3-24-70 2002-10-03

Ho(/)N>N>DD>INT3 control registerFigure1-26. (C) Bother One Edge Detictor of INT3/TC3 PinN>ooN>ow O00vlnN>>N>>

Pagina 71

TOSHIBATMP87CM24A/P24ANotes on the usage of INT3 pin (external interrupt)1. In the case of using the INT3 pin for one edge (either rising or falling).

Pagina 72 - JUlTLJinnAriJ^^

TOSHIBATMP87CM24A/P24AOperation description for INT3 (both-edqe interrupt) in use:1. Operation without setting/modifying external interrupt control re

Pagina 73 - 3-24-73 2002-10-03

TOSHIBATMP87CM24A/P24A2. Operation with setting/modifying external interrupt control register (EINTCR) after reset:1)Case3: When the initial state of

Pagina 74 - 2.6.2 Control

TOSHIBATMP87CM24A/P24A3)Case5: When the initial state of the INT3 pin is high after reset/low at edge switchover from rising to falling:ResetINT3ES (r

Pagina 75 - 2.6.3 Function

TOSHIBATMP87CM24A/P24A1.10 Watchdog Timer (WDT)The watchdog timer rapidly detects the CPU malfunction such as endless looping caused by

Pagina 76 - 2.7.1 Configuration

TOSHIBATMP87CM24A/P24ANote: The watchdog timer consists of an internal divider and a two-stage binary counter. When clear code 4Eh is

Pagina 77 - 2.7.3 Function

TOSHIBATMP87CM24A/P24ATable 1-4. Watchdog Timer Detection TimeOperating mode Detection timeNORMAL1 NORMAL2 SLOW Atfc = 8MHz At fs = 32.768 kHz2^Vfc [s

Pagina 78 - Ш1ЛЛДДЛЛДДЛЛЛЛДДЛЛЛЛГ

TOSHIBATMP87CM24A/P24APin FunctionsPin Name Input/OutputFunctionP07 to POOI/O8-bit programmable input/output ports (tri-state).Each bit of these

Pagina 79 - 2.8.2 Control

TOSHIBATMP87CM24A/P24A1.10.4 Watchdog Timer ResetIf the watchdog timer output becomes active, a reset is generated, which drives the RE

Pagina 80 - 2.8.3 Function

TOSHIBATMP87CM24A/P24A1.11.1 External Reset InputWhen the RESET pin is held at low for at least 3 machine cycles (12/fc [s]) with the

Pagina 81 - 3-24-81 2002-10-03

TOSHIBATMP87CM24A/P24A2. Peripheral Hardware Functions2.1 Special Function Registers (SFR) and Data Buffer Registers (DBR)The TLCS-870 Series uses

Pagina 82 - 2.9.2 Control

TOSHIBATMP87CM24A/P24A2.2 I/O PortsThe TMP87CM24A/P24A have 10 parallel input/output ports (69 pins) each as follows:Primary Function Secondary Funct

Pagina 83 - ________

TOSHIBATMP87CM24A/P24A2.2.1 Port PO (P07 to POO)Port PO is an 8-bit general-purpose input/output port which can be configured as either an input or a

Pagina 84 - Un_Jn_Jn_Jn_n_nLnLr

TOSHIBATMP87CM24A/P24A2.2.2 PortPI (P17to P10)Port PI is an 8-bit input/output port which can be configured as an input or an output

Pagina 85 - Y 0*** X~ 10** ^ 210* DCḥ

TOSHIBATMP87CM24A/P24A2.2.3 Port P2 (P22 to P20)Port P2 is a 3-bit input/output port. It is also used as an external interrupt input,

Pagina 86 - 2.9.3 Transfer Mode

TOSHIBATMP87CM24A/P24A2.2.4 Port P3 (P35 to P30)Port P3 is an 6-bit input/output port. When used as an input port, the output latch s

Pagina 87 - ________________________

TOSHIBATMP87CM24A/P24A2.2.5 Port P4 (P47 to P40)Port P4 is an 8-bit input/output port, and is also used as an external interrupt input

Pagina 88 - 3-24-88 2002-10-03

TOSHIBATMP87CM24A/P24A2.2.6 Port P5 (P57 to P50)Port P5 is a general-purpose 8-bit I/O port that can be specified bitwise. It is also

Pagina 89 - 3-24-89 2002-10-03

TOSHIBATMP87CM24A/P24AOperational Description 1. CPU Core FunctionsThe CPU core consists of a CPU, a system clock controller, an interrupt controller,

Pagina 90 - 3-24-90 2002-10-03

TOSHIBATMP87CM24A/P24A2.2.7 Ports P6 (P67 to P60) Port P7 (P77 to P70) Port P8 (P87 to P80) Port P9 (P93 to P90)Port P6, P7, P8 and P9 are an 8-bit i

Pagina 91 - TOSHIBA TMP87CM24A/P24A

TOSHIBATMP87CM24A/P24ANote: The P6CR, P7CR, P8CR and P9CR are write-only register. It can not be operated by the read-modify instruction (Bit mani

Pagina 92 - 2.10.2 Control

TOSHIBATMP87CM24A/P24A2.3 Time Base Timer (TBT)The time-base timer is used to generate the base time for key scan and dynamic display

Pagina 93 - 3-24-93 2002-10-03

TOSHIBATMP87CM24A/P24ATable 2-1. Time Base Timer Interrupt FrequencyTBTCKNORMAL1/2,DLE1/2modeSLOW, SLEEP modeInterrupt FrequencyDV7CK = 0DV7CK= 1 Atfc

Pagina 94

TOSHIBATMP87CM24A/P24AFigure 2-13. Divider Output3-24-642002-10-03

Pagina 95 - 3-24-95 2002-10-03

N>Ò>1ЛN>ООN>ОШFugure2-14. Timer/Counter 1N>1лnО3(Ö'c0)r+5'3N>lnO)CO3Фnоc3r+ФnHо(/)n> O00vlnN>>N>>

Pagina 96

TOSHIBATMP87CM24A/P24A2.5.2 ControlThe timer/counter 1 is controlled by a timer/counter 1 control register (TC1CR) and two 16-bit timer

Pagina 97 - 2.10.3 LCD Display Operation

TOSHIBATMP87CM24A/P24A2.5.3 FunctionTimer/counter 1 has six operating modes: timer, external trigger timer, event counter, window, pulse

Pagina 98 - 3-24-98 2002-10-03

TOSHIBATMP87CM24A/P24ACommand startSource clockUp-counterTREG1AINTTC1 interruptSource clockUp-counterJlAllJlJlJinvrLnnnn^^0 ;XMatchCounterdetect \rr(a

Pagina 99

TOSHIBATMP87CM24A/P24ACount startTCI pin inputInternal clock Up-counter TREG1A INTTC1iTriggerCount restart Rising edge select ^ Trigger(INT2ES = 0)---

Pagina 100 - *111*010

TOSHIBATMP87CM24A/P24A1.2 Program Memory (ROM)The TMP87CM24A has a 32Kx8-bit (addresses 8000h to FFFFh), and the TMP87CP24A has a 48Kx8-bit (addresses

Pagina 101

TOSHIBATMP87CM24A/P24A(4) Window modeCounting up is performed on the rising edge of the pulse that is the logical AND-ed product of

Pagina 102 - 2002-10-03

TOSHIBATMP87CM24A/P24AExample : Duty measurement (Resolution fc/2^ [Hz])CLR(INTTC1SW). 0 ; INTTC1 service switch initial settingLD (EINTCR),00000000B

Pagina 103 - 3-24-103 2002-10-03

TOSHIBATMP87CM24A/P24ACount start Count startTCI pin input Internal clock Up-counterTREG1BINTTC1iTrigger1(INT2ES = 0)JinÜinJinJtJirlU^^ ZEIXIXIXDQC

Pagina 104 - 3-24-104

TOSHIBATMP87CM24A/P24AInternal clockUp-counterTREG1BTREG1APPG outputINTTC1TCI pin inputInternal clockUp-counterTREG1BTREG1APPG outputINTTC1Command sta

Pagina 105 - 3-24-105 2002-10-03

TOSHIBATMP87CM24A/P24A2.6 16-Bit Timer/Counter 2 (TC2)2.6.1 ConfigurationINTTC2interruptTimer/Counter 2 control register16-bit timer register 2TREG2H

Pagina 106 - 2.11.1 Configuration

TOSHIBATMP87CM24A/P24A2.6.3 FunctionThe timer/counter 2 has three operating modes: timer, event counter and window modes. Also timer/cou

Pagina 107 - 2.11.3 Operation

TOSHIBATMP87CM24A/P24A(3) Window ModeIn this mode, counting up is performed on the rising edge of the pulse that is the logical AND

Pagina 108 - 3-24-108 2002-10-03

TOSHIBATMP87CM24A/P24A2.7.2 ControlThe timer/counter 3 is controlled by a timer/counter 3 control register (TC3CR) and two 8-bit timer

Pagina 109 - 3-24-109 2002-10-03

TOSHIBATMP87CM24A/P24A(2) Event Counter ModeIn this mode, the TC3 pin input pulses are used for counting up. Either the rising or fa

Pagina 110 - Input/Output Circuitry

TOSHIBATMP87CM24A/P24A2.8 8-Bit Timer/Counter 5 (TC5)2.8.1 ConfigurationFigure 2-29. Timer/Counter 5 (TC5)2.8.2 ControlThe TC5 is controlled by a t

Pagina 111 - 3-24-111

TOSHIBATMP87CM24A/P24AExample 1 : Loads the ROM contents at the address specified by the HL register paircontents into the accumulator (TMP87CM24A :

Pagina 112 - Electrical Characteristics

TOSHIBATMP87CM24A/P24A2.8.3 FunctionTC5 has 3 operating modes : timer, programmable divider output, and pulse width modulation output mode.(1) Timer

Pagina 113 - 3-24-113 2002-10-03

TOSHIBATMP87CM24A/P24A(3) Pulse width modulation (PWM) output modePWM output with a resolution of 8-bits is possible. The internal clock

Pagina 114 - 3-24-114

TOSHIBATMP87CM24A/P24A2.9 Serial Interface (SI01, SI02)The TMP87CM24A/P24A each have two clocked-synchronous 8-bit serial interfaces (SI01

Pagina 115 - 3-24-115 2002-10-03

TOSHIBATMP87CM24A/P24ASI01, SI02 Control Registers 17 6 5 4SI01CR1(0020h)SI02CR1(0022h)SIOSSIOINH,SIOM ,____________(Initial value : 0000 0000)SIO

Pagina 116 - 3-24-116

TOSHIBATMP87CM24A/P24AMotel: Tf frame time, Tq: data transfer time^pin Un_Jn_Jn_Jn_n_nLnLrULTTfNote 2:Note 3:Note 4: Note 5: Note 6:Note 7:The low

Pagina 117 - TMP87PP24AF

TOSHIBATMP87CM24A/P24AExternal ClockAn external clock connected to the SCK1/SCK2 pin is used as the serial clock. In this case, the P

Pagina 118 - V-OV/1COCOCOCO

TOSHIBATMP87CM24A/P24A(3) Number of Words to TransferUp to 8 words consisting of 4 bits of data (4-bit serial transfer) or 8 bits (8-

Pagina 119 - Pin Function

TOSHIBATMP87CM24A/P24AWhen an external clock is used, the data must be written to the data buffer register before shifting next data

Pagina 120 - 1.1.1 Program Memory

TOSHIBATMP87CM24A/P24ASCK pin SlOFSO pin BiteXBit?tsoDH =min 3.5/fc [s] (In the NORMAL1/2, IDLE1/2 modes) = min 3.5/fs [s] (In the SLOW, SLEEP modes)F

Pagina 121 - 1.1.3 Input/Output Circuitry

TOSHIBATMP87CM24A/P24A(3) 8-bit Transmit/Receive ModeAfter setting the control registers to the 8-bit transmit/receive mode, write the da

Pagina 122 - 1.2 PROM Mode

TOSHIBATMP87CM24A/P24A1.4 Data Memory (RAM)The TMP87CM24A/P24A have a 2Kx 8-bit (address 0040h to 083Fh) of data memory (static RAM).

Pagina 123 - 3-24-123 2002-10-03

TOSHIBATMP87CM24A/P24AIf it is necessary to change the number of words in internal clock, during automatic-wait operation which occurs

Pagina 124 - 3-24-124

2.10 LCD DriverThe TMP87CM24A/P24A each have a driver and control circuit to directly drive the liquid crystal device (LCD). The pins

Pagina 125

TOSHIBATMP87CM24A/P24A2.10.2 ControlThe LCD driver is controlled using the LCD control register (LCDCR). The LCD driver's display

Pagina 126 - 3-24-126

TOSHIBATMP87CM24A/P24A(1) LCD driving methodsAs for LCD driving method, 4 types can be selected by DUTY (bit 4 to bit 2 of LCDCR).

Pagina 127 - 3-24-127

TOSHIBATMP87CM24A/P24A(2) Frame frequencyFrame frequency (fp) is set according to driving method and base frequency as shown in the fo

Pagina 128 - 3-24-128 2002-10-03

TOSHIBATMP87CM24A/P24A(3) Booster circuit for LCD driverThe TMP87CM24A/P24A incorporate a booster circuit for the LCD driver (IV x 3 tim

Pagina 129 - 3-24-129

TOSHIBATMP87CM24A/P24AТаFigure 2-47. Temperature Characteristics of Voltage Booster OutputNotice of using LCD driver(1) The falling time and fluctuat

Pagina 130 - 3-24-130 2002-10-03

TOSHIBATMP87CM24A/P24A2.10.3 LCD Display Operation(1) Display data settingDisplay data is stored to the display data area (assigned to add

Pagina 131 - 3-24-131 2002-10-03

TOSHIBATMP87CM24A/P24A2.10.4 Control Method of LCD Driver(1) Initial settingFigure 2-49 shows the flowchart of initialization.Example : To operate a 1

Pagina 132 - 3-24-132

TOSHIBATMP87CM24A/P24ATable 2-13. Example of Display Data (1/4 Duty)No.display display dataNo.display display data06 l11011111 5 10110101©11100000110

Modelos relacionados TMP87CM24AF

Comentarios a estos manuales

Sin comentarios