Part Number Hot Search : 
MM3Z24VB 2SJ23 DBLS154G U30BCT ASIC1810 MAX15008 JK30160 JK30160
Product Description
Full Text Search
 

To Download 5514 Datasheet File

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


  Datasheet File OCR Text:
 R
ST623x-KIT
STARTER KIT FOR ST6230 and ST6232 MCUs
HARDWARE FEATURES s Immediate evaluation of ST6230 and ST6232 devices, with stand-alone demonstration routines. s Simulation and debugging within the user's real application environment. s In-socket programming of all OTP and EPROM ST6230 (DIP28) and ST6232 (SDIP42) devices. s In-circuit programming of all OTP and EPROM ST6230 and ST6232 devices directly on the user's application board (all packages).
SOFTWARE FEATURES s Software simulation, including I/O read/write. s Assembler, Linker and Simulator. s In-socket OTPandEPROMprogramming utilities. s In-circuit OTP and EPROM programming utilities s Application examples and demonstrations
December 1997
1/40
3
Table of Contents
ST623x-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 2.11 Frequency Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 3 INSTALLING THE STARTER KIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1 Hardware and Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 Connecting the Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 4 RUNNING THE DEMOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 4.1 What the Demos Do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
4.1.1 4.1.2 4.1.3 4.1.4
Demo Demo Demo Demo
1234-
Button/LED Indicator Control . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Voltage trimming and LED level indication . . . . . . . . . . . . . . . . . 17 Temperature Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 RS-232 Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.5 Demo 5 - Frequency Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.1.6 Demo 6 - Fuzzy Logic Heater Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2 Running the Demonstration Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5 RUNNING THE ST6-REALIZER DEMO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 6 CONNECTING EXTERNAL RESOURCES TO THE STARTER KIT BOARD. . . . . . . . . . . . . . 23 7 USING THE STARTER KIT BOARD AS A HARDWARE SIMULATOR . . . . . . . . . . . . . . . . . . 25 7.1 The Data Transmission Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.2 Technical Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 7.3 Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 7.4 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 8 PROGRAMMING ST6 MICROCONTROLLERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 8.1 Setting Up the Starter Kit Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 8.2 In-Circuit Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
8.2.1 Application Board Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.3 Setting Up the Starter Kit Board for In-Circuit Programming . . . . . . . . . . . . . . . . . . . . . . . 32 9 RUNNING YOUR OWN PROGRAM ON THE STARTER KIT BOARD . . . . . . . . . . . . . . . . . . . 33 10 HARDWARE INFORMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 10.1 Parts List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 10.2 Starter Kit Board Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2/40
3
Introduction
1 INTRODUCTION
The ST623x Starter Kit provides you with all you need to start designing, developing and evaluating programs for ST6230 and ST6232 microcontrollers immediately. The ST623x 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. * One ST6230 and one ST6232 microcontroller. * A complete set of paper documentation and online help. The demonstration programs, that come pre-loaded on the ST6232 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 voltage control oscillator, three 7-segment displays, 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: \ST623x \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 pe-
3/40
3
Introduction
ripherals 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 Getting 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/40
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: ST6232 Programmed with DEMOK32.HEX Starter Kit board ST6 programmed with program to run To use the Starter Kit board as a software simulator: PC running WGDB6 Simulator ST6232 Programmed with DEMOK32.HEX To run your own program:
Parallel port connected to P1
5/40
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: Refer to: Find out about the Starter Kit board and ST6 "The Starter Kit Hardware" on page 7 of this microcontrollers provided with the kit. book. Install the Starter Kit software, and connect the power supply to the board. Install and run the ST6-Realizer demonstration software. Find out what the demonstration applications do, and run them. "Installing the Starter Kit" on page 16 of this book. "Running the ST6-Realizer Demo on " page 22 of this book. "Running the Demos" on page 17 of this book.
Learn how to develop source code for AST6 "AST6/LST6 Assembler and Linker for the and LST6. ST6 Family - User Manual". 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. "Using The Starter Kit Board as a Hardware Simulator" on page 25 of this book. "WGDB6 Debugger for the ST6 Family Getting Started". "Programming ST6 Microcontrollers on " page 29 of this book.
Prepare the Starter Kit board for connecting "In-Circuit Programming" on page 30 of this your own in-circuit programming board. book. Learn how to use Epromer for programming ST6 microcontrollers. The Epromer online help.
Connect your own hardware resource to the "Connecting External Resources to the Starter Kit board. Starter Kit Board" on page 23 of this book. Run your own program on an ST6 using the "Running Your Own program on the Starter Starter Kit board. Kit Board" on page 33.
6/40
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 35. 2.1 The ST6 Microcontrollers The Starter Kit includes the following microcontrollers: * One ST6230, One ST6232 The ST6232 microcontroller is pre-loaded with the code DEMOK32.HEX, which includes the demonstration programs (see "Running the Demos" on page 17), 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 25). The other ST6 microcontrollers are blank. The file Demok32.hex is provided on the diskette labelled "ST623x Starter Kit", so that if you erase it from the ST6232, you can re-program it following the instructions given in "Programming ST6 Microcontrollers" on page 29. 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. * Three 7-segment displays. * A voltage control oscillator. 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/40
3
The Starter Kit Hardware
Below is a block diagram of the Starter Kit board:
POWER SUPPLY UNIT SPI J3 JP1 UART RS232 P2 DAC VCO DISPLAY
TEMPERATU RE CONTROL TRIMMER
ST62E32
PARALLEL CONNECT ION TO PC AND SOFTWARE SIMULATOR P1 ST623x I/O CONNECTION J2 USER APPLICATION
EPROM PROGRAMMER
IN-CIRC UIT PROGRAMMING J1
8/40
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 10 In-circuit programming connector (J1). Demonstration routine selector. 8 Mhz oscillator. PC connector P1. LEDs. Voltage control oscillator. Power supply JACK connector J3. Heater resistor LED indicator LD4. Power supply LED indicator LD5. Heater resistor. 11 12 13 14 15 16 17 18 19 20 Thermistor. RESET button. "+" and "-" buttons. RS232 interface circuit and connector. 7-segment displays. DIP 28 ZIF MCU socket. Remote resource I/O interface connector J2. SDIP 42 ZIF MCU socket. 10 K trimmer. "Programming" or "User" operating mode selection jumpers W2.
1 2 3 4 5 W4 6 7 8 9
10
W2
W3
20 19
W1
ST6230 ST6232
18 17 16
W5
15 14 13
W6
W11 W12
12 11
9/40
3
The Starter Kit Hardware
2.3 Oscillator An oscillator feeds the ST6232 OSCIN input with an 8 MHz clock signal. You can disconnect the oscillator by removing the two jumpers W2 (marked 20 on the Starter Kit board diagram on page 9).
8MHz OSCILLATOR
ST6232
USER OSCin JUMPER W2 PROG
PROGRAMMING CLOCK FROM P1 (only when programming microcontrollers)
2.4 Reset Button This activates the ST6232 RESET input when pressed. A power-on reset circuit is also provided. 2.5 + And - Buttons These are connected to PA6 and PA7 pins on the ST6232 respectively (when programmed as inputs). They drive the PA6 and PA7 inputs down to GND when pressed. They increment the three 7-segment displays in Demo 1 (see "Demo 1 Button/LED Indicator Control" on page 17). You can disconnect PA6 by removing the W11 jumper, and PA7 by removing the W12 jumper.
JUMPERS W11 SW1 PA6 W12 SW2 PA7 ST6232
10/40
3
The Starter Kit Hardware
2.6 LED Indicators Two LEDs are used for level indication in the demonstration routines. They are connected to the ST6232 PA0 and PA1 pins (when programmed as outputs). They are used during the RESET operation. The 2 LEDs can be disconnected by removing the W4-PA0 and 1 jumpers.
VDD RESISTOR ARRAY LD1 W4 JUMPERS
PA0 RS6A ST6232 PA1 RS6B LD2
2.7 Resistance trimmer A 10 K resistance trimmer feeds the ST6232 PC5 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. This process id demonstrated by Demo 2 (see "Demo 2 - Voltage trimming and LED level indication" on page 17). The trimmer can be disconnected from the I/O pin by removing the W3-PC5 jumper.
VDD ST6232 W3 TRIMMER RV1 PC5 JUMPER
GND
11/40
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 ST6232 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 W7-TIMER jumper. A thermistor bridge (Negative Temperature Coefficient) is connected to the PC6 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 PC6 by removing the W6 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 "Demo 3 - Temperature Control" on page 18).
15V-DC POWER VDD R27 R29 HEATER INDICATO R LED W6 PC6 R28 HEATOR RESISTOR (1W) THERMI STOR BRIDGE R33 W7 R24 T4 JUMPER 74HC04 TIMER OUT JUMPER
ST6232
LD4
12/40
3
The Starter Kit Hardware
2.9 RS-232 Interface The RS-232 interface enables you to communicate with the pre-programmed ST6232 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/ST6232 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 PD5 PD4 PD0 PD7
You can disconnect these by removing the corresponding jumpers from W10. The following diagram shows the RS-232 connections and line allocations:
10K +12V R17 6 2 7 3 8 4 9 SUBD - 9 POINT CONNECTOR P2 5 1 TX CTS RX RTS RS232 LINE BUFF ER PD5 PD7 PD4 PD0 U12 W10 JUMPERS ST6232
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/40
3
The Starter Kit Hardware
2.10 Demonstration Selector Jumpers The demonstration selector is made up of a 6-position jumper W1 (marked 2 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 PC7 on the ST6232. PC7 is programmed as an A/D converter. The program installed on the ST6232 uses the input from PC7 to select the appropriate demo. The following table lists the voltage values generated by each resistor:
Resistor value: R2: 10 K R3: 680 R4: 750 R5: 820 R6: 1 K R7: 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 JUMPER-D6: 1.539 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 PC7 by removing the PC7 jumper from W1 (marked 2 on the Starter Kit board diagram on page 9).
JUMPERS Gnd D6 D5 D4 D3 D2 D1 W1 PC7 R7 R6 R5 R4 R3 R2 JUMPER ST6232
VCC
14/40
3
The Starter Kit Hardware
2.11 Frequency Measurement This application simulates the servo-control of a motor's speed using a regulation loop. The 16-bit Autoreload Timer output PWM generates a frequency of about 15Khz. You can increase or decrease the duty cycle of this frequency using the "+" and "-" buttons. This frequency is then filtered to produce a proportional DC voltage of between 0 and 5 Volts, which attacks the voltage control oscillator (marked 6 on the Starter Kit board diagram on page 9). The voltage control oscillator produces a frequency at its output in the interval of 50Hz-1Khz. The 16-bit Autoreload Timer measures this frequency through its input port CP2 with a frequency precision of 1/100. The result is displayed on the three 7-segment displays. Demo 5 demonstrated this process (see "Demo 5 - Frequency Measurement" on page 19). The Frequency Measurement circuit can be disconnected from the CP2 input and the PWM output by removing the corresponding W8 and W9 jumpers.
ST6232 U13 R20 VCO C32 JUMPER
W9
PWM
JUMPER W8
CP2
15/40
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.
16/40
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 19 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:\ST623X\SK623XLI\DEMOK32.ASM. 4.1.1 Demo 1 - Button/LED Indicator Control 1 Initialises the pins as follows:
This pin: PA6 PA7 Is initialised as: Input with pull-up and interrupt. Connected to + button. Input with pull-up and interrupt. Connected to - button.
PD1 and PD3 Outputs, connected to the LED display driver for the 7segment displays.
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 adds one to the number displayed on the 7-segment displays. Jumps to an interrupt subroutine that subtracts one to the number displayed on the 7-segment displays.
4.1.2 Demo 2 - Voltage trimming and LED level indication 1 Initialises the pins as follows:
This pin: PC5 Is initialised as: Analog input. Connected to the trimmer RV1.
PD1 and PD3 Outputs, connected to the LED display driver for the 7segment displays.
2 Reads the A/D converter data register, and displays the voltage on the 7-segment displays.
17/40
3
Running the Demos
Adjusting the voltage trimmer (marked 19 on the Starter Kit board diagram on page 9) displays the appropriate voltage output by the trimmer on the 7-segment displays. 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: PC6 TIMER PB3 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.
PD1 and PD3 Outputs, connected to the LED display driver for the 7segment displays.
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, and displays the difference between the initial temperature and the last-read temperature in C. You can either increase the temperature by touching the thermistor (marked 11 on the Starter Kit board diagram on page 9) or pressing the + button. 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_32 (this is supplied on the diskette marked "ST623x Starter Kit "). 3 Follow the instructions as they appear on screen.
18/40
3
Running the Demos
4.1.5 Demo 5 - Frequency Measurement 1 Initialises the pins as follows:
This pin: PWM Is initialised as: Connected to the input of the Voltage Control Oscillator through an R-C filter) as output (ART16 peripheral). The PWM output is initialised with a frequency of about 15Khz and a duty cycle of 50%. Connected to the input of the Voltage Control Oscillator through an R-C filter) as input (ART16 peripheral). Input with pull-up and interrupt. Connected to + button.
CP2 PA6
PA7 Input with pull-up and interrupt. Connected to - button. PD1 and PD3 Outputs, connected to the LED display driver for the 7segment displays.
2 Reads the frequency at the output of the voltage control oscillator using the CP2 inputs and displays the frequency value on the three 7-segment displays. You can adjust the frequency displayed (between 50Hz and 1Khz) by pressing the "+" and "-" buttons. This adjusts the duty cycle in steps of 15Khz. 4.1.6 Demo 6 - 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 "ST623x Starter Kit "). 4.2 Running the Demonstration Programs The ST6232 microcontroller labelled DEMOK32 is programmed with the demonstration software. If this software has been erased from the microcontroller, you can reprogram it from the file DEMOK32.HEX (this is supplied on the diskette marked "ST623x Starter Kit"). For details of how to program microcontrollers refer to "Programming ST6 Microcontrollers" on page 29.
19/40
3
Running the Demos
To run the demonstrations: 1 Power down the Starter Kit board. 2 Make sure that the pre-programmed ST6232 is plugged into the SDIP 42 ZIF MCU socket. 3 Select the USER mode using the jumpers marked W2 (marked 20 on the Starter Kit board diagram on page 9), as shown in the diagram below: W2
MODE
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 PC7, as shown in the diagram below:
W1
PC7
PROG
USER
D1 D2 D3 D4 D5 D6
DEMO SELECTION
20/40
3
Running the Demos
7 Select the demo you want to run, by installing the appropriate jumper on W1 (marked 2 on the Starter Kit board diagram on page 9), as indicated on the diagram below:
W1
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 -Frequency Measurement Selects demo 6 - Fuzzy Logic Heater Control
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.
21/40
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.
22/40
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 ST6232 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 ST6232, 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 none none System tasks (Simulator link) System tasks (Simulator link) System tasks (Simulator link) 8Mhz OSC. none Routine selector Thermistor Trimmer GND +5V Supply GND +5V Supply System tasks (Programming) Push-button Power-on none System tasks (Programming) System tasks (Programming) JUMPER (*) (*) (*) W2 W1 W6 W3 W2 W2 W2 ST6232 I/O PE4 PE3 PE2 PE1 PE0 OSCIN OSCO PC7 PC6 PC5 VSS VDD VSS VDD VPP /RESET PB7 PB6 PB5 PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 PIN 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 ST6232 I/O PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 TIMER NMI AVSS AVDD PD0 PD1 PD2 PD3 PD4 PD5 PD6 JUMPER W4W4W9 W8 W11 W12 W7 (*) W10 W5 W5 W10 W10 W2 On-bo ard resource LED Indicator LED Indicator none ART16-PWM none ART16-CP2 Push-but.(+) Push-but.(-) Heater resis. control System task (Simul. link) GND +5V Supply RS232 Driver RTS Input SPI-Scl none SPI-Sout RS232 Driver RX Input RS232 Driver TX Input System tasks (Programming)
23/40
3
Connecting External Resources to the Starter Kit Board
On-board resource System tasks (Programming) none
JUMPER W2 -
ST6232 I/O PB4 PB3
PIN 20 21
PIN 23 22
ST6232 I/O PD7 PB0
JUMPER W10 -
On-bo ard resource RS232 Driver CTS Input none
(*) 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.
24/40
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 ST6230 or ST6232 microcontroller. Note, however that you must use the pre-programmed ST6232 microcontroller, labelled DEMOK32 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.
25/40
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 ST6230 or ST6232 registers via the host PC's parallel port. The DEMOK32.HEX program, with which the ST6232 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 ST6232 parallel port D2 PE2 D3 PE1 D4 RESET D6 NMI SDOP PE0 SIMULATOR USAGE 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 ST6232 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 ST6232 microcontroller are not supported by the WGDB6 simulator. * The pins: NMI, PE0, PE1 and PE2 on the ST6232 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.
26/40
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 pre-programmed ST6232 is plugged into the SDIP 42 ZIF MCU socket. 3 Select the USER mode using the jumpers marked W2 (marked 20 on the Starter Kit board diagram on page 9), as shown in the diagram below: W2
MODE
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. 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.
PROG
USER
27/40
3
Using The Starter Kit Board as a Hardware Simulator
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 E protected when using board. Error 117 Communication error with ST6230/ST6232 board. Description This means that WGDB6 tried to access the PORT E 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.
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 (W1) are in the USER position. * That an ST6232 is plugged into the Starter Kit board, and it is programmed with DEMOK32.HEX.
28/40
3
Programming ST6 Microcontrollers
8 PROGRAMMING ST6 MICROCONTROLLERS
You can use the Starter Kit board, in conjunction with the program Epromer, to program ST6230 or ST6232 microcontrollers. You can also perform in-circuit programming of ST6230 or ST6232 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).
NOTE: The PB4, PB5, PB6, PD2, OSCIN, OSCOUT and RESET pins are used to perform programming operations. If these pins are connected to an external resource via J2, you must either disconnect them (see "Connecting External Resources to the Starter Kit Board" on page 23) or set them to high impedance state during programming operations.
This section describes how to set up the Starter Kit board for programming microcontrollers, and lists the connection requirements for in-circuit application boards. 8.1 Setting Up the Starter Kit Board 1 Power down the Starter Kit board. 2 Plug the ST6 microcontroller you want to program into the appropriate MCU socket on the Starter Kit board. 3 Select the PROG mode using the jumpers marked W2 (marked 20 on the Starter Kit board diagram on page 9), as shown in the diagram below: W2
MODE
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. 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.
PROG
USER
29/40
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. 8.2 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.2.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:
ST6230 and ST6232 PB5 PB4 OSCin PB6 RESET PD6 VPP/TM VDD VSS Connector Pins Pin 1 Pin 3 Pin 5 Pin 7 Pin 9 Pin 11 Pin 13 Pin 14, 16 Pin 2, 4, 8
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.
30/40
3
Programming ST6 Microcontrollers
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 16-way 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. 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 PB5 and PB6 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 pulldown 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 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 VSS.
31/40
3
Programming ST6 Microcontrollers
8.3 Setting Up the Starter Kit Board for In-Circuit Programming 1 Power down the Starter Kit board. 2 Select the PROG mode using the jumpers marked W2 (marked 20 on the Starter Kit board diagram on page 9), as shown in the diagram below: W2
MODE
3 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. 4 Connect your application board to the connector J1 (marked 1 on the Starter Kit board diagram on page 9) on the Starter Kit board. 5 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.
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.
32/40
3
USER
PROG
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: * The ST6230 or ST6232 microcontroller. * Reset and data control buttons. * LED indicators. * Resistance trimmer. * Temperature control circuit. * RS-232 interface. * Demonstration program selector jumpers. * Three 7-segment displays. * A voltage control oscillator.
NOTE: You can only run applications on the Starter kit board using ST6232 microcontrollers. If your application is designed for another microcontroller, you must change its port definitions to match those of the ST6232.
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 23). To run your own program on the Starter Kit board: 1 Power down the Starter Kit board. 2 Program an ST6232 microcontroller with the application you want to run following the instructions given in "Programming ST6 Microcontrollers" on page 29, and plug it into the SIDP42 ZIF MCU socket. 3 Select the USER mode using the jumpers marked W2 (marked 20 on the Starter Kit board diagram on page 9), as shown in the diagram below: W2
MODE
USER
PROG
33/40
3
Running Your Own program on the Starter Kit Board
4 Disconnect the cable from the parallel port (P1) connection, if it is connected 5 Disconnect the demonstration program selector by removing the jumper marked PC7 in the Demonstration Selector circuit marked 2 in the Starter Kit board diagram on page 9. 6 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 23. 7 Power up the Starter Kit board.
34/40
3
Hardware Information
10 HARDWARE INFORMATION
10.1 Parts List
Item Quantit y 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 29 30 20 1 6 8 1 3 1 2 1 1 3 1 1 1 1 2 2 1 1 2 1 1 1 1 1 2 1 6 1 5 Reference C1,C2,C3,C4,C8,C11,C12,C13,C18,C19,C20,C21,C26,C28,C29,C32,C34, C35,C39,C41 C40 C22,C23,C25,C30,C31,C33 C5,C6,C7,C9,C10,C14,C15,C16 C14 C17,C27,C37 C24 C36,C38 D1 D2 D3,D4,D5 J1 J3 JP1 L1 LD2,LD3 LD1,LD4 P1 P2 RS1,RS3 RS5 RS2 RS4 RS6 RV1 R7,R18 R21 R10,R19,R22,R26,R29,R37 R13 R6,R11,R12,R27,R32 Description 100nF 47nF 10MF-CT-16V 100pF 330pF 1.0NF 22MF-EA-25V 1MF-ER-63V BYV 10-20 SCHO 1N4004 1N4148 HE10-16DM JACK ED102 2,2UH_MC LED-RED-RECT LED-RED-5MM SUBD25C-F-ANGLE SUBD9C-F-ANGLE 150-SIL8-4R 100K-SIL10-9R-B 1K-SIL8-4R 10K-SIL10-9R-B 390-SIL10-9R 10K-RV 1.2K 3.3R 4.7K 560R 1K
35/40
3
Hardware Information
PARTS LIST (Cont'd)
Item Quantit y 31 5 32 1 33 2 34 1 35 1 36 2 37 1 38 1 39 1 40 1 41 3 42 1 43 1 44 1 45 3 46 1 47 2 48 1 49 1 50 2 51 1 52 1 53 1 54 1 55 1 56 1 57 1 58 3 59 1 60 1 Reference R2,R9,R17,R23,R30 R1 R20,R35 R34 R31 R8,R36 R28 R33 R24 R25 R14,R15,R16 R3 R4 R5 SW1,SW2,SW3 T3 T1,T5 T2 T4 U6,U8 U7 U4 U13 U1 U5 U12 U14 U9,U10,U11 XT1 Z1 Description 10K 100R 100K 6.8K 18K 47R 150R/1W CTN 4.7K 3.3K 15K 180R 680 750R 820R PUSH-BUTTON BD236-PNP-60V BC547B-NPN-45V BC557B-PNP-45V BD233-NPN-45V 78L05 LM7805 74LS04 LM331 74LS125 74LS244 MAX232 M5480 AFF-7SEG-POINT 8MHZ-OSC DZ 8.2V
36/40
3
VDD VDD C13 100NF C8 100NF GND GND
U3
10.2 Starter Kit Board Schematic
SDIP42
U2 VDD SOC6
SOCKET SOCKET
SOC1 SOC2 SOC3 SOC4 SOC5 SOC6 SOC7 SOC8 SOC9 SOC10 SOC42 SOC41 SOC40 SOC39 SOC38 SOC37 SOC36 SOC35 SOC34 SOC33
DIL28
GND
GND VDD GND VDD SOC15 SOC16 SOC18 SOC19 SOC20
GND VDD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 VDD TIMER OSCin OSCout NMI PC7/Ain PC6/Ain PC5/Ain PC4/Ain TEST RESET PB6/Ain PB5/Ain PB4/Ain ST6230-DIP
SOC15 SOC16 SOC17 SOC18 SOC19 SOC20 SOC21 SOC[1..10] SOC[15..30] SOC[33..42]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 PA0 PA1 OVF/PA2 PWM/PA3 CP1/Ain/PA4 CP2/Ain/PA5 Ain/PA6 Ain/PA7 TIMER NMI AVSS AVDD Ain/PD0 SCL/Ain/PD1 Sin/Ain/PD2 Sout/Ain/PD3 RXD1/Ain/PD4 TXD1/Ain/PD5 Ain/PD6 Ain/PD7 Ain/PB0 SOC30 SOC29 SOC28 SOC27 SOC26 SOC25 SOC24 SOC23 SOC22
PE4 PE3 PE2 PE1 PE0 OSCin OSCout PC7/Ain PC6/Ain PC5/Ain VSSp VDDp VSS VDD TEST RESET PB7/Ain PB6/Ain PB5/Ain PB4/Ain PB3/Ain
42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22
VSS PA0 PA1 OVF/PA2 PWM/PA3 CP1/Ain/PA4 CP2/Ain/PA5 SCL/Ain/PD1 Sin/Ain/PD2 Sout/Ain/PD3 RXD1/Ain/PD4 TXD1/Ain/PD5 Ain/PD6 Ain/PD7
28 27 26 25 24 23 22 21 20 19 18 17 16 15
SOC24
ST6232
Hardware Information
VR02088G
37/40
Hardware Information
Board Schematic (Part 1)
GND 2 3 J3 1 JACK JP1 1 2 ED102 POWER SUPPLY R18 1.2K LD3 POWER 1N4004 D2 C17 1 3 1.0NF 2.2UH_MC GND L1 2 4 C27 1.0NF + C24 D3 BD236-PNP-60V T3 1 2 U7 3 1 U6 1 C20 100NF 78L05 I O GND 2 3 C18 100NF VDD 3 + C30 10MF-CT-16V R13 560 D1 BYV 10-20 SCHO GND GND VCC TP1 MW1X1C TP2 MW1X1C
R21 3.3
1N4148
GND LM7805 I O GND 2
D4
D5
R22 4.7K
22MF-EA-25V GND BC547B-NPN-45V R23 2 10K 1
C21 100NF
C29 100NF
GND 3 T5
PC-AT INTERFACE CONNECTOR SUBD25C-F-COUDE 1 14 2 15 3 16 4 17 5 18 6 19 7 20 8 21 9 22 10 23 11 24 12 25 13
P1
U4A 74LS04 150-SIL8-4R
GND
13V BC557B-PNP-45V U8 78L05 3 1 3 1 I O GND T2 C28 C19 W2 100NF 100NF Z1 4.7K GND GND DZ 8.2V R10 22 2 U4B GND 4 1 T1 R9 10K 74LS04 TROMIN RESETP TM2-IN PPINT 2 3
VPP PROG 3 32 21 1 USER GND SOC15 (VPP '6230/6232')
2
D0 D1 D2 D3 D4 D5 D6 REM/
7 RS3D 5 RS3C 3 RS3B 1 RS3A 5 RS1C 3 RS1B 1 RS1A
1
8 6 4 2 6 4 2
VCC BC547B-NPN-45V U4C 5 6 RESETP/ R32 1K C38 1MF-ER-63V + SOC16 (RESET/) R11 1K
ENVPP OSCPI
3
GND
1
74LS04 GND
R1 100
SDOP
5 1
5 1 3 RESETPUSH 3
GND
C5 100PF GND USER 1 2 3 W2 1 2 3 GND USER/ 74LS125 1 VCC 1 RS4 10K-SIL10-9R-B U1A 3 TROMIN TM2-IN (SDOP) SOC18 (PE0-32) SOC5 PPINT OSCPI TROMIN PROG/ SIM/ 2 4 6 8 11 13 15 17 1 19 U5 10 9 8 7 6 5 4 3 2 1A1 1A2 1A3 1A4 2A1 2A2 2A3 2A4 1G 2G 74LS244 1Y1 1Y2 1Y3 1Y4 2Y1 2Y2 2Y3 2Y4 18 16 14 12 9 7 5 3 SOC19 SOC20 SOC24 SDOP SDOP SOC33 SOC3 SOC4 PROG C16 100PF C15 100PF C14 100PF C9 100PF C7 100PF C10 100PF
44 22 SW1
HEATER CONTROL VCC POWER R28 150/1W U4D 2 9 8 R24 3.3K 74LS04 3
R27 1K LD4
VDD 1 2 3 4 5 6 7 8 9 10 100K-SIL10-9R-B RS5
2
(TROMIN) (TM2) (TMNEW) (NMI-32) (PE2-32) (PE1-32) 1 SOC34 (TIMER-34)
W7 2
R12 1K
SOC33 (NMI-32)
T4 BD233-NPN-45V 1 GND
5 RS2C 74LS125 OSCPI 9 U1C 8 R8 47 VCC C4 100NF GND VCC C2 100NF GND GND GND GND GND GND VCC C11 GND GND GND 5 VDD VDD VDD C26 FOUT 8MHZ-OSC 3 C34 8MHZ OSCILLATOR Decouplage des CI 100NF VCC C39 VDD C1 VDD C3 VDD 10 C12 6 GND 4 USER/ R29 4.7K 74LS125 U1B 1 XT1 C6 100PF SOC6 (OSCIN) GND VCC 2 RS2A 3 RS2B
6 1 4
D0 D4 D1
(en. VDD) (dis. RESET/) (dis. VPP)
1K-SIL8-4R
VDD W6 2 SOC9 (PC6/Ain-9)
C35
C41
R33 CTN 4.7K
THERMISTORCIRCUIT GND GND
LED DISPLAY DRIVER
VDD
R37 4.7K
R26 4.7K
C37 1.0NF
R25 15K 13
BRIGHT
GND 15 16
CLOCK DATA
W5 (PD1/SCL-29) SOC29 (PD3/SOUT-27) SOC27 1 3 2 4 VSS MW2X2C
BIT1 BIT2 BIT3 BIT4 BIT5 BIT6 BIT7 BIT8 BIT9 BIT10 BIT11 BIT12 BIT13 BIT14 BIT15 BIT16 BIT17 BIT18 BIT19 BIT20 BIT21 BIT22 BIT23
U14 M5480 12 11 10 9 8 7 6 5 4 3 2 28 27 26 25 24 23 22 21 20 19 18 17
GND
14 VDD 1
SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16
VDD
VDD
VDD
R14 180 U9 14 3 F G E D H AFF-7SEG-POINT CENTAINE SEG3[7..0] SEG2[7..0] SEG1[6..0] A A B BC D E F CG H 1 13 10 8 7 2 11 9 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37
R16 180 U10 14 3 F G E D H AFF-7SEG-POINT UNITE A A B BC D E F CG H 1 13 10 8 7 2 11 9 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27
R15 180 U11 14 3 F G E D H AFF-7SEG-POINT DECIMALE A A B BC D E F CG H 1 13 10 8 7 2 11 9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 VDD
VR02088E
38/40
Hardware Information
Board Schematic (Part 2)
supports
ST62x30/32 MCU SOCKET
SOC[1..10] SOC[15..30] SOC[33..42]
SOC[1..10] SOC[15..30] SOC[33..42]
socket.sch
J1 HE10-16DM SOC19 SOC20 SOC6 SOC18 SOC16 SOC24 VPP 1 3 5 7 9 11 13 15 2 4 6 8 10 12 14 16 GND
VDD
R19 4.7K U13 LM331 OUT RC I-REF 3 5 2 8 R20 100K MW2X1C W9 C32 100NF GND
IN-SITU PROGRAMMI G N CONNECTOR R30 10K W8 SOC37 (PA5/CP2-37) GND MW2X1C R34 R31 18K 6.8K C40 47NF VDD SOC1 SOC2 SOC3 SOC4 SOC5 SOC6 SOC7 SOC8 SOC9 SOC10 GND SOC30 SOC29 SOC28 SOC27 SOC26 SOC25 SOC24 SOC23 SOC22 MW2X21C W4 VDD 1 MW2X1C USER'S I/Os CONNECTOR VDD SOC42 SOC41 SOC40 SOC39 SOC38 SOC37 SOC36 SOC35 SOC34 SOC33 GND GND J2
SOC39 (PA3/PWM-39)
2
7 6 1
IN PUMP I-PUMP
GND R35 100K + C36 1MF-ER-63V GND GND
VCC GND 4
R36 47 FREQUENCYMEASUREMENT GND
SOC16 SOC17 SOC18 SOC19 SOC20 SOC21
VDD SOC10 (PC5/Ain-10) VDD 1 W3 VOLTAGE ADJUST 10K-RV RV1 GND 1 RS6A 2
LEDs BAR-GRAPH INDICATOR SOC42 (PA0-42) MW2X2C LD2 SOC41 (PA1-41)
LD1 1 RS6B 3 390-SIL10-9R
"+" and"-" PUSH-BUTTONS W11 1 SOC36 (PA6/Ain-36) GND 22 44 SW2 2
+ RS232 INTERFACE CIRCUIT 10MF-CT-16V 11 55 C25 10MF-CT-16V C31 U4E + +
10MF-CT-16V GND U12 C1+ C1C2+ C2TD1 TD2 RD1 RD2 MAX232 C22 1 3 4 5 11 10 10 12 9 74LS04 W10
VDD +
10MF-CT-16V + C23 2 6 14 7 13 8 GND 10MF-CT-16V TX CTS RX RTS GND R17 10K + C33 1 6 2 7 3 8 4 9 5 P2
V+ VOUT1 OUT2 INP1 INP2
1 SOC35 (PA7/Ain-35) 2 4 SW3 3
2 SOC25 (PD5/TXD-25)
11
GND
1 5
SOC30 (PDO/Ain-30) SOC26 (PD4/RXD-26) SOC23 (PD7/Ain-23)
RS232 SUBD-9 CONNECTOR
MW2X4C
DEMO ROUTINES SELECTOR W1 R2 10K R3 R4 R5 R6 R7 680 750 GND 820 1K 1.2K MW2X6C GND VDD 1 2 (PC7/Ain-8) SOC8
12
U1D
74LS125 11 Portes inutilisees
VR02088F
39/40
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-THOMSON Microelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. SGS-THOMSON Microelectronics products are not authorized for use as critical components in life support devices or systems without the express written approval of SGS-THO MSON Microelectronics. (c)1998 SGS-THOMSO N Microelectronics - All rights reserved. Printed in France by Imprimerie AGL Purchase of I2C Components by SGS-T HOMSON Microelectronics conveys a license under the Philips I2 C Patent. Rights to use these components in an I2 C system is granted provided that the system conforms to the I2 C Standard Specification as defined by Philips. SGS-THO MSON Microelectronics Group of Companies Australia - Brazil - Canada - China - France - Germany - Italy - Japan - Korea - Malaysia - Malta - Morocco - The Netherlands Singapore Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom - U.S.A.
Recycled and chlorine free paper
40/40


▲Up To Search▲   

 
Price & Availability of 5514

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