| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
STARTER ST6230 ST6232 MCUs HARDWARE FEATURES Immediate evaluation
Top Searches for this datasheetST623x-KIT STARTER ST6230 ST6232 MCUs HARDWARE FEATURES Immediate evaluation ST6230 ST6232 devices, with stand-alone demonstration routines. Simulation debugging within user's real application environment. In-socket programming EPROM ST6230 (DIP28) ST6232 (SDIP42) devices. In-circuit programming EPROM ST6230 ST6232 devices directly user's application board (all packages). SOFTWARE FEATURES Software simulation, including read/write. Assembler, Linker Simulator. In-socket EPROM programming utilities. In-circuit EPROM programming utilities Application examples demonstrations December 1997 1/40 Table Contents ST623x-KIT INTRODUCTION Where from here. STARTER HARDWARE Microcontrollers Starter Board Oscillator Reset Button Buttons Indicators Resistance trimmer Temperature Control Circuit RS-232 Interface 2.10 Demonstration Selector Jumpers 2.11 Frequency Measurement INSTALLING STARTER Hardware Software Requirements Connecting Power Supply Installing Software RUNNING DEMOS What Demos 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 Demo Button/LED Indicator Control Demo Voltage trimming level indication Demo Temperature Control Demo RS-232 Communications Demo Frequency Measurement Demo Fuzzy Logic Heater Control Running Demonstration Programs RUNNING ST6-REALIZER DEMO CONNECTING EXTERNAL RESOURCES STARTER BOARD USING STARTER BOARD HARDWARE SIMULATOR Data Transmission Driver Technical Limitations Error Messages Troubleshooting PROGRAMMING MICROCONTROLLERS Setting Starter Board In-Circuit Programming Setting Starter Board In-Circuit Programming RUNNING YOUR PROGRAM STARTER BOARD HARDWARE INFORMATION 10.1 Parts List 10.2 Starter Board Schematic 8.2.1 Application Board Connections 2/40 Introduction INTRODUCTION ST623x Starter provides with need start designing, developing evaluating programs ST6230 ST6232 microcontrollers immediately. ST623x Starter includes: assembler linker, AST6 LST6. demonstration application development tool, ST6-Realizer. Windows debugger, WGDB6. Windows microcontroller programmer, Epromer. Starter board, which serves demonstration board low-cost debugging tool. Some demonstration programs that show microcontrollers Starter board resources. Some example programs. ST6230 ST6232 microcontroller. complete paper documentation online help. demonstration programs, that come pre-loaded ST6232 microcontroller, show powerful features microcontrollers operate real environment. demonstration programs hardware resources provided Starter board, which include reset data control buttons, indicators, voltage control oscillator, three 7-segment displays, resistance trimmer, temperature control circuit RS-232 interface. Using assembler linker, AST6 LST6, assemble link programs. AST6/LST6 User Manual will guide through steps developing, assembling linking programs ST6. Starter software includes example programs typical applications. These installed directory \ST623x \examples. fast-track solution developing bug-free programs ST6, without hassle writing assembler code, ST6-Realizer demonstration. Once have developed your program, Windows-based program debugger, WGDB6/SIMULATOR, together with Starter board, low-cost powerful debugging tool. WGDB6 includes simulator, that simulates execution your program, uses that plugged into Starter board emulate transactions that performed with data space. Thus, using Starter board with WGDB6, view microcontroller 3/40 Introduction ripherals behave when your program executed. WGDB6 includes powerful debugging features, such source-level debugging, instruction conditional memory access breakpoints selective trace recording. WGDB6 Getting Started manual online help will lead through debugging process using WGDB6. When your program ready, Epromer provides with easy-to-use Windows interface, which lets prepare executable code, then write microcontroller that plugged into either sockets Starter board, your in-circuit application board that connected Starter board. observe evaluate consequences your program resources controls, microcontroller that plugged into Starter board. controls resource that included Starter board, connect your resource board. Instructions Warning This product conforms with 89/336/EEC directive; also complies with EN55022 emissions standard ITE, well with generic 50082-1 immunity standards. product Class apparatus. residential environment this device cause radioelectrical disturbances which require that user adopt appropriate precautions. product contained outer casing, cannot therefore immune against electrostatic discharge (ESD): should therefore only handled static safe work stations. 4/40 Introduction following diagram summarises possible uses Starter board hardware setup required each one. program ST6s your in-circuit programming board: running Epromer Starter board In-circuit programming board Parallel port connected connector program ST6s using Starter board: running Epromer programmed Starter board Parallel port connected demonstrations: ST6232 Programmed with DEMOK32.HEX Starter board programmed with program Starter board software simulator: running WGDB6 Simulator ST6232 Programmed with DEMOK32.HEX your program: Parallel port connected 5/40 Introduction Where from here. following table directs where should look further information about using Starter Find about Starter board microcontrollers provided with kit. Install Starter software, connect power supply board. Install ST6-Realizer demonstration software. Find what demonstration applications them. Learn develop source code AST6 LST6. Prepare Starter board hardware simulator with WGDB6. Install WGDB6, learn debugging your programs. Prepare Starter board programming microcontrollers using Epromer. Prepare Starter board connecting your in-circuit programming board. Learn Epromer programming microcontrollers. Connect your hardware resource Starter board. your program using Starter board. Refer "The Starter Hardware" page this book. "Installing Starter Kit" page this book. "Running ST6-Realizer Demo" page this book. "Running Demos" page this book. "AST6/LST6 Assembler Linker Family User Manual". "Using Starter Board Hardware Simulator" page this book. "WGDB6 Debugger Family Getting Started". "Programming Microcontrollers" page this book. "In-Circuit Programming" page this book. Epromer online help. "Connecting External Resources Starter Board" page this book. "Running Your program Starter Board" page 6/40 Starter Hardware STARTER HARDWARE This section describes microcontrollers Starter board that come with Starter Kit. full schematic Starter board provided "Hardware Information" page Microcontrollers Starter includes following microcontrollers: ST6230, ST6232 ST6232 microcontroller pre-loaded with code DEMOK32.HEX, which includes demonstration programs (see "Running Demos" page 17), well communications protocol program, that enables Starter board simulator (see "Using Starter Board Hardware Simulator" page 25). other microcontrollers blank. file Demok32.hex provided diskette labelled "ST623x Starter Kit", that erase from ST6232, re-program following instructions given "Programming Microcontrollers" page Starter Board Starter board includes following resources: Reset data control buttons. indicators. Resistance trimmer. Temperature control circuit. RS-232 interface. Demonstration program selector jumpers. Three 7-segment displays. voltage control oscillator. comes with power supply unit that plugged into mains source, source with following characteristics: Voltage: min./20V max., Current: min. includes following connectors: parallel port connector (P1) connection host when used hardware simulator programming. remote resource interface connector (J2) which connect your hardware resource. RS-232 connector, which observing RS-232 communication control using ST6. connector your in-circuit programming board. "Application Board Connections" page further details. 7/40 Starter Hardware Below block diagram Starter board: POWER SUPPLY UNIT DISPLAY UART TEMPERATURE CONTROL TRIMMER RS232 ST62E32 PARALLEL CONNECTION SOFTWARE SIMULATOR ST623x CONNECTION USER APPLICATION EPROM PROGRAMME IN-CIRCUIT PROGRAMMING 8/40 Starter Hardware following diagram shows layout Starter board. In-circuit programming connector (J1). Demonstration routine selector. oscillator. connector LEDs. Voltage control oscillator. Power supply JACK connector Heater resistor indicator LD4. Power supply indicator LD5. Heater resistor. Thermistor. RESET button. buttons. RS232 interface circuit connector. 7-segment displays. socket. Remote resource interface connector SDIP socket. trimmer. "Programming" "User" operating mode selection jumpers ST6230 ST6232 9/40 Starter Hardware Oscillator oscillator feeds ST6232 OSCIN input with clock signal. disconnect oscillator removing jumpers (marked Starter board diagram page 8MHz OSCILLATO ST6232 USER OSCin JUMPER PROG PROGRAMMING CLOCK FROM (only when programming microcontrollers) Reset Button This activates ST6232 RESET input when pressed. power-on reset circuit also provided. Buttons These connected pins ST6232 respectively (when programmed inputs). They drive inputs down when pressed. They increment three 7-segment displays Demo (see "Demo Button/LED Indicator Control" page 17). disconnect removing jumper, removing jumper. JUMPERS ST6232 10/40 Starter Hardware Indicators LEDs used level indication demonstration routines. They connected ST6232 pins (when programmed outputs). They used during RESET operation. LEDs disconnected removing W4-PA0 jumpers. RESISTOR ARRAY JUMPERS RS6A ST6232 RS6B Resistance trimmer resistance trimmer feeds ST6232 (when programmed Converter input) with variable voltage DC). used conversion demonstration/evaluation. This process demonstrated Demo (see "Demo Voltage trimming level indication" page 17). trimmer disconnected from removing W3-PC5 jumper. ST6232 TRIMMER JUMPE 11/40 Starter Hardware Temperature Control Circuit This circuit demonstrates temperature control, using on-chip converter. Heater resistor circuit (150, Watt) driven TIMER output ST6232 microcontroller. heat level controlled varying duty cycle signal present TIMER output. Heater circuit disconnected from TIMER output removing W7-TIMER jumper. thermistor bridge (Negative Temperature Coefficient) connected pin, which programmed converter input. voltage value converter input decreases thermistor temperature increases. Thermistor circuit disconnected from removing jumper. thermistor located close proximity Heater resistor Starter board, that used sensor detect temperature resistor body. Demonstration shows this circuit used feedback loop that controls temperature level (see "Demo Temperature Control" page 18). 15V-DC POWER HEATER INDICATOR HEATOR RESISTOR (1W) THERMISTOR BRIDGE JUMPER 74HC04 TIMER JUMPE ST6232 12/40 Starter Hardware RS-232 Interface RS-232 interface enables communicate with pre-programmed ST6232 microcontroller provided with Starter Kit. includes RS-232 buffer circuit that connected standard PC-compatible RS-232 SUBD-9 connector. following table lists RS-232/ST6232 connections: Signal Name Data Transmission (TX) Data Reception (RX) Request Send (RTS) Clear Send (CTS) SUBD-9 disconnect these removing corresponding jumpers from W10. following diagram shows RS-232 connections line allocations: +12V SUBD POINT CONNECTOR RS232 LINE BUFFER JUMPERS ST6232 defined that board used slave. board master, swap both connections cable. 13/40 Starter Hardware 2.10 Demonstration Selector Jumpers demonstration selector made 6-position jumper (marked Starter board diagram page with each jumper connected resistor. Each resistor generates different voltage. After reset, voltage value generated resistor whose jumper installed sent ST6232. programmed converter. program installed ST6232 uses input from select appropriate demo. following table lists voltage values generated each resistor: Resistor value: Theoretical voltage value: JUMPER: JUMPER-D1: JUMPER-D2: JUMPER-D3: JUMPER-D4: JUMPER-D5: 1.332 JUMPER-D6: 1.539 same principle used keyboard decoding. complete example this, refer SGS-Thomson application note: "AN431: Using Analog Inputs Multiple Decoding". disconnect demonstration selector from removing jumper from (marked Starter board diagram page JUMPERS JUMPER ST6232 14/40 Starter Hardware 2.11 Frequency Measurement This application simulates servo-control motor's speed using regulation loop. 16-bit Autoreload Timer output generates frequency about 15Khz. increase decrease duty cycle this frequency using buttons. This frequency then filtered produce proportional voltage between Volts, which attacks voltage control oscillator (marked Starter board diagram page voltage control oscillator produces frequency output interval 50Hz-1Khz. 16-bit Autoreload Timer measures this frequency through input port with frequency precision 1/100. result displayed three 7-segment displays. Demo demonstrated this process (see "Demo Frequency Measurement" page 19). Frequency Measurement circuit disconnected from input output removing corresponding jumpers. ST6232 JUMPEW9 JUMPER 15/40 Installing Starter INSTALLING STARTER Hardware Software Requirements able install Starter Kit, need with: 1/2" Floppy Disk Drive Mbytes free memory space free Centronics compatible parallel port connector MS-Windows3.11, Connecting Power Supply have mains supply, connect Jack plug power supply cable provided input socket, then connect mains plug mains source. have mains supply, connect male plug power supply cable provided input socket, then connect mains plug mains source with following characteristics: Voltage: min./20V max. Current: min. NOTE: avoid short circuit, always connect power input cable starter board before connecting mains power supply. your power supply plug, polarity must follows: JACK PLUG Installing Software Place installation diskette provided into your floppy disk drive. Windows Explorer File Manager, view contents diskette, then double-click Setup icon. Follow instructions they appear screen. 16/40 Running Demos RUNNING DEMOS This section describes demonstration programs that provided with Starter explains them. What Demos following paragraphs describe demos that come pre-loaded with Starter demos. "Running Demonstration Programs" page below details select demo. source files these demos provided with Starter software file C:\ST623X\SK623XLI\DEMOK32.ASM. 4.1.1 Demo Button/LED Indicator Control Initialises pins follows: This pin: initialised Input with pull-up interrupt. Connected button. Input with pull-up interrupt. Connected button. Outputs, connected display driver 7segment displays. Performs task relating your actions: When this: Press button Press button program does this: Jumps interrupt subroutine that adds number displayed 7-segment displays. Jumps interrupt subroutine that subtracts number displayed 7-segment displays. 4.1.2 Demo Voltage trimming level indication Initialises pins follows: This pin: initialised Analog input. Connected trimmer RV1. Outputs, connected display driver 7segment displays. Reads converter data register, displays voltage 7-segment displays. 17/40 Running Demos Adjusting voltage trimmer (marked Starter board diagram page displays appropriate voltage output trimmer 7-segment displays. Pressing buttons same effect increasing decreasing voltage. 4.1.3 Demo Temperature Control Initialises pins follows: This pin: TIMER initialised Analog input. Connected thermistor circuit. Push-pull output. Connected Heater Resistor circuit. Input with pull-up interrupt. Connected button. Outputs, connected display driver 7segment displays. Reads stores converter data register value. This value indicates temperature reset. Reads stores converter data register value regular intervals, displays difference between initial temperature last-read temperature either increase temperature touching thermistor (marked Starter board diagram page pressing button. 4.1.4 Demo RS-232 Communications This demonstration shows RS-232 communication line buffer managed using ST6225 microcontroller. this demonstration: Connect RS-232 connector Starter board serial port your using RS-232 cable provided. host MS-DOS, execute program: PC232_32 (this supplied diskette marked "ST623x Starter Follow instructions they appear screen. 18/40 Running Demos 4.1.5 Demo Frequency Measurement Initialises pins follows: This pin: initialised Connected input Voltage Control Oscillator through filter) output (ART16 peripheral). output initialised with frequency about 15Khz duty cycle 50%. Connected input Voltage Control Oscillator through filter) input (ART16 peripheral). Input with pull-up interrupt. Connected button. Input with pull-up interrupt. Connected button. Outputs, connected display driver 7segment displays. Reads frequency output voltage control oscillator using inputs displays frequency value three 7-segment displays. adjust frequency displayed (between 50Hz 1Khz) pressing buttons. This adjusts duty cycle steps 15Khz. 4.1.6 Demo Fuzzy Logic Heater Control This demonstration shows heater control application developed using Fuzzy Logic description. application developed using fuzzyTECH explorer development tool. more information about this demonstration, execute program Fuzzykit.exe from MS-DOS (this supplied diskette marked "ST623x Starter Running Demonstration Programs ST6232 microcontroller labelled DEMOK32 programmed with demonstration software. this software been erased from microcontroller, reprogram from file DEMOK32.HEX (this supplied diskette marked "ST623x Starter Kit"). details program microcontrollers refer "Programming Microcontrollers" page 19/40 Running Demos demonstrations: Power down Starter board. Make sure that pre-programmed ST6232 plugged into SDIP socket. Select USER mode using jumpers marked (marked Starter board diagram page shown diagram below: MODE Disconnect cable from parallel port (P1) connection, connected. Power Starter board. Install demonstration program jumper marked PC7, shown diagram below: PROG DEMO SELECTION 20/40 Running Demos Select demo want run, installing appropriate jumper (marked Starter board diagram page indicated diagram below: DEMO SELECTION Selects demo Push Button/LED Indicator Control Selects demo Voltage trimming level indication Selects demo Temperature Control Selects demo RS-232 Communications Selects demo -Frequency Measurement Selects demo Fuzzy Logic Heater Control example, above diagram demo selected. Press reset button. selected demo ran. different demo, repeat steps 21/40 Running ST6-Realizer Demo RUNNING ST6-REALIZER DEMO ST6-Realizer Windows CASE tool that enables develop high-quality applications family microcontrollers. Using ST6-Realizer, design your application drawing symbols wiring them together. Each symbol represents process, such adding values, linked ST62 assembly code macro. wires represent flow data, linked variables constants. attach attributes symbols wires, order attach extra characteristics them. example, attaching attribute type UINT wire defines value capacity that unsigned integer 65536). When using ST6-Realizer, design your application schemes. scheme like sheet paper which place symbols draw wires. Each application designed scheme. install ST6-Realizer demo: Place diskette labelled "ST6-Realizer Demo disk" into your floppy disk drive. Windows Explorer File Manager, browse contents diskette, double-click Install icon. ST6-Realizer demo: using Windows 3.x, double-click ST6-Realizer demo icon Tools group. using Windows click Start, Programs, Tools, then ST6-Realizer demo. 22/40 Connecting External Resources Starter Board CONNECTING EXTERNAL RESOURCES STARTER BOARD connect your external resources pre-programmed ST6232 debug evaluate your programs, using connector (marked Starter board diagram page able connect your resources Starter board, must disconnect resources that already connected ST6232, avoid external resource/Starter board resource conflicts. following table lists Starter board resources corresponding connections, indicates 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 Supply Supply System tasks (Programming) Push-button Power-on none System tasks (Programming) System tasks (Programming) JUMPER ST6232 OSCIN OSCO /RESET ST6232 TIMER AVSS AVDD JUMPER W4W4W9 On-board resource Indicator Indicator none ART16-PWM none ART16-CP2 Push-but.(+) Push-but.(-) Heater resis. control System task (Simul. link) Supply RS232 Driver Input SPI-Scl none SPI-Sout RS232 Driver Input RS232 Driver Input System tasks (Programming) 23/40 Connecting External Resources Starter Board On-board resource System tasks (Programming) none JUMPER ST6232 ST6232 JUMPER On-board resource RS232 Driver Input none This available Starter board connected host NOTE: Some signals connector used during programming, thus must disconnect external resource that connected before using Starter board programming. 24/40 Using Starter Board Hardware Simulator USING STARTER BOARD HARDWARE SIMULATOWGDB6, debugger that runs under Windows, lets test your programs without having program EPROM your target ST6. Depending much information want, close real life want your test environment WGDB6 three ways: software simulator. WGDB6 simulator, need attach additional hardware your simulator program, that comes with WGDB6 when WGDB6/Simulator, simulates execution your program, letting step through code what happens program runs. WGDB6 simulator includes Wave Form Editor, which simulates output pins your target relation inputs that define, enabling peripherals react inputs they receive. With hardware emulator. Emulators hardware systems that your target microcontroller, same time capturing detailed information, such which areas memory accessed program what happens when they accessed. this case, WGDB6/Emulator provides interface between emulator your displaying data captured emulator letting implement WGDB6 features emulator, such software hardware breakpoints. With Starter board hardware simulator. This cross between above two. WGDB6 software simulator simulates execution your program, each time data space accessed, accesses that that plugged into your Starter board. Thus, using Starter board with WGDB6, view real microcontroller peripherals behave when your program executed. This section describes third option, Starter board hardware simulator. Starter board emulate ST6230 ST6232 microcontroller. Note, however that must pre-programmed ST6232 microcontroller, labelled DEMOK32 supplied with hardware simulation. Thus, when simulating programs designed other microcontrollers, make sure that resources that available microcontroller your application designed for. 25/40 Using Starter Board Hardware Simulator Data Transmission Driver Data transferred between simulated peripheral registers ST6230 ST6232 registers host PC's parallel port. DEMOK32.HEX program, with which ST6232 microcontroller that plugged into Starter board must loaded includes transmission driver. data transfer driver uses following bits: parallel port SDOP ST6232 RESET SIMULATOR USAGE Synchronisation Write data Hardware reset peripherals Initiates data transfer Read data from Technical Limitations Starter board following limitations when used with WGDB6 hardware simulator: Real-time program execution supported. Resetting ST6232 power pressing Reset button external reset does reset simulated core. perform complete simulated reset, WGDB6 reset command instead. Interrupts sent ST6232 microcontroller supported WGDB6 simulator. pins: NMI, PE0, ST6232 microcontroller used communications with host thus available simulation. NOTE: connect external resources corresponding connector pins when using Starter board peripheral emulator. 26/40 Using Starter Board Hardware Simulator Starter board hardware simulator: Power down Starter board. Make sure that pre-programmed ST6232 plugged into SDIP socket. Select USER mode using jumpers marked (marked Starter board diagram page shown diagram below: MODE Connect Parallel port Starter board spare parallel port your using cable provided with Starter Kit. Power Starter board. WGDB6: using Windows click Start button, point Programs, then Tools, then click WGDB6/Simulator. using Windows 3.x, double-click appropriate WGDB6/Simulator icon Tools program group. Refer "WGDB6 Debugger Family Getting Started" "ST6 Software Development Tools" manual full instructions WGDB6. PROG 27/40 Using Starter Board Hardware Simulator Error Messages following table lists error messages encounter when using WGDB6 with Starter board: Error message Error Port protected when using board. Error Communication error with ST6230/ST6232 board. Description This means that WGDB6 tried access PORT registers. These used communications with board. This means that problem occurred during communications between host board. Perform checks listed below. Troubleshooting there communications problem between WGDB6 Starter board, title "WGDB6 Simulator" appears WGDB6 title bar. this case, should check following: That Starter board correctly powered That parallel port cable correctly connected. That device jumpers (W1) USER position. That ST6232 plugged into Starter board, programmed with DEMOK32.HEX. 28/40 Programming Microcontrollers PROGRAMMING MICROCONTROLLERS Starter board, conjunction with program Epromer, program ST6230 ST6232 microcontrollers. also perform in-circuit programming ST6230 ST6232 OTP/EPROM microcontrollers using your board, connected Starter board connector (marked Starter board diagram page NOTE: PB4, PB5, PB6, PD2, OSCIN, OSCOUT RESET pins used perform programming operations. these pins connected external resource must either disconnect them (see "Connecting External Resources Starter Board" page them high impedance state during programming operations. This section describes Starter board programming microcontrollers, lists connection requirements in-circuit application boards. Setting Starter Board Power down Starter board. Plug microcontroller want program into appropriate socket Starter board. Select PROG mode using jumpers marked (marked Starter board diagram page shown diagram below: MODE Connect Parallel port Starter board spare parallel port your using cable provided with starter kit. Power Starter board. Epromer program microcontroller that plugged into Starter board. NOTE: Epromer does work under Windows PROG 29/40 Programming Microcontrollers Epromer from Windows 3.x, double-click Epromer icon Tools group. Epromer from Windows click Start, Programs, Tools, then Epromer. instructions operate Epromer, click Help Epromer main window. In-Circuit Programming perform in-circuit programming ST620x, ST621x ST622x OTP/EPROM microcontrollers using your board, connected Starter board connector (marked Starter board diagram page 8.2.1 Application Board Connections following paragraphs specify connection requirements between your application board Starter board. application board must have suitable 16-way connector (8x2 header HE10) connected 16-way cable connector (marked Starter board diagram page Starter board. following table shows required connections: ST6230 ST6232 OSCin RESET VPP/VDD Connector Pins connection optional, depending whether application board supply cannot disconnected. application board supply disconnected, supply through pins connector, long total load current does exceed capacitive load less than application board power supply, voltage must that logic levels compatible with those Starter board. 30/40 Programming Microcontrollers OSCin Synchronises programming operations using clock generated programming tool. OSCin located application board, must directly connected 16-way connector. isolation needed long quartz crystal ceramic resonator used application. external clock generator used application, must disconnected during in-circuit programming. RESET Controls programming mode entry. prevent signal level contention, RESET must directly connected 16-way connector, must isolated from other nodes application board. direct connection VDD, output must avoided. This connected CMOS input, pull-up, KOhm pull-down left open (Internal pull-up). capacitive load RESET should exceed Pins 16-way connector used establish communications between programming tool microcontroller. prevent signal-level contention, Pins must directly connected 16-way connector, must isolated from other nodes application board. direct connection VDD, output must avoided. These pins connected CMOS input, pull-up, KOhm pulldown left open (Internal pull-up). 16-pin connector connected target device, same applies. Connection necessary high voltage level guaranteed board design. Some pins connected 16-way connector must high level during programming. This normally achieved RESET signal sent programming tool through 16-way cable, setting pins inputs with internal pull-up. keep these lines high, direct connection these pins other signal level (even temporarily) must avoided. Only connections another CMOS input, external pull-up pull-down allowed. Vpp/pin must directly connected GND/VSS application board, avoid conflict with programming voltage provided programming tool connector. This should pulled down resistor with minimum value must ceramic capacitor between Vpp/Test VSS. 31/40 Programming Microcontrollers Setting Starter Board In-Circuit Programming Power down Starter board. Select PROG mode using jumpers marked (marked Starter board diagram page shown diagram below: MODE Connect Parallel port Starter board spare parallel port your using cable provided with starter kit. Connect your application board connector (marked Starter board diagram page Starter board. Power your Starter board. Epromer program microcontroller that plugged into Starter board. NOTE: Epromer does work under Windows Epromer from Windows 3.x, double-click Epromer icon Tools group. Epromer from Windows click Start, Programs, Tools, then Epromer. instructions operate Epromer, click Help Epromer main window. NOTE: your application board powered Starter Kit, must connect power supply before start programming. 32/40 PROG Running Your program Starter Board RUNNING YOUR PROGRAM STARTER BOARD your programs Starter board, using Starter resources: ST6230 ST6232 microcontroller. Reset data control buttons. indicators. Resistance trimmer. Temperature control circuit. RS-232 interface. Demonstration program selector jumpers. Three 7-segment displays. voltage control oscillator. NOTE: only applications Starter board using ST6232 microcontrollers. your application designed another microcontroller, must change port definitions match those ST6232. also your hardware resource connecting connector (see "Connecting External Resources Starter Board" page 23). your program Starter board: Power down Starter board. Program ST6232 microcontroller with application want following instructions given "Programming Microcontrollers" page plug into SIDP42 socket. Select USER mode using jumpers marked (marked Starter board diagram page shown diagram below: MODE PROG 33/40 Running Your program Starter Board Disconnect cable from parallel port (P1) connection, connected Disconnect demonstration program selector removing jumper marked Demonstration Selector circuit marked Starter board diagram page using your hardware resources connected (marked Starter board diagram page disconnect Starter board resources that same pins, following instructions given "Connecting External Resources Starter Board" page Power Starter board. 34/40 Hardware Information HARDWARE INFORMATION 10.1 Parts List Item Quantity Reference C35,C39,C41 C22,C23,C25,C30,C31,C33 C5,C6,C7,C9,C10,C14,C15,C16 C17,C27,C37 C36,C38 D3,D4,D5 LD2,LD3 LD1,LD4 RS1,RS3 R7,R18 R10,R19,R22,R26,R29,R37 R6,R11,R12,R27,R32 Description 100nF 47nF 10MF-CT-16V 100pF 330pF 1.0NF 22MF-EA-25V 1MF-ER-63V 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 35/40 Hardware Information PARTS LIST (Cont'd) Item Quantity R2,R9,R17,R23,R30 R20,R35 R8,R36 R14,R15,R16 SW1,SW2,SW3 T1,T5 U6,U8 U9,U10,U11 Reference Description 100R 100K 6.8K 150R/1W 4.7K 3.3K 180R 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 8.2V 36/40 100NF 100NF 10.2 Starter Board Schematic SDIP42 SOC6 SOCKET SOCKET SOC1 SOC2 SOC3 SOC4 SOC5 SOC6 SOC7 SOC8 SOC9 SOC10 SOC42 SOC41 SOC40 SOC39 SOC38 SOC37 SOC36 SOC35 SOC34 SOC33 DIL28 SOC15 SOC16 SOC18 SOC19 SOC20 TIMER OSCin OSCout 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] OVF/PA2 PWM/PA3 CP1/Ain/PA4 CP2/Ain/PA5 Ain/PA6 Ain/PA7 TIMER 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 OSCin OSCout PC7/Ain PC6/Ain PC5/Ain VSSp VDDp TEST RESET PB7/Ain PB6/Ain PB5/Ain PB4/Ain PB3/Ain 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 SOC24 ST6232 Hardware Information VR02088G 37/40 Hardware Information Board Schematic (Part JACK 1.2K POWER BD236-PNP-60V 100NF 78L05 100NF 10MF-CT-16V 10-20 SCHO MW1X1C MW1X1C 1N4004 2.2UH_MC 1.0NF 1N4148 LM7805 4.7K ED102 1.0NF 22MF-EA-25V BC547B-NPN-45V 100NF 100NF POWER SUPPLY PC-AT INTERFACE CONNECTOR SUBD25C-F-COUDE 74LS04 150-SIL8-4 BC557B-PNP-45V 78L05 100NF 100NF 4.7K 8.2V PROG USER SOC15 (VPP '6230/6232') REM/ RS3D RS3C RS3B RS3A RS1C RS1B RS1A ENVPP OSCPI 74LS04 TROMIN RESETP TM2-IN PPINT 74LS04 1MF-ER-63V RESETP/ BC547B-NPN-45V SOC16 (RESET/) SDOP RESETPUSH 100PF 100PF 100PF 100PF 100PF 100PF 100PF USER PROG USER/ 74LS125 100K-SIL10-9R-B 10K-SIL10-9R-B HEATER CONTROL POWER TROMIN TM2-IN (SDOP) SOC18 (PE0-32) SOC5 PPINT OSCPI PROG/ TROMIN SIM/ 150/1W SOC33 (NMI-32) 74LS244 RS2C 74LS125 OSCPI 100PF SOC6 (OSCIN) RS2A RS2B SOC19 SOC20 SOC24 SDOP SDOP SOC33 SOC3 SOC4 (TROMIN) (TM2) (TMNEW) (NMI-32) (PE2-32) (PE1-32) SOC34 (TIMER-34) (en. VDD) (dis. RESET/) (dis. VPP) 1K-SIL8-4 3.3K BD233-NPN-45V 74LS04 USER/ 4.7K 74LS125 FOUT 4.7K SOC9 (PC6/Ain-9) 100NF 100NF 8MHZ-OSC 8MHZ OSCILLATO 100NF THERMISTOR CIRCUIT DISPLAY DRIVE 4.7K 4.7K 1.0NF BRIGHT CLOCK DATA (PD1/SCL-29) SOC29 (PD3/SOUT-27) SOC27 MW2X2C BIT1 BIT2 BIT3 BIT4 BIT5 BIT6 BIT7 BIT8 BIT9 BIT10 BIT11 BIT12 BIT13 BIT14 BIT15 BIT16 BIT17 BIT18 BIT19 BIT20 BIT21 BIT22 BIT23 M5480 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 AFF-7SEG-POINT CENTAINE SEG3[7.0] SEG2[7.0] SEG1[6.0] SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 AFF-7SEG-POINT UNITE SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 AFF-7SEG-POINT DECIMALE SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 VR02088E 38/40 Hardware Information Board Schematic (Part ST62x30/32 SOCKET supports SOC[1.10] SOC[15.30] SOC[33.42] SOC[1.10] SOC[15.30] SOC[33.42] socket.sch HE10-16DM SOC19 SOC20 SOC6 SOC18 SOC16 SOC24 4.7K LM331 I-REF IN-SITU PROGRAMMING CONNECTOR SOC37 (PA5/CP2-37) MW2X1C 6.8K 47NF SOC1 SOC2 SOC3 SOC4 SOC5 SOC6 SOC7 SOC8 SOC9 SOC10 SOC30 SOC29 SOC28 SOC27 SOC26 SOC25 SOC24 SOC23 SOC22 MW2X21C MW2X1C USER'S I/Os CONNECTOR SOC42 SOC41 SOC40 SOC39 SOC38 SOC37 SOC36 SOC35 SOC34 SOC33 SOC39 (PA3/PWM-39) MW2X1C 100K 100NF PUMP I-PUMP 100K 1MF-ER-63V FREQUENCY MEASUREMENT SOC16 SOC17 SOC18 SOC19 SOC20 SOC21 SOC10 (PC5/Ain-10) VOLTAGE ADJUST 10K-RV RS6A RS6B LEDs BAR-GRAPH INDICATOR SOC42 (PA0-42) MW2X2C SOC41 (PA1-41) 390-SIL10-9 PUSH-BUTTONS SOC36 (PA6/Ain-36) RS232 INTERFACE CIRCUIT 10MF-CT-16V 10MF-CT-16V 10MF-CT-16V 74LS04 C1C2+ C2TD1 MAX232 10MF-CT-16V 10MF-CT-16V VOUT1 OUT2 INP1 INP2 SOC35 (PA7/Ain-35) SOC25 (PD5/TXD-25) SOC30 (PDO/Ain-30) SOC26 (PD4/RXD-26) SOC23 (PD7/Ain-23) RS232 SUBD-9 CONNECTO MW2X4C DEMO ROUTINES SELECTOR 1.2K MW2X6C (PC7/Ain-8) SOC8 74LS125 Portes VR02088F 39/40 Hardware Information Notes: Information furnished believed accurate reliable. However, SGS-THOMSON Microelectronics assumes responsibility consequences such information infringement patents other rights third parties which result from use. license granted implication otherwise under patent patent rights SGS-THOMSON Microelectronics. Specifications mentioned this publication subject change without notice. This publication supersedes replaces information previously supplied. SGS-THOMSON Microelectronics products authorized critical components life support devices systems without express written approval SGS-THOMSON Microelectronics. ©1998 SGS-THOMSON Microelectronics rights reserved. Printed France Imprimerie Purchase Components SGS-THOMSON Microelectronics conveys license under Philips Patent. Rights these components system granted provided that system conforms Standard Specification defined Philips. SGS-THOMSON Microelectronics Group Companies Australia Brazil Canada China France Germany Italy Japan Korea Malaysia Malta Morocco Netherlands Singapore Spain Sweden Switzerland Taiwan Thailand United Kingdom U.S.A. Recycled chlorine free paper 40/40 Other recent searchesTEA5760UK - TEA5760UK TEA5760UK Datasheet SHD120235 - SHD120235 SHD120235 Datasheet RI-STU-MRD1 - RI-STU-MRD1 RI-STU-MRD1 Datasheet MAX9700 - MAX9700 MAX9700 Datasheet MAX9700s - MAX9700s MAX9700s Datasheet MAX9700A - MAX9700A MAX9700A Datasheet MAX9700B - MAX9700B MAX9700B Datasheet MAX9700C - MAX9700C MAX9700C Datasheet MAX9700D - MAX9700D MAX9700D Datasheet LC374TWR-25Q-A - LC374TWR-25Q-A LC374TWR-25Q-A Datasheet HT72XX - HT72XX HT72XX Datasheet 2SB709A - 2SB709A 2SB709A Datasheet
Privacy Policy | Disclaimer |