ST62T00CB6 STMicroelectronics, ST62T00CB6 Datasheet
ST62T00CB6
Specifications of ST62T00CB6
Available stocks
Related parts for ST62T00CB6
ST62T00CB6 Summary of contents
Page 1
OTP/EPROM MCUs WITH A/D CONVERTER, OSCILLATOR SAFEGUARD, SAFE RESET AND 16 PINS 3.0 to 6.0V Supply Operating Range 8 MHz Maximum Clock Frequency -40 to +125 C Operating Temperature Range Run, Wait and Stop Modes 5 Interrupt Vectors Look-up ...
Page 2
ST62T00C/T01C/ST62T03C/E01C . . . . . . . . . . . . . . . . . . . . . . . 1 1 GENERAL DESCRIPTION . . . . . . . . . . . . ...
Page 3
I/O Port Data Direction Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 4
ST62T00C/T01C ST62T03C/E01C 1 GENERAL DESCRIPTION 1.1 INTRODUCTION The ST62T00C,T01C,T03C and ST62E01C de- vices are low cost members of the ST62xx 8-bit HCMOS family of microcontrollers, which is target low to medium complexity applications. All ST62xx devices are based ...
Page 5
PIN DESCRIPTIONS V and V . Power is supplied to the MCU via DD SS these two pins the power connection and the ground connection. SS OSCin and OSCout. These pins are internally connected ...
Page 6
ST62T00C/T01C ST62T03C/E01C 1.3 MEMORY MAP 1.3.1 Introduction The MCU operates in three separate memory spaces: Program space, Data space, and Stack space. Operation in these three memory spaces is described in the following paragraphs. Figure 3. Memory Addressing Diagram PROGRAM ...
Page 7
... U.V. erasure that also results into the whole EPROM context erasure. Note: Once the Readout Protection is activated longer possible, even for STMicroelectronics, to gain access to the OTP contents. Returned parts with a protection set can therefore not be ac- cepted. ...
Page 8
ST62T00C/T01C ST62T03C/E01C MEMORY MAP (Cont’d) 1.3.3 Data Space Data Space accommodates all the data necessary for processing the user program. This space com- prises the RAM resource, the processor core and peripheral registers, as well as read-only data such as ...
Page 9
MEMORY MAP (Cont’d) 1.3.5 Data Window Register (DWR) The Data read-only memory window is located from address 0040h to address 007Fh in Data space. It allows direct reading of 64 consecutive bytes locat- ed anywhere in program memory, between ad- ...
Page 10
ST62T00C/T01C ST62T03C/E01C 1.4 PROGRAMMING MODES 1.4.1 Option Bytes The two Option Bytes allow configuration capabili the MCUs. Option byte’s content is automati- cally read, and the selected options enabled, when the chip reset is activated. It can only ...
Page 11
PROGRAMMING MODES (Cont’d) 1.4.2 Program Memory EPROM/OTP programming mode is set by a +12.5V voltage applied to the TEST/V programming flow of the ST62T00C,T01C,T03C and E01C is described in the User Manual of the EPROM Programming Board. Table 2. ST62T00C, ...
Page 12
ST62T00C/T01C ST62T03C/E01C 2 CENTRAL PROCESSING UNIT 2.1 INTRODUCTION The CPU Core of ST6 devices is independent of the I/O or Memory configuration. As such, it may be thought independent central processor communicating with on-chip I/O, Memory and ...
Page 13
CPU REGISTERS (Cont’d) However, if the program space contains more than 4096 bytes, the additional memory in program space can be addressed by using the Program Bank Switch register. The PC value is incremented after reading the ad- dress of ...
Page 14
ST62T00C/T01C ST62T03C/E01C 3 CLOCKS, RESET, INTERRUPTS AND POWER SAVING MODES 3.1 CLOCK SYSTEM The MCU features a Main Oscillator which can be driven by an external clock, or used in conjunction with an AT-cut parallel resonant crystal or a suita- ...
Page 15
CLOCK SYSTEM (Cont’d) Turning on the main oscillator is achieved by re- setting the OSCOFF bit of the A/D Converter Con- trol Register or by resetting the MCU. Restarting the main oscillator implies a delay comprising the oscillator start up ...
Page 16
ST62T00C/T01C ST62T03C/E01C CLOCK SYSTEM (Cont’d) Figure 9. OSG Filtering Principle (1) (2) (3) (4) (1) Maximum Frequency for the device to work correctly (2) Actual Quartz Crystal Frequency at OSCin pin (3) Noise from OSCin (4) Resulting Internal Frequency Figure ...
Page 17
CLOCK SYSTEM (Cont’d) Figure 11. Clock Circuit Block Diagram OSG MAIN OSCILLATOR LFAO Figure 12. Maximum Operating Frequency (f Maximum FREQU ENCY (MHz 2.5 3 Notes this area, operation ...
Page 18
ST62T00C/T01C ST62T03C/E01C 3.2 RESETS The MCU can be reset in four ways: – by the external Reset input being pulled low; – by Power-on Reset; – by the digital Watchdog peripheral timing out. – by Low Voltage Detection (LVD) 3.2.1 ...
Page 19
RESETS (Cont’d) 3.2.3 Watchdog Reset The MCU provides a Watchdog timer function in order to ensure graceful recovery from software upsets. If the Watchdog register is not refreshed before an end-of-count condition is reached, the internal reset will be activated. ...
Page 20
ST62T00C/T01C ST62T03C/E01C RESETS (Cont’d) 3.2.6 MCU Initialization Sequence When a reset occurs the stack is reset, the PC is loaded with the address of the Reset Vector (locat program ROM starting at address 0FFEh). A jump to the ...
Page 21
RESETS (Cont’d) Table 4. Register Reset Status Register Oscillator Control Register 0DCh Port Data Registers 0C0h to 0C1h Port Direction Register 0C4h to 0C5h Port Option Register 0CCh to 0CDh Interrupt Option Register 0C8h TIMER Status/Control 0D4h ...
Page 22
ST62T00C/T01C ST62T03C/E01C 3.3 DIGITAL WATCHDOG The digital Watchdog consists of a reloadable downcounter timer which can be used to provide controlled recovery from software upsets. The Watchdog circuit generates a Reset when the downcounter reaches zero. User software can prevent ...
Page 23
DIGITAL WATCHDOG (Cont’d) The Watchdog is associated with a Data space register (Digital WatchDog Register, DWDR, loca- tion 0D8h) which is described in greater detail in Section 3.3.1 Digital Watchdog Register (DWDR). This register is set to 0FEh on Reset: ...
Page 24
ST62T00C/T01C ST62T03C/E01C DIGITAL WATCHDOG (Cont’d) 3.3.1 Digital Watchdog Register (DWDR) Address: 0D8h — Read/Write Reset status: 1111 1110b Bit Watchdog Control bit If the hardware option is selected, this bit ...
Page 25
DIGITAL WATCHDOG (Cont’d) These instructions test the C bit and Reset the MCU (i.e. disable the Watchdog) if the bit is set (i.e. if the Watchdog is active), thus disabling the Watchdog. In all modes, a minimum of 28 instructions ...
Page 26
ST62T00C/T01C ST62T03C/E01C 3.4 INTERRUPTS The CPU can manage four Maskable Interrupt sources, in addition to a Non Maskable Interrupt source (top priority interrupt). Each source is asso- ciated with a specific Interrupt Vector which con- tains a Jump instruction to ...
Page 27
INTERRUPTS (Cont’d) 3.4.2 Interrupt Procedure The interrupt procedure is very similar to a call pro- cedure, indeed the user can consider the interrupt as an asynchronous call procedure. As this is an asynchronous event, the user cannot know the context ...
Page 28
ST62T00C/T01C ST62T03C/E01C INTERRUPTS (Cont’d) 3.4.3 Interrupt Option Register (IOR) The Interrupt Option Register (IOR) is used to en- able/disable the individual interrupt sources and to select the operating mode of the external interrupt inputs. This register is write-only and cannot ...
Page 29
INTERRUPTS (Cont’d) Figure 21. Interrupt Block Diagram V DD NMI PBE PORT A FROM REGIST ER SINGLE BIT ENABLE PORT A,B PBE V DD PORT B Bits PBE PBE IOR REG. C8H, bit 5 TIMER ADC(*) (*)Except on ST62T03C ST62T00C/T01C ...
Page 30
ST62T00C/T01C ST62T03C/E01C 3.5 POWER SAVING MODES The WAIT and STOP modes have been imple- mented in the ST62xx family of MCUs in order to reduce the product’s electrical consumption during idle periods. These two power saving modes are described in ...
Page 31
POWER SAVING MODE (Cont’d) 3.5.3 Exit from WAIT and STOP Modes The following paragraphs describe how the MCU exits from WAIT and STOP modes, when an inter- rupt occurs (not a Reset). It should be noted that the restart sequence ...
Page 32
ST62T00C/T01C ST62T03C/E01C 4 ON-CHIP PERIPHERALS 4.1 I/O PORTS The MCU features Input/Output lines which may be individually programmed as any of the following input or output configurations: – Input without pull-up or interrupt – Input with pull-up and interrupt – ...
Page 33
I/O PORTS (Cont’d) 4.1.1 Operating Modes Each pin may be individually programmed as input or output with various configurations. This is achieved by writing the relevant bit in the Data (DR), Data Direction (DDR) and Option reg- isters (OR). Table ...
Page 34
ST62T00C/T01C ST62T03C/E01C I/O PORTS (Cont’d) 4.1.2 Safe I/O State Switching Sequence Switching the I/O ports from one state to another should be done in a sequence which ensures that no unwanted side effects can occur. The recom- mended safe transitions ...
Page 35
I/O PORTS (Cont’d) 4.1.3 I/O Port Option Registers ORA/B (CCh PA, CDh PB) Read/Write 7 Px7 Px6 Px5 Px4 Px3 Px2 Bit 7-0 = Px7 - Px0: Port A and B Option Register bits. 4.1.4 I/O Port Data Direction Registers ...
Page 36
ST62T00C/T01C ST62T03C/E01C I/O PORTS (Cont’d) Table 10. I/O Port Option Selections MODE AVAILABLE ON PA1-PA3 Input PB0,PB1,PB3,PB5-PB7 PA1-PA3 Input PB0,PB1,PB3,PB5-PB7 with pull up Input PA1-PA3 with pull up PB0,PB1,PB3,PB5-PB7 with interrupt PB3,PB5-PB7 Analog Input (Except ST62T03C) Open drain output 5mA ...
Page 37
TIMER The MCU features an on-chip Timer peripheral, consisting of an 8-bit counter with a 7-bit program- mable prescaler, giving a maximum count of 2 Figure 24 shows the Timer Block Diagram. The content of the 8-bit counter can ...
Page 38
ST62T00C/T01C ST62T03C/E01C TIMER (Cont’d) 4.2.1 Timer Operation The Timer prescaler is clocked by the prescaler clock input (f 12). INT The user can select the desired prescaler division ratio through the PS2, PS1, PS0 bits. When the TCR count reaches ...
Page 39
TIMER (Cont’d) A write to the TCR register will predominate over the 8-bit counter decrement to 00h function, i. write and a TCR register decrement to 00h occur simultaneously, the write will take precedence, and the TMZ bit ...
Page 40
ST62T00C/T01C ST62T03C/E01C 4.3 A/D CONVERTER (ADC) The A/D converter peripheral is an 8-bit analog to digital converter with analog inputs as alternate I/O functions (the number of which is device depend- ent), offering 8-bit resolution with a typical conver- sion ...
Page 41
A/D CONVERTER (Cont’d) Since the ADC is on the same chip as the micro- processor, the user should not switch heavily load- ed output signals during conversion, if high preci- sion is required. Such switching will affect the sup- ply ...
Page 42
ST62T00C/T01C ST62T03C/E01C 5 SOFTWARE 5.1 ST6 ARCHITECTURE The ST6 software has been designed to fully use the hardware in the most efficient way possible while keeping byte usage to a minimum; in short, to provide byte efficient programming capability. The ...
Page 43
INSTRUCTION SET The ST6 core offers a set of 40 basic instructions which, when combined with nine addressing modes, yield 244 usable opcodes. They can be di- vided into six different types: load/store, arithme- tic/logic, conditional branch, control instructions, ...
Page 44
ST62T00C/T01C ST62T03C/E01C INSTRUCTION SET (Cont’d) Arithmetic and Logic. These instructions are used to perform the arithmetic calculations and logic operations. In AND, ADD, CP, SUB instruc- tions one operand is always the accumulator while the other can be either a ...
Page 45
INSTRUCTION SET (Cont’d) Conditional Branch. The branch instructions achieve a branch in the program when the select- ed condition is met. Bit Manipulation Instructions. These instruc- tions can handle any bit in data space memory. One group either sets or ...
Page 46
ST62T00C/T01C ST62T03C/E01C Opcode Map Summary. The following table contains an opcode map for the instructions used by the ST6 LOW 0 1 0000 0001 0010 HI 2 JRNZ 4 CALL abc 0000 1 pcr 2 ext 1 ...
Page 47
Opcode Map Summary (Continued) LOW 8 9 1000 1001 1010 HI 2 JRNZ abc 0000 1 pcr 2 ext 1 2 JRNZ abc 0001 1 pcr 2 ext 1 2 ...
Page 48
ST62T00C/T01C ST62T03C/E01C 6 ELECTRICAL CHARACTERISTICS 6.1 ABSOLUTE MAXIMUM RATINGS This product contains devices to protect the inputs against damage due to high static voltages, how- ever it is advisable to take normal precaution to avoid application of any voltage higher ...
Page 49
RECOMMENDED OPERATING CONDITIONS Symbol Parameter T Operating Temperature A V Operating Supply Voltage Oscillator Frequency OSC I Pin Injection Current (positive) INJ+ I Pin Injection Current (negative) V INJ- Notes: 1. Care must be taken in ...
Page 50
ST62T00C/T01C ST62T03C/E01C 6.3 DC ELECTRICAL CHARACTERISTICS (T = -40 to +125 C unless otherwise specified) A Symbol Parameter V Input Low Level Voltage IL All Input pins V Input High Level Voltage IH All Input pins (1) Hysteresis Voltage V ...
Page 51
DC ELECTRICAL CHARACTERISTICS (Cont’ -40 to +85 C unless otherwise specified)) A Symbol Parameter V LVD Threshold in power- LVD threshold in powerdown dn Low Level Output Voltage All Output pins V OL Low Level Output ...
Page 52
ST62T00C/T01C ST62T03C/E01C 6.5 A/D CONVERTER CHARACTERISTICS (T = -40 to +125 C unless otherwise specified) A Symbol Parameter Res Resolution (1) (2) A Total Accuracy TOT t Conversion Time C ZIR Zero Input Reading FSR Full Scale Reading Analog Input ...
Page 53
Figure frequency versus Vcc . 0.1 3 3.5 Figure 29. LVD thresholds versus temperature ST62T00C/T01C ST62T03C/E01C 4 4.5 5 5.5 VDD (volts) R=47K R=100K R=470K 6 53/70 ...
Page 54
ST62T00C/T01C ST62T03C/E01C Figure 30. Idd WAIT versus Vcc at 8 Mhz for OTP devices 1.2 1 0.8 0.6 0.4 0 This curves represents typical variations and is given for guidance only Figure 31. Idd STOP versus Vcc for ...
Page 55
Figure 33. Idd WAIT versus Vcc at 8Mhz for ROM devices 0.8 0.6 0.4 0 This curves represents typical variations and is given for guidance only Figure 34. Idd WAIT ( A) Fosc=32KHz (option byte programmed to ...
Page 56
ST62T00C/T01C ST62T03C/E01C Figure 36. Vol versus Iol on all I/O port at Vdd= This curves represents typical variations and is given for guidance only Figure 37. Vol versus Iol on all I/O port ...
Page 57
Figure 39. Vol versus Iol for High sink (20mA) I/O ports at Vdd= This curves represents typical variations and is given for guidance only Figure 40. Voh versus Ioh on all I/O ...
Page 58
ST62T00C/T01C ST62T03C/E01C 7 GENERAL INFORMATION 7.1 PACKAGE MECHANICAL DATA Figure 42. 16-Pin Plastic Dual In Line Package (B), 300-mil Width Figure 43. 16-Pin Ceramic Side-Brazed Dual In-Line Package 58/ Dim. Min Typ A A1 0.38 A2 2.92 3.30 ...
Page 59
PACKAGE MECHANICAL DATA (Cont’d) Figure 44. 16-Pin Plastic Small Outline Package (M), 300-mil Width Figure 1. 16-Pin Plastic Shrink Small Outline Package, 0.209” Width ST62T00C/T01C ST62T03C/E01C mm Dim. Min Typ Max A 2.35 2.65 0.0926 A1 0.10 B 0.33 0.51 ...
Page 60
... ST62T00C/T01C ST62T03C/E01C 7.2 ORDERING INFORMATION Table 18. OTP/EPROM VERSION ORDERING INFORMATION Sales Type I/O ST62T00CB6 ST62T00CM6 ST62T01CB6 ST62T01CM6 ST62T01CN6 ST62T03CB6 9 ST62T03CM6 ST62T01CB3 ST62T01CM3 ST62T01CN3 ST62E01CF1 60/70 60 Program Analog Temperature Range Memory (Bytes) input 1036 (OTP) 4 1836 (OTP) - 1036 (OTP) None 1836 (OTP) ...
Page 61
FASTROM MCUs WITH A/D CONVERTER, OSCILLATOR SAFEGUARD , SAFE RESET AND 16 PINS 3.0 to 6.0V Supply Operating Range 8 MHz Maximum Clock Frequency -40 to +125 C Operating Temperature Range Run, Wait and Stop Modes 5 Interrupt Vectors ...
Page 62
... MCU. The listing is then returned to the customer who must thoroughly check, com- plete, sign and return it to STMicroelectronics. The signed listing forms a part of the contractual agree- ment for the production of the specific customer MCU ...
Page 63
... Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Phone Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STMicroelectronics references Device ST62P00C [ ] ST62P01C Package Dual in Line Plastic [ ] Small Outline Plastic with conditionning Shrink Small Outline Plastic ...
Page 64
ST62P00C/P01C/P03C Notes: 64/70 64 ...
Page 65
ROM MCUs WITH A/D CONVERTER, OSCILLATOR SAFEGUARD , SAFE RESET AND 16 PINS 3.0 to 6.0V Supply Operating Range 8 MHz Maximum Clock Frequency -40 to +125 C Operating Temperature Range Run, Wait and Stop Modes 5 Interrupt Vectors ...
Page 66
ST6200C/01C/03C 1 GENERAL DESCRIPTION 1.1 INTRODUCTION The ST6200C/01C and 03C are mask pro- grammed ROM version of ST62T00C,T01C and T03C OTP devices. They offer the same functionality as OTP devices, selecting as ROM options the options defined in the programmable ...
Page 67
... Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Phone Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STMicroelectronics references Device ST6200C [ ] ST6201C Package Dual in Line Plastic [ ] Small Outline Plastic with conditionning: ...
Page 68
... This listing refers exactly to the mask which will be used to produce the specified MCU. The listing is then returned to the customer who must thoroughly check, complete, sign and return it to STMicroelectronics. The signed listing forms a part of the contractual agreement for the creation of the specific customer mask. 68/70 ...
Page 69
ORDERING INFORMATION (Cont’d) Table 6. ROM version Ordering Information Sales Type ROM ST6200CB1/XXX ST6200CB6/XXX ST6200CB3/XXX 1036 Bytes ST6200CM1/XXX ST6200CM6/XXX ST6200CM3/XXX ST6201CB1/XXX ST6201CB6/XXX ST6201CB3/XXX ST6201CM1/XXX ST6201CM6/XXX 1836 Bytes ST6201CM3/XXX ST6201CN1/XXX ST6201CN6/XXX ST6201CN3/XXX ST6203CB1/XXX ST6203CB6/XXX ST6203CB3/XXX 1036 Bytes ST6203CM1/XXX ST6203CM6/XXX ST6203CM3/XXX Analog ...
Page 70
... No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without the express written approval of STMicroelectronics ...