Part Number Hot Search : 
B32K460 LTC3565 25RFL18 15151 020A0 LC9907 DBCTB922 70030
Product Description
Full Text Search
 

To Download 5111 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 ST622x-KIT
STARTER KIT FOR ST620x, ST621x and ST622x MCUs
HARDWARE FEATURES s Immediate evaluation of all ST620x, ST621x and ST622x devices, with stand-alone demonstration routines. s Simulation and debugging within the user's real application environment. s In-socket programming of all DIL OTP and EPROM ST620x, ST621x and ST622x devices. s In-circuit programming of all DIL and SO OTP and EPROM ST620x, ST621x and ST622x devices directly on the user's application board. SOFTWARE FEATURES s Software simulation, including I/O read/write. s Assembler, Linker and Debugger. s In-socket OTPandEPROMprogramming utilities. s In-circuit OTP and EPROM programming utilities s Application examples and demonstrations
December 1997
1/38
3
Table of Contents
ST622x-KIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 1.1 Where to go from here... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 2 THE STARTER KIT HARDWARE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 2.1 The ST6 Microcontrollers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 2.2 The Starter Kit Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 2.3 Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 2.4 Reset Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 2.5 + And - Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 2.6 LED Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 2.7 Resistance trimmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 2.8 Temperature Control Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.9 RS-232 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 2.10 Demonstration Selector Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3 INSTALLING THE STARTER KIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1 Hardware and Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2 Connecting the Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4 RUNNING THE DEMOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 4.1 What the Demos Do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 4.1.1 Demo 1 - Button/LED Indicator Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.1.2 Demo 2 - Voltage trimming and LED level indication . . . . . . . . . . . . . . . . . . . . . . . 16 4.1.3 Demo 3 - Temperature Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.1.4 Demo 4 - RS-232 Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.1.5 Demo 5 - Fuzzy Logic Heater Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.2 Running the Demonstration Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5 RUNNING THE ST6-REALIZER DEMO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6 CONNECTING EXTERNAL RESOURCES TO THE STARTER KIT BOARD. . . . . . . . . . . . . . 22 7 USING THE STARTER KIT BOARD AS A HARDWARE SIMULATOR . . . . . . . . . . . . . . . . . . 23 7.1 The Data Transmission Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 7.2 Technical Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 7.3 Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 7.4 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 8 PROGRAMMING ST6 MICROCONTROLLERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 8.1 Programming Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 8.2 Setting Up the Starter Kit Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 8.3 In-Circuit Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 8.3.1 Application Board Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 8.4 Setting Up the Starter Kit Board for In-Circuit Programming . . . . . . . . . . . . . . . . . . . . . . . 32 9 RUNNING YOUR OWN PROGRAM ON THE STARTER KIT BOARD . . . . . . . . . . . . . . . . . . . 34 10 HARDWARE INFORMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 10.1 Parts List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 10.2 Starter Kit Board Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2/38
3
Introduction
1 INTRODUCTION
The ST622x Starter Kit provides you with all you need to start designing, developing and evaluating programs for ST620x, ST621x and ST622x microcontrollers immediately. The ST622x Starter Kit includes: * The ST6 assembler and linker, AST6 and LST6. * A demonstration of the ST6 application development tool, ST6-Realizer. * The ST6 Windows debugger, WGDB6. * The Windows ST6 microcontroller programmer, Epromer. * The ST6 Starter Kit board, which serves as a demonstration board and low-cost debugging tool. * Some demonstration programs that show how ST6 microcontrollers use the Starter Kit board resources. * Some example programs for the ST622x family. * Two ST62E25, two ST62E20 and one ST62E01 microcontrollers. * A complete set of paper documentation and online help. The demonstration programs, that come pre-loaded on an ST62E25 microcontroller, show how the powerful features of ST6 microcontrollers operate in a real environment. The demonstration programs use the hardware resources provided on the Starter Kit board, which include reset and data control buttons, LED indicators, a resistance trimmer, temperature control circuit and an RS-232 interface. Using the ST6 assembler and linker, AST6 and LST6, you can assemble and link ST6 programs. The AST6/LST6 User Manual will guide you through the steps of developing, assembling and linking programs for the ST6. The Starter Kit software includes a set of example programs of typical ST6 applications. These are installed in the directory C: \ST622x\examples. For a fast-track solution for developing bug-free programs for the ST6, without the hassle of writing assembler code, try out the ST6-Realizer demonstration. Once you have developed your ST6 program, you can use the Windows-based ST6 program debugger, WGDB6/SIMULATOR, together with the Starter Kit board, as a low-cost but powerful debugging tool. WGDB6 includes an ST6 simulator, that simulates the execution of your program, and uses the ST6 that is plugged into the Starter Kit board to emulate all transactions that are performed with the data space. Thus, using the Starter Kit board with WGDB6, you can view how the microcontroller peripherals behave when your program is executed. WGDB6 includes powerful debugging features, such as source-level debugging, instruction and conditional memory access breakpoints and selective trace recording. The WGDB6 Get-
3/38
3
Introduction
ting Started manual and online help will lead you through the debugging process using WGDB6. When your program is ready, Epromer provides you with an easy-to-use Windows interface, which lets you prepare executable code, then write it to the ST6 microcontroller that is plugged into either one of the DIL sockets on the Starter Kit board, or your own in-circuit application board that is connected to the Starter Kit board. To observe and evaluate the consequences of your program on the resources it controls, you can run it on an ST6 microcontroller that is plugged into the Starter Kit board. If it controls a resource that is not included on the Starter Kit board, you can connect your own resource to the board. Instructions for use - Warning This product conforms with the 89/336/EEC directive; it also complies with the EN55022 emissions standard for ITE, as well as with generic 50082-1 immunity standards. The product is a Class A apparatus. In a residential environment this device may cause radioelectrical disturbances which may require that the user adopt appropriate precautions. The product is not contained in an outer casing, and cannot therefore be immune against electrostatic discharge (ESD): it should therefore only be handled at static safe work stations.
4/38
3
Introduction
The following diagram summarises the possible uses of the Starter Kit board and the hardware setup required for each one. To program ST6s on your own in-circuit programming board: PC running Epromer Starter Kit board In-circuit programming board
Parallel port connected to P1
J1 connector
To program ST6s using the Starter Kit board: PC running Epromer
ST6 to be programmed
Starter Kit board Parallel port connected to P1 To run the demonstrations: ST6 Programmed with DEMOK25.HEX Starter Kit board ST6 programmed with program to run To use the Starter Kit board as a software simulator: PC running WGDB6 Simulator ST6 Programmed with DEMOK25.HEX To run your own program:
Parallel port connected to P1
5/38
3
Introduction
1.1 Where to go from here... The following table directs you to where you should look for further information about using the ST6 Starter Kit.
To: Find out about the Starter Kit board and ST6 microcontrollers provided with the kit. Install the Starter Kit software, and connect the power supply to the board. Install and run the ST6-Realizer demonstration software. Refer to: "The Starter Kit Hardware" on page 7 of this book. "Installing the Starter Kit" on page 15 of this book. "Running the ST6-Realizer Demo" on page 21 of this book.
Find out what the demonstration applications do, "Running the Demos" on page 16 of this book. and run them. Learn how to develop source code for AST6 and LST6. Prepare the Starter Kit board for use as an ST6 hardware simulator with WGDB6. Install WGDB6, and learn how to use it for debugging your programs. Prepare the Starter Kit board for programming ST6 microcontrollers using Epromer. "AST6/LST6 Assembler and Linker for the ST6 Family - User Manual". "Using The Starter Kit Board as a Hardware Simulator" on page 23 of this book. "WGDB6 Debugger for the ST6 Family - Getting Started". "Programming ST6 Microcontrollers" on page 27 of this book.
Prepare the Starter Kit board for connecting your "In-Circuit Programming" on page 30 of this book. own in-circuit programming board. Learn how to use Epromer for programming ST6 microcontrollers. Connect your own hardware resource to the Starter Kit board. Run your own program on an ST6 using the Starter Kit board. The Epromer online help. "Connecting External Resources to the Starter Kit Board" on page 22 of this book. "Running Your Own program on the Starter Kit Board" on page 34.
6/38
3
The Starter Kit Hardware
2 THE STARTER KIT HARDWARE
This section describes the ST6 microcontrollers and the Starter Kit board that come with the ST6 Starter Kit. A full schematic of the Starter Kit board is provided in "Hardware Information" on page 36. 2.1 The ST6 Microcontrollers The Starter Kit includes the following microcontrollers: * Two ST62E25, Two ST62E20, One ST62E01 The ST62E25 microcontroller labelled DEMOK25 is pre-loaded with the code DEMOK25.HEX, which includes the demonstration programs (see "Running the Demos" on page 16), as well as the communications protocol program, that enables you to use the Starter Kit board as a simulator (see "Using The Starter Kit Board as a Hardware Simulator" on page 23). The other ST6 microcontrollers are blank. The file Demok25.hex is provided on the diskette labelled "ST622x Starter Kit", so that if you erase it from the ST62E25, you can re-program it following the instructions given in " Programming ST6 Microcontrollers" on page 27. 2.2 The Starter Kit Board The Starter Kit board includes the following resources: * Reset and data control buttons. * LED indicators. * Resistance trimmer. * Temperature control circuit. * RS-232 interface. * Demonstration program selector jumpers. It comes with its own power supply unit that can be plugged into an AC mains source, or a DC source with the following characteristics: * Voltage: 16V min./20V max., Current: 100 mA min. It includes the following connectors: * A parallel port connector (P1) for connection to the host PC when it is used as a hardware simulator or for programming. * A remote resource I/O interface connector (J2) to which you can connect your own hardware resource. * An RS-232 connector, which you can use for observing RS-232 communication control using an ST6. * A connector for your own in-circuit ST6 programming board. See "Application Board Connections" on page 30 for further details.
7/38
3
The Starter Kit Hardware
Below is a block diagram of the Starter Kit board:
POWER SUPPLY UNIT RS232 P2 J3 JP1 DAC LEDs TEMPERATURE TRIMMER CONTROL
ST62E25
PARALLEL CONNECTION TO PC AND SOFTWARE SIMULATOR P1 ST622x I/O CONNECTION J2 USER APPLICATION
EPROM PROGRAMMER
IN-CIRCU IT PROGRAMMING J1
8/38
3
The Starter Kit Hardware
The following diagram shows the layout of the Starter Kit board.
1 2 3 4 5 6 7 8 9 In-circuit programming connector (J1). 8 Mhz oscillator. PC connector P1. 4 LEDs. 11 12 13 14 RESET button. Demonstration routine selector. RS232 interface circuit and connector. 10 K trimmer. DIL 20-28 ZIF MCU socket. DIL 16 ZIF MCU socket. Remote resource I/O interface connector J2. "ST6220" or "ST6225" device selection jumpers W1. "Programming" or "User" operating mode selection jumpers W2.
Heater resistor LED indicator LD6. 15 Power supply JACK connector J3. 16 Heater resistor. Power supply LED indicator LD5. Thermistor. 17 18 19
10 "+" and "-" buttons.
1 W2 2 3 4 5 W4 6 7 8 W10 9 W5 W6 W8 W9 W7 W1
19 18 17 16
W3
15 14 13 12 11 10
9/38
3
The Starter Kit Hardware
2.3 Oscillator An oscillator feeds the ST6225 OSCIN input with an 8 MHz clock signal. You can disconnect the oscillator by removing the two jumpers W2 (marked 19 on the Starter Kit board diagram on page 9).
8MHz OSCILLATOR
USER OSCin JUMPER W2 PROG
PROGRAMMING CLOCK FROM P1 (only when programming microcontrollers)
2.4 Reset Button This activates the ST6225 RESET input when pressed. A power-on reset circuit is also provided. 2.5 + And - Buttons These are connected to PB3 and PB4 pins on the microcontroller respectively. They drive the PB3 and PB4 inputs down to GND when pressed. You can disconnect PB3 by removing the W8 jumper, and PB4 by removing the W9 jumper.
W9-PB4 PB4 W8-PB3 PB3 JUMPERS ST6225
10/38
3
The Starter Kit Hardware
2.6 LED Indicators Four LEDs are used for level indication in the demonstration routines. They are connected to the ST6225 pins: PA0 to PA4 (when programmed as outputs) to demonstrate direct LED-driving capability. The 4 LEDs can be disconnected by removing the W3-PA0 to 3 jumpers.
VDD RESISTO R ARRAY W3 JUMPERS ST6225 PA3
PA2
PA1
PA0
2.7 Resistance trimmer A 10 K resistance trimmer feeds the ST6225 PA5 I/O pin (when programmed as an A/D Converter input) with a variable voltage (0 to 5V DC). It is used for A/D conversion demonstration/evaluation. The trimmer can be disconnected from the I/O pin by removing the W4-PA5 jumper.
VDD ST6225 W4 TRIMMER JUMPER PA5
GND
11/38
3
The Starter Kit Hardware
2.8 Temperature Control Circuit This circuit demonstrates temperature control, using the on-chip A/D converter. A Heater resistor circuit (150, 1 Watt) is driven by the TIMER output of the ST6225 microcontroller. The heat level can be controlled by varying the duty cycle of a PWM signal present on the TIMER output. The Heater circuit can be disconnected from the TIMER output pin by removing the W6-TIMER jumper. A thermistor bridge (Negative Temperature Coefficient) is connected to the PA4 I/O pin, which is programmed as an A/D converter input. The voltage value at the A/D converter input decreases as the thermistor temperature increases. The Thermistor circuit can be disconnected from PA4 by removing the W5 jumper. The thermistor is located in close proximity to the Heater resistor on the Starter Kit board, so that it can be used as a sensor to detect the temperature of the resistor body. Demonstration 6 shows how this circuit is used as a feedback loop that controls the temperature level (see "Running the Demos" on page 16).
15V-DC POWER VDD
W5-PA4 HEATE R INDICATOR LED PA4 JUMPER HEATOR RESISTOR (1W) THERMI STOR BRIDGE ST6225 W6-TIMER TIMER OUT
74HC04
JUMPER
12/38
3
The Starter Kit Hardware
2.9 RS-232 Interface The RS-232 interface enables you to communicate with the pre-programmed ST6225 microcontroller provided with the Starter Kit. It includes an RS-232 buffer circuit that is connected to a standard PC-compatible RS-232 SUBD-9 connector. The following table lists the RS-232/ST6 pin connections:
Signal Name Data Transmission (TX) Data Reception (RX) Request to Send (RTS) Clear to Send (CTS) SUBD-9 Pin 2 3 8 7 ST6 Pin PC7 PC6 PC5 PC4
You can disconnect these by removing the corresponding jumpers from W7. The following diagram shows the RS-232 connections and line allocations:
10K +12V 1 6 2 7 3 8 4 9 SUBD - 9 POINT CONNECTOR 5 TX CTS RX RTS RS232 LINE BUFFER PC7 PC4 PC6 PC5 W7 JUMPERS ST6225
TX, RX, CTS and RTS are defined so that the board is used as a slave. To use the board as a master, swap both the RX and TX and the CTS and RTS pin connections on the cable.
13/38
3
The Starter Kit Hardware
2.10 Demonstration Selector Jumpers The demonstration selector is made up of a 6-position jumper W10 (marked 12 on the Starter Kit board diagram on page 9), with each jumper connected to a resistor. Each resistor generates a different voltage. After reset, the voltage value generated by the resistor whose jumper is installed is sent to PA3 on the ST6225. PA3 is programmed as an A/D converter. The program installed on the ST6225 uses the input from PA3 to select the appropriate demo. The following table lists the voltage values generated by each resistor:
Resistor value: RT: 10 K R1: 680 R2: 750 R3: 820 R4: 1 K R5: 1.2 K Theoretical voltage value: No JUMPER: 5 V JUMPER-D1: 0 V JUMPER-D2: 333 mV JUMPER-D3: 666 mV JUMPER-D4: 999 mV JUMPER-D5: 1.332 V
The same principle can be used for keyboard decoding. For a complete example of this, refer to the SGS-Thomson application note: "AN431: Using ST6 Analog Inputs for Multiple Key Decoding". You can disconnect the demonstration selector from PA7 by removing the PA7 jumper from W10 (marked 12 on the Starter Kit board diagram on page 9).
ST6225 JUMPER W10 GND D6 D5 D4 D3 D2 D1 W10-PA7 PA7 R5 R4 R3 R2 R1 RT JUMPER
VCC
14/38
3
Installing the Starter Kit
3 INSTALLING THE STARTER KIT
3.1 Hardware and Software Requirements To be able to install and run the ST6 Starter Kit, you need a PC with: * A 3 1/2" Floppy Disk Drive * 1.5 Mbytes free memory space * A free Centronics compatible parallel port connector * MS-WindowsTM 3.11, NT or 95. 3.2 Connecting the Power Supply If you have AC mains supply, connect the Jack plug on the power supply cable provided to the J3 input socket, then connect the mains plug to a mains source. If you have DC mains supply, connect the male plug on the power supply cable provided to the J3 input socket, then connect the mains plug to a mains source with the following characteristics: * Voltage: 16V min./20V max. * Current: 100 mA min.
NOTE: To avoid a short circuit, always connect the power input cable to the starter kit board before connecting it to a mains power supply.
If you use your own 3.5 mm power supply plug, its polarity must be as follows:
JACK PLUG
-
+
3.3 Installing the Software 1 Place the installation diskette provided into your floppy disk drive. 2 In Windows Explorer or File Manager, view the contents of the diskette, then double-click the Setup icon. 3 Follow the instructions as they appear on screen.
15/38
3
Running the Demos
4 RUNNING THE DEMOS
This section describes the demonstration programs that are provided with the Starter Kit and explains how to run them. 4.1 What the Demos Do The following paragraphs describe the demos that come pre-loaded with the ST6 Starter Kit demos. See "Running the Demonstration Programs" on page 18 below for details on how to select and run a demo. The source files of these demos are provided with the Starter Kit software in the file C:\ST622X\SK622XLI\DEMOK25.ASM. 4.1.1 Demo 1 - Button/LED Indicator Control 1 Initialises the pins as follows:
This pin: PB3 PB4 PA0 to PA3 Is initialised as: Input with pull-up and interrupt. Connected to + button. Input with pull-up and interrupt. Connected to - button. Push-pull outputs. Connected to the four LEDs (as marked on board).
2 Performs a task relating to your actions:
When you do this: Press the + button Press the - button The program does this: Jumps to an interrupt subroutine that lights up each led in turn, from LD4 to LD1. Jumps to an interrupt subroutine that lights up each led in turn, from LD1 to LD4.
4.1.2 Demo 2 - Voltage trimming and LED level indication 1 Initialises the pins as follows:
This pin: PA5 PA0 to PA3 Is initialised as: Analog input. Connected to the trimmer. Push-pull outputs. Connected to the four LEDs (as marked on board).
16/38
3
Running the Demos
2 Reads the A/D converter data register, and turns on a LED according to the Voltage value input by the trimmer: This voltage: 0 to 1 1 to 2 2 to 3 3 to 4 4 to 5 Turns this LED on: none LD1 LD2 LD3 LD4
Adjusting the voltage trimmer (marked 9 on the Starter Kit board diagram on page 9) turns on the appropriate LED. Pressing the + or - buttons has the same effect as increasing or decreasing the voltage. 4.1.3 Demo 3 - Temperature Control 1 Initialises the pins as follows:
This pin: PA4 TIMER PB3 PA0 to PA3 Is initialised as: Analog input. Connected to the thermistor circuit. Push-pull output. Connected to the Heater Resistor circuit. Input with pull-up and interrupt. Connected to + button. Push-pull outputs. Connected to the four LEDs (as marked on board).
2 Reads and stores the A/D converter data register value. This value indicates the temperature at reset. 3 Reads and stores the A/D converter data register value at regular intervals. If this value exceeds the value that was stored at reset, a LED is turned on indicating the difference between the two values. The higher the difference is between the stored value and the read value, the higher LED number is turned on (roughly in steps of LD(n+1) for each additional degree difference). You can either increase the temperature by touching the thermistor (marked 14 on the Starter Kit board diagram on page 9) or pressing the + button.
17/38
3
Running the Demos
4.1.4 Demo 4 - RS-232 Communications This demonstration shows how an RS-232 communication line buffer can be managed using an ST6225 microcontroller. To run this demonstration: 1 Connect the RS-232 connector on the Starter Kit board to a serial port on your PC using the RS-232 cable provided. 2 On the host PC, in MS-DOS, execute the program: PC232_25 (this is supplied on the diskette marked "ST622x Starter Kit "). 3 Follow the instructions as they appear on screen. 4.1.5 Demo 5 - Fuzzy Logic Heater Control This demonstration shows how a heater control application can be developed using a Fuzzy Logic description. The application was developed using fuzzyTECH explorer development tool. For more information about this demonstration, execute the program Fuzzykit.exe from MS-DOS (this is supplied on the diskette marked "ST622x Starter Kit "). 4.2 Running the Demonstration Programs The ST62E25 microcontroller labelled DEMOK25 is programmed with the demonstration software. If this software has been erased from the microcontroller, you can reprogram it from the file DEMOK25.HEX (this is supplied on the diskette marked "ST622x Starter Kit"). For details of how to program microcontrollers refer to "Programming ST6 Microcontrollers" on page 27. To run the demonstrations: 1 Power down the Starter Kit board. 2 Make sure that the pre-programmed ST62E25 is plugged into the DIL connector, and that the DEVICE jumpers W1 (marked 18 on the Starter Kit board diagram on page 9) are set to ST6225 as shown in the following diagram:
ST6225
D E W 1 V I C E ST6220
18/38
3
Running the Demos
3 Select the USER mode using the jumpers marked W2 (marked 19 on the Starter Kit board diagram on page 9), as shown in the diagram below:
USER
M W 2 O D E
PROG
4 Disconnect the cable from the parallel port (P1) connection, if it is connected. 5 Power up the Starter Kit board. 6 Install the demonstration program jumper marked PA7, as shown in the diagram below:
W10
PA7
D1 D2 D3 D4 D5 D6
DEMO SELECTIO N
19/38
3
Running the Demos
7 Select the demo you want to run, by installing the appropriate jumper on W10 (marked 12 on the Starter Kit board diagram on page 9), as indicated on the diagram below:
W10
D1 D2 D3 D4 D5 D6
DEMO SELECTION
Selects demo 1 - Push Button/LED Indicator Control Selects demo 2 - Voltage trimming and LED level indication Selects demo 3 - Temperature Control Selects demo 4 - RS-232 Communications Selects demo 5 - Fuzzy Logic Heater Control Not used
For example, in the above diagram demo 3 is selected. 8 Press the reset button. The selected demo is now ran. To run a different demo, repeat steps 7 and 8.
20/38
3
Running the ST6-Realizer Demo
5 RUNNING THE ST6-REALIZER DEMO
ST6-Realizer is a Windows CASE tool that enables you to develop high-quality applications for the ST6 family of microcontrollers. Using ST6-Realizer, you design your application by drawing symbols and wiring them together. Each symbol represents a process, such as adding two values, and is linked to an ST62 assembly code macro. The wires represent the flow of data, and are linked to variables and constants. You can attach attributes to symbols and wires, in order to attach extra characteristics to them. For example, attaching an attribute of type UINT to a wire defines its value capacity to that of an unsigned integer (0 to 65536). When using ST6-Realizer, you design your application in schemes. A scheme is like a sheet of paper on which you place symbols and draw wires. Each application is designed on one scheme. To install the ST6-Realizer demo: 1 Place the diskette labelled "ST6-Realizer Demo disk" into your floppy disk drive. 2 In Windows Explorer or File Manager, browse the contents of the diskette, and double-click the Install icon. To run the ST6-Realizer demo: If you are using Windows 3.x, double-click the ST6-Realizer demo icon in the ST6 Tools group. If you are using Windows 95, click Start, Programs, ST6 Tools, then the ST6-Realizer demo.
21/38
3
Connecting External Resources to the Starter Kit Board
6 CONNECTING EXTERNAL RESOURCES TO THE STARTER KIT BOARD
You can connect your own external resources to the pre-programmed ST62E25 to debug or evaluate your programs, using the connector J2 (marked 17 on the Starter Kit board diagram on page 9). To be able to connect your own resources to the Starter Kit board, you must disconnect the resources that are already connected to the ST62E25, to avoid external resource/Starter Kit board resource conflicts. The following table lists the Starter Kit board resources and the corresponding J2 connections, and indicates the jumper that disconnects each resource.
On-board resource +5V Supply Heater resis. control 8MHz OSC. none System tasks (Simulator link) RS232 Driver TX Output RS232 Driver RX Input RS232 Driver RTS Output RS232 Driver CTS Input System tasks (Programming) Reset Button System tasks (Programming) System tasks (Programming) System tasks (Programming) Jumper to disconnect W6-TIMER W2 (*) W7-PC7 W7-PC6 W7-PC5 W7-PC4 W2 W2 W2 W2 ST6225 I/O VDD TIMER OSCIN OSCO NMI PC7 PC6 PC5 PC4 VPP RESET/ PB7 PB6 PB5 PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 PIN 28 27 26 25 24 23 22 21 20 19 18 17 16 15 ST6225 I/O VSS PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PB0 PB1 PB2 PB3 PB4 Jumper to disconnect W3-PA0 W3-PA1 W3-PA2 W3-PA3 W5-PA4 W4-PA5 W10-PA7 (*) (*) (*) W8-PB3 W9-PB4 On-bo ard resource GND LED Indicator LED Indicator LED Indicator LED Indicator Thermistor Trimmer none Routine selector System task (Simul. link) System task (Simul. link) System task (Simul. link) + Button - Button
(*) This is not available if the Starter Kit board is connected to a host PC.
NOTE: Some of the signals on the J2 connector are used during ST6 programming, thus you must disconnect any external resource that is connected to J2 before using the Starter Kit board for programming.
22/38
3
Using The Starter Kit Board as a Hardware Simulator
7 USING THE STARTER KIT BOARD AS A HARDWARE SIMULATOR
WGDB6, the ST6 debugger that runs under Windows, lets you test your programs without having to program the EPROM of your target ST6. Depending how much information you want, and how close to real life you want your test environment to be, you can use WGDB6 in one of three ways: * As a software simulator. If you use WGDB6 as a simulator, you need not attach any additional hardware to your PC. The ST6 simulator program, that comes with WGDB6 and is run when you run WGDB6/Simulator, simulates the execution of your program, letting you step through the code and see what happens as the program runs. WGDB6 simulator includes Wave Form Editor, which simulates the output of the pins on your target ST6 in relation to inputs that you define, enabling you to see how its peripherals react to the inputs they receive. * With an ST6 hardware emulator. Emulators are hardware systems that act as your target microcontroller, at the same time capturing detailed information, such as which areas of memory are accessed by the program and what happens when they are accessed. In this case, WGDB6/Emulator provides an interface between the emulator and your PC, displaying data captured by the emulator and letting you implement the WGDB6 features in the emulator, such as software or hardware breakpoints. * With the Starter Kit board as a hardware simulator. This is a cross between the above two. The WGDB6 software simulator simulates the execution of your program, but each time the data space is accessed, it accesses that of the ST6 that is plugged into your Starter Kit board. Thus, using the Starter Kit board with WGDB6, you can view how the real microcontroller peripherals behave when your program is executed. This section describes the third option, how to use the Starter Kit board as a hardware simulator. You can use the Starter Kit board to emulate any ST620x, ST621x or ST622x microcontroller. Note, however that you must use the pre-programmed ST62E25 microcontroller, labelled DEMOK25 supplied with the kit for hardware simulation. Thus, when simulating programs designed for other microcontrollers, make sure that you do not use resources that are not available on the microcontroller your application is designed for.
23/38
3
Using The Starter Kit Board as a Hardware Simulator
7.1 The Data Transmission Driver Data is transferred between the simulated peripheral registers and the ST620x, ST621x and ST622x registers via the host PC's parallel port. The DEMOK25.HEX program, with which the ST62E25 microcontroller that is plugged into the Starter Kit board must be loaded includes the transmission driver. The data transfer driver uses the following bits:
PC parallel port D2 D3 D4 D6 SDOP ST6225 PB2 PB1 RESET NMI PB0 WGDB6 Use Synchronisation Write data to MCU Hardware reset of peripherals Initiates data transfer Read data from MCU
7.2 Technical Limitations The Starter Kit board has the following limitations when used with WGDB6 as a hardware simulator: * Real-time program execution is not supported. * Resetting the ST6225 by power on, pressing the Reset button or external reset does not reset the simulated ST6 core. To perform a complete simulated reset, use the WGDB6 reset command instead. * Interrupts sent by the ST62E25 microcontroller are not supported by the WGDB6 simulator. * The pins: NMI, PB0, PB1 and PB2 on the ST62E25 microcontroller are used for communications with the host PC, and are thus not available for simulation.
NOTE: Do not connect any external resources to the corresponding J2 connector pins when using the Starter Kit board as a peripheral emulator.
24/38
3
Using The Starter Kit Board as a Hardware Simulator
To use the Starter Kit board as a hardware simulator: 1 Power down the Starter Kit board. 2 Make sure that the ST62E25 labelled DEMOK25 is plugged into the DIL28 socket, and that the DEVICE jumpers W1 (marked 18 on the Starter Kit board diagram on page 9) are set to ST6225 as shown in the following diagram:
ST6225
D E W 1 V I C E ST6220
3 Select the USER mode using the jumpers marked W2 (marked 19 on the Starter Kit board diagram on page 9), as shown in the diagram below:
USER
M W 2 O D E
PROG
4 Connect the Parallel port P1 on the Starter Kit board to a spare parallel port on your PC using the cable provided with the Starter Kit. 5 Power up the Starter Kit board.
25/38
3
Using The Starter Kit Board as a Hardware Simulator
To run WGDB6: * If you are using Windows 95, click the Start button, point to Programs, then ST6 Tools, then click WGDB6/Simulator. * If you are using Windows 3.x, double-click the appropriate WGDB6/Simulator icon in the ST6 Tools program group. Refer to "WGDB6 Debugger for the ST6 Family - Getting Started" in the "ST6 Software Development Tools" manual for full instructions on how to use WGDB6. 7.3 Error Messages The following table lists the error messages you may encounter when using WGDB6 with the Starter Kit board:
Error message Error 116 Port B protected when using board. Description This means that WGDB6 tried to access the PORT B registers. These are used for communications with the board. This means that a problem occurred during communications between the host PC and the board. Perform the checks listed below.
Error 117 Communication error with ST620x/ ST621x/ST622x board.
7.4 Troubleshooting If there is a communications problem between WGDB6 and the Starter kit board, the title "WGDB6 Simulator" appears in the WGDB6 title bar. In this case, you should check the following: * That the Starter Kit board is correctly powered up. * That the parallel port cable is correctly connected. * That the device jumpers (W2) are in the USER position. * That the device type selection jumpers (W1) are in the ST6225 position. * That an ST6225 is plugged into the Starter Kit board, and it is programmed with DEMOK25.HEX.
26/38
3
Programming ST6 Microcontrollers
8 PROGRAMMING ST6 MICROCONTROLLERS
You can use the Starter Kit board, in conjunction with the program Epromer, to program ST620x, ST621x or ST622x microcontrollers. You can also perform in-circuit programming of ST620x, ST621x or ST622x OTP/EPROM microcontrollers using your own board, connected to the Starter Kit board via the connector J1 (marked 1 on the Starter Kit board diagram on page 9). 8.1 Programming Signals The following table shows the programming signals and states and their corresponding pin numbers.
Programming signals PB7 PB6 PB5 TEST OSCIN RESET PB3 Programming states High High/Low High/Low 5V/12V High/Low High/Low HIgh MCU DIL28 J2 MCU pin connector Pin 12 Pin 12 Pin 13 Pin 13 Pin 14 Pin 14 Pin 10 NC Pin 3 Pin 3 Pin 11 Pin 11 PIn 16 Pin 16 MCU DIL20 J2 MCU pin connector Pin 8 Pin 12 Pin 9 Pin 13 Pin 10 Pin 14 Pin 6 Pin 10 Pin 14 Pin 7 Pin 16 Pin 11 Pin 12 Pin 16 MCU DIL16 J2 MCU pin connector Pin 7 Pin 12 Pin 8 Pin 13 Pin 9 Pin 14 Pin 5 Pin 10 Pin 2 Pin 7 Pin 6 Pin 11 NC NC
NOTE: Some of the signals on the J2 connector are used during ST6 programming, thus if you have connected an external resource to J2, you must disconnect it before using the Starter Kit board for programming.
This section describes how to set up the Starter Kit board for programming microcontrollers, and lists the connection requirements for in-circuit application boards.
27/38
3
Programming ST6 Microcontrollers
8.2 Setting Up the Starter Kit Board 1 Power down the Starter Kit board. 2 Plug the ST6 microcontroller you want to program into the U3 or U4 ZIF connector, according to the following diagram:
U4
1 28
ST62x25 ST62x15
U3
1 16
2 3 4 5 6
ST6225
27 26 25 24 23 22 21 20 19 18 17 16 15
2 ST62x0015 3 ST62x0114 4 5 6 7 8
ST62x03
1 2 3 4 5 6 7 8 9 10
ST62x08 ST62x09 ST62x10 ST62x20
20 19 18 17 16 15 14 13 12 11
13 12 11 10 9
7
ST6220/6209
8 9 10 11 12 13 14
3 Set the DEVICE jumpers W1 (marked 18 on the Starter Kit board diagram on page 9) for the microcontroller that you want to program according to the following table:
Device Type ST6200 ST6201 ST6203 ST6208 ST6209 ST6210 ST6220 ST6215 ST6225 W1 position ST6220 ST6220 ST6220 ST6220 ST6220 ST6220 ST6220 ST6225 ST6225
28/38
3
Programming ST6 Microcontrollers
As shown in the following diagram: To select ST6225:
ST6225
To select ST6220:
ST6225
D E W 1 V I C E ST6220 ST6220 W 1
D E V I C E
4 Select the PROG mode using the jumpers marked W2 (marked 19 on the Starter Kit board diagram on page 9), as shown in the diagram below:
USER
M W 2 O D E
PROG
5 Connect the Parallel port P1 on the Starter Kit board to a spare parallel port on your PC using the cable provided with the starter kit. 6 Power up the Starter Kit board. You can now use Epromer to program the microcontroller that is plugged into the Starter Kit board.
NOTE: Epromer does not work under Windows NT.
To run Epromer from Windows 3.x, double-click the Epromer icon in the ST6 Tools group. To run Epromer from Windows 95, click Start, Programs, ST6 Tools, then Epromer. For instructions on how to operate Epromer, click Help in the Epromer main window.
29/38
3
Programming ST6 Microcontrollers
8.3 In-Circuit Programming You can perform in-circuit programming of ST620x, ST621x or ST622x OTP/EPROM microcontrollers using your own board, connected to the Starter Kit board via the connector J1 (marked 1 on the Starter Kit board diagram on page 9). 8.3.1 Application Board Connections The following paragraphs specify the connection requirements between your application board and the Starter Kit board. The application board must have a suitable 16-way connector (8x2 header HE10) to be connected via a 16-way cable to connector J1 (marked 1 on the Starter Kit board diagram on page 9) on the Starter Kit board. The following table shows the required pin connections:
ST620x, ST621x and ST622x Pins PB6 PB5 OSCin PB7 RESET VPP/TM VDD VSS Connector Pins Pin 1 Pin 3 Pin 5 Pin 7 Pin 9 Pin 13 Pin 14, 16 Pin 2, 4, 6, 8, 10
VDD Use of the VDD connection is optional, depending on whether the application board supply can or cannot be disconnected. If the application board supply is disconnected, you can supply it through pins 14 an 16 of the connector, as long as the total load current does not exceed 100 mA, and the capacitive load is less than 50 F. If the application board has its own power supply, its voltage must be set to 5V, so that logic levels are compatible with those of the Starter Kit board. OSCin Synchronises the programming operations using a clock generated by the programming tool. OSCin is located on the application board, and must be directly connected to Pin 5 on the 16way connector. No isolation is needed as long as a quartz crystal or ceramic resonator is used in the application. If an external clock generator is used in the application, it must be disconnected during in-circuit programming.
30/38
3
Programming ST6 Microcontrollers
RESET Controls the programming mode entry. To prevent signal level contention, RESET must be directly connected to Pin 9 on the 16-way connector, and must be isolated from other nodes on the application board. Any direct connection to V DD, VSS or an output must be avoided. This pin can be connected to a CMOS input, a 2 K pull-up, a 10 KOhm pull-down or left open (Internal pull-up). The capacitive load of the RESET pin should not exceed 1
F.
Pins 1 and 7 on the 16-way connector are used to establish communications between the programming tool and the microcontroller. To prevent signal-level contention, Pins 1 and 7 must be directly connected to PB6 and PB7 on the 16-way connector, and must be isolated from other nodes on the application board. Any direct connection to V DD, VSS or an output must be avoided. These pins may be connected to a CMOS input, a 2 K pull-up, a 10 KOhm pull-down or left open (Internal pull-up). If pin 3 on the 16-pin connector is connected to the target device, the same applies. Connection to pin 3 is not necessary if a high voltage level is guaranteed by the board design. Some I/O pins are not connected to the 16-way connector and must be set to a high level during programming. This is normally achieved by the RESET signal sent by the programming tool through the 16-way cable, setting the I/O pins as inputs with an internal 300 K pull-up. To keep these I/O lines high, direct connection of these pins to GND or to any other signal at low level (even temporarily) must be avoided. Only connections to another CMOS input, to an external pull-up or a 10 M pull-down is allowed. The signals on PB3 and PB5 (if not directly biased through pin 3 of the 16-way connector) must be kept at a high voltage level. The Vpp/TM pin must not be directly connected to GND/V SS on the application board, to avoid any conflict with the programming voltage provided by the programming tool via pin 13 on the connector. This pin should be pulled down by a resistor with minimum value of 10 K . You must add a 100 nF ceramic capacitor between Vpp/Test and V SS.
31/38
3
Programming ST6 Microcontrollers
8.4 Setting Up the Starter Kit Board for In-Circuit Programming 1 Power down the Starter Kit board. 2 Set the DEVICE jumpers W1 (marked 18 on the Starter Kit board diagram on page 9) to ST6225, as shown in the following diagram:
ST6225
D E W 1 V I C E ST6220
3 Select the PROG mode using the jumpers marked W2 (marked 19 on the Starter Kit board diagram on page 9), as shown in the diagram below:
USER
M W 2 O D E
PROG
4 Connect the Parallel port P1 on the Starter Kit board to a spare parallel port on your PC using the cable provided with the starter kit. 5 Connect your application board to the connector J1 (marked 1 on the Starter Kit board diagram on page 9) on the Starter Kit board. 6 Power up your Starter Kit board. You can now use Epromer to program the microcontroller that is plugged into the Starter Kit board.
NOTE: Epromer does not work under Windows NT.
32/38
3
Programming ST6 Microcontrollers
To run Epromer from Windows 3.x, double-click the Epromer icon in the ST6 Tools group. To run Epromer from Windows 95, click Start, Programs, ST6 Tools, then Epromer. For instructions on how to operate Epromer, click Help in the Epromer main window.
NOTE: If your application board is not powered by the Starter Kit, you must connect it to a 5V DC power supply before you start programming.
33/38
3
Running Your Own program on the Starter Kit Board
9 RUNNING YOUR OWN PROGRAM ON THE STARTER KIT BOARD
You can run your own programs on the Starter Kit board, using any of the Starter Kit resources: * 8 Mhz oscillator * 10 Kohm trimmer * + and - buttons * Thermistor bridge * Heater resistor control circuit
NOTE: You can only run applications on the Starter kit board using ST6225 microcontrollers. If your application is designed for another microcontroller, you must change its port definitions to match those of the ST6225.
You can also use your own hardware resource by connecting it to the connector J2 (see "Connecting External Resources to the Starter Kit Board" on page 22). To run your own program on the Starter Kit board: 1 Power down the Starter Kit board. 2 Program the microcontroller with the application you want to run following the instructions given in "Programming ST6 Microcontrollers" on page 27. 3 Make sure that the programmed microcontroller is plugged into the DIL connector, and that the DEVICE jumpers W1 (marked 18 on the Starter Kit board diagram on page 9) are set to ST6225, as shown in the following diagram:
ST6225
D E W 1 V I C E ST6220
34/38
3
Running Your Own program on the Starter Kit Board
4 Select USER mode using the jumpers marked W2 (marked 19 on the Starter Kit board diagram on page 9), as shown in the diagram below:
USER
M W 2 O D E
PROG
5 Disconnect the cable from the parallel port (P1) connection, if it is connected 6 Disconnect the demonstration program selector by removing the jumper marked PA7 in the Demonstration Selector circuit marked 12 in the Starter Kit board diagram on page 9. 7 If you are using your own hardware resources connected to J2 (marked 17 on the Starter Kit board diagram on page 9), disconnect any Starter Kit board resources that use the same pins, following the instructions given in "Connecting External Resources to the Starter Kit Board" on page 22. 8 Power up the Starter Kit board.
35/38
3
Hardware Information
10 HARDWARE INFORMATION
10.1 Parts List
Item 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 Quantity 16 1 8 7 1 2 1 1 1 1 3 1 1 1 1 1 4 2 1 1 3 1 4 1 2 Reference C1,C2,C5,C7,C13,C17,C18,C19,C21,C22,C23,C25,C31,C34,C35,C37 C3 C4,C6,C24,C26,C27,C28,C29,C30 C8,C9,C10,C11,C12,C15,C16 C14 C20,C32 C33 C36 D1 D2 D3,D4,D5 G1 J1 J3 JP1 L1 LD1,LD2,LD3,LD4 LD5,LD6 P1 P2 R3,R7,R8 R4 R2,R5,R6,R16 R9 R10,R21 Description 100nF DSS306 100MF-CT-16V 100pF 330pF 1.0NF 22MF-EA-25V 1MF-ER-63V BYV 10-20 SCHO 1N4004 1N4148 SOLDER BRIDGE HE10-16DM JACK ED102 2,2UH_MC LED-RED-RECT LED-RED-5MM SUBD25C-F-ANGLE SUBD9C-F-ANGLE 4.7K 560R 10K 3.3K 1.2K
36/38
3
10.2 Starter Kit Board Schematic
R10 GND J3 JACK C20 1 JP1 2 1 ED102 3 1.0NF L1 1.2K
LD5 POWER 1N4004 D2 C32 1.0NF C33 T5 R11 BD236-PNP-60V D3 3.3 1N4148 U6 C21 100nF GND U7 D4 22MF-EA-25V GND BC547B-NPN-45V R2 10K D5 R3 4.7K C22 100nF
78L05 C19 100nF
VCC GND
1 2 3
SOC24 GND-x0 1 2 3 W3 SOC28 GND-x5 SOC5 VDD-x0 1 2 3 W2 SOC1 VDD-x5
ST62x20/25 MCU SOCKET C6
VDD SOC2 SOC3 SOC4 SOC5 SOC6 SOC7 SOC8 SOC9 SOC10 SOC11 SOC12 SOC13 SOC14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 U4 VDD TIMER OSCIN OSCOUT NMI PC7 PC6 PC5 PC4 VPP RESET/ PB7 PB6 PB5 ST62E25 GND VSS PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PB0 PB1 PB2 PB3 PB4 28 27 26 25 24 23 22 21 20 19 18 17 16 15 SOC27 SOC26 SOC25 SOC24 SOC23 SOC22 SOC21 SOC20 SOC19 SOC18 SOC17 SOC16 SOC15 VDD
ST620x MCU SOCKET
C5 C4 100nF 16 15 14 13 12 11 10 9 GND 1 SOC7 2 3 SOC5 4 SOC10 5 SOC11 6 SOC12 7 SOC13 8 U3 VSS VDD OSCIN PA1 OSCOUT PA2 PA3 NMI PB0 VPP RESET PB1 PB3 PB7 PB5 PB6 ST62E01
2 4
LM7805 C23 100nF C24 D1 R4
VDD
1 2 3
2,2UH_MC GND
GND T1 U9 78L05
560 T4 BC557B-PNP-45V
'X0/x5 SUPPLIES SELECTOR VPP 2 W2 3 1 PROG W4 3 2 1 USER GND
W1
SOC14
POWER SUPPLY PC-AT INTERFACE CONNECTOR P1 SUBD25C-F-COUDE 1 14 D0 2 15 3 D1 16 4 D2 17 D3 5 18 D4 6 19 D5 7 20 D6 8 21 9 D7 REM/ 22 10 23 11 24 12 25 GND 13 2 U5A 74HC04 150-SIL8-4R 1 3 5 7 RS3A 2 RS3B 4 RS3C 6 RS3D 8 ENVPP OSCPI TROMIN RESETP TM2 PPINT GND R1 100 100pF C16 GND (SDOP-25) (PB0-25) 3 1 5 U5C
GND
C34 100nF GND
C35 100nF Z1 GND R7 4.7K T3
SOC10 (VPP 'x0/'x5)
SOC22 (PA5-25)
W4
1 2 W13 VDD RV1
Voltage adjust 10K-RV GND
DZ 8.2V GND 10K
6 74HC04 U5B 4
R5
BC547B-NPN-45V HEATER CONTROL POWER R13 150 R9 3.3K R12 1K SOC2 (TIMER-25) LD6
1 RS1A 2 3 RS1B 4 7 RS1D 8
RESETP/ R15 1K 1MF-ER-63V SOC11
GND
W6
1 2 W15 RS4D VCC
U5D 9 8 7 74HC04 8
SDOP
C36 5 1
SW-PUSH 3 SW3 Reset Push 2 4 6 8 11 13 15 17 1 19 U1 1A1 1A2 1A3 1A4 2A1 2A2 2A3 2A4
4 2
(RESET/-25)
T2 BD233-NPN-45V GND
DEMO ROUTINES SELECTOR R16 10K VDD JUMPERS SOC20 1 2 (PA7-25) W20 R17 680 1 2 W21 R18 750 1 2 W22 R19 820 1 2 W25 R20 1K 1 2 W26 R21 1.2K 1 2 W27 1 2 W28 GND
W9
USER 1 2 3 PROG 123 W5 USER/ 74HC125 9 2 3 4 VDD 1 5 6 7 8 9 RS2 100K-SIL10-9R-B VCC C17 100nF GND VCC C2 100nF GND GND GND GND VDD VDD VDD C7 C31 C18 VDD VDD VDD C13 C1 C37 R8 4.7K 10 PROG/ Px0/ Px5/ SIM/ SOC5 (NMI-25) 1 0 8
W2
TROMIN TM2 GND SOC12 SOC19 PPINT OSCPI TROMIN PROG/ SIM/ 1 3
1Y1 1Y2 1Y3 1Y4 2Y1 2Y2 2Y3 2Y4
18 16 14 12 9 7 5 3
100pF SDOP SDOP C12 GND 100pF C9 GND
SOC13 SOC14 100pF C11
(TROMIN) (TM2) VDD 1 RS5E 6 1 RS5D 5 LD3 (en. VCC) (dis. RESET/) (dis. VPP) 1 RS5B 3 LD2 1 RS5A 2 390-SIL10-9R LD1 LEDs BAR-GRAPH INDICATOR
"+" and "-" PUSH-BUTTONS
1G 2G 74HC244
100pF C8
SOC5 (NMI-25) SOC17 (PB2-25) SOC18 (PB1-25) 100pF C10 3 RS4B 4 5 RS4C 6 1 RS4A 2 10K-SIL8-4R GND 1 2 W12 W10 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 1 W6 2 GND GND SOC27 SOC26 SOC25 SOC24 SOC23 SOC22 SOC21 SOC20 SOC19 SOC18 SOC17 SOC16 SOC15 D0 D4 D1
W3
2 2 2 2
SOC16 (PB3-25) SOC27 (PA0-25) SOC26 (PA1-25) SOC25 (PA2-25) SOC24 (PA3-25) GND 2 4
W8
LD4
U2C
OSCPI
12
U2D
74HC125 11
ST62x0 1 1 2 2 3 3 ST62x5
2 W1
U2A
74HC125 3
SOC7 (OSCIN-0) 100pF G1 C15 DSS306 GND 330pF 6 C14 1 33 1 2 2 C3 4 GND
VCC
1 W11 1 W9 1 W8 1 W7
1 2 W23 SW-PUSH 3 1 5 SW1
SOC15 (PB4-25) GND
1 2 W24
W9
+
SW2 SW-PUSH
SOC3 (OSCIN-5)
W1
1 XT1
J2
SOC2 SOC3 SOC4 SOC5 SOC6 SOC7 SOC8 SOC9 SOC11 SOC12 SOC13 SOC14 GND VDD VDD
RS232 INTERFACE CIRCUIT
VDD GND C27 1 3 C28 4 5 11 10 12 9 U8 C1+ C1C2+ C2TD1 TD2 C30 C26 GND V+ VOUT1 OUT2 2 C29 6 14 7 13 8 TX CTS RX RTS 1 6 2 7 3 8 4 9 5 P2 R6 10K
GND 3 5
USER/
FOUT
8MHZ-OSC VDD
8MHZ OSCILLATOR
W5
1 2 W14 R14 CTN 4,7K
J1 SOC23 (PA4-25) SOC13 SOC14 SOC3 SOC12 SOC11 VPP
GND GND GND
C25 THERMISTOR CIRCUIT 100nF GND GND
HE10-16DM 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
SOC6 (PC7-25) SOC8 (PC5-25) SOC7 (PC6-25) SOC9 (PC4-25)
W7
1 W17 1 W18 1 W16 1 W19 2 2 2 2
Hardware Information
RD1 INP1 RD2 INP2 MAX232
MW2X14C VDD
GND RS232 SUBD-9 CONNECTOR
USER'S I/Os CONNECTOR IN-SITU PROGRAMMING CONNECTOR
J2
GND
13
U5F
74HC04 12 11
U5E 10 74HC04
VR02088A
37/38
3
Hardware Information
Notes:
Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of SGS-THOMSO N Microelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. SGS-THO MSON Microelectronics products are not authorized for use as critical components in life support devices or systems without the express written approval of SGS-THOMSON Microelectronics. (c)1997 SGS-THO MSON Microelectronics - All rights reserved. Purchase of I2 C Components by SGS-THOMSON Microelectronics conveys a license under the Philips I2C Patent. Rights to use these components in an I2C system is granted provided that the system conforms to the I2C Standard Specification as defined by Philips. SGS-THOMSON Microelectronics Group of Companies Australia - Brazil - Canada - China - France - Germany - Hong Kong - Italy - Japan - Korea - Malaysia - Malta - Morocco - The Netherlands Singapore - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom - U.S.A.
38/38


▲Up To Search▲   

 
Price & Availability of 5111

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X