Home

LITE0 exercises ST7FLITE0 inDART demo board user manual and

image

Contents

1. 8 amp UJ9 X9 JO UOISIAOJd g ome il E Eight high efficiency low current LEDs connected to Ports A B 8 29 LITEO USER MANUAL AND TUTORIAL EXERCISES 2 2 IDB ST7FLITEO DEMO BOARD JUMPER OPTIONS AND CONNECTORS 2 2 1 LED jumpers J4 You can connect disconnect each of the eight LEDs from their respective Ports on Port A and Port B via these eight jumpers as shown in Table 1 Table 1 J4 jumpers Setting Function J4 a Disconnect the eight LEDs from the O ports UVU U UU U U BESS 2000 d Connect the eight LEDs to the ports 177 0 ER 2 2 2 PA7 port jumper J6 OV d evd Odd Lad cad You can connect disconnect a push button switch with a jumper on the PA7 pin i e Table 2 Table 2 J6 jumper Setting Function J6 Disconnect the push button from the PA7 pin J6 Connect the push button to the PA7 pin 2 2 3 PB3 port jumper J7 You can connect disconnect a trimmer with a jumper on the PBS pin i e Table 3 4 9 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Table 3 J7 jumper Setting Function J7 Disconnect the trimmer from the PB3 pin J7 Connect the trimmer to the PB3 2 2 4 Clock selection jumper J5 This jumper selects the microcontroller clock source to be external oscillator or the OSC_CLK pin on the ICC connector i e Table 4 Table 4 J5 jumper Setting F
2. gt Analyse or use the smart icon This action will create the asm inc and hex files The hex file can be directly used to burn a chip with a Starter kit for example using the windows Epromer If there are no errors in your scheme you should obtain a dialog box as shown in Figure 7 4 17 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Figure 7 Analyser status dialog box Analyser Bronze Status Status No errors Creating Netlist DK Creating Cross Reference DK Analysing DK Generating Final Code DK Executing T arget Compiler DK Creating Report File DK 4 1 3 Simulating the created schematic 1 Start the simulator by clicking on Tools gt Simulator A new window will appear You also use the smart icon shown below 2 Now you need to create a new simulation environment The simulation environment file stores all the simulation parameters like settings and options To create a new simulation environment go to the File menu and click on New Simulation environment Create your simulation in the same path as your project and name your file with the sef extension Your scheme will appear 3 18 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Figure 8 Simulation Mode 3 Click on the wires you would like to monitor Input adjusters and Output probes will be dis played in bold as follows Figure 9 Simulation toolbar EB FJ E E Here is a list of th
3. 1 Place the MCU ON CD CD ROM in your CD ROM drive The CD ROM s autorun feature opens up a welcome screen on your PC If the autorun feature does not work use the Win dows File Manager or Windows Explorer to browse to the CD ROM s root folder and dou ble click on welcome exe 2 Select Install Your Development Tools from the list of options A new screen appears list ing the different families of STMicroelectronics MCUs 3 Using the mouse place the cursor over the ST7 TOOLS option Choose InDart ST7FliteO and ST7 EVAL from the lists that appear 4 The install wizard is launched Follow the instructions that appear on the screen The Tutorial Exercises are stored in 3 sub directories Manual contains the User Manual in PDF format Init This directory contains all the files for each exercise Results This directory contains all the exercise results 3 12 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Note the install wizard also copies the options s19 file to the Result directory for each pro gram exercises and examples This file must be used in order to burn the MCU Option Bytes If you choose not to install the Tutorial Exercises in the default installation directory you will have to create a new project environment for each program in the Result directory in order to restore all the parameters and links 4 EXERCISES The following exercises located in the Exercise Init directory will allow yo
4. if you need help with using your ST7FliteO InDart Demo Board feel free to contact your local distributor or your local sales office 2 ST7 DEMO BOARD DESCRIPTION The demo board which features DIP switches jumpers LEDs push buttons a potentio meter prototyping area and a standard ICP connector can be used for evaluation tests in case you do not have your own target application board 3 6 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Note Please refer to the Softec InDart user s manual to get more information 2 1 IDB ST7FLITEO INDART DEMO BOARD FEATURES The IDB ST7FLITEO Demo Board has the following hardware features refer to the schematic drawing on the following page 7 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Figure 2 The IDB ST7FLITEO Demo Board Potentiometer with Push button with RESET Connector area for jumper linked to PB3 pin jumper linked to PA7 pin Push button accessing the I O pins Thy 29770 DEG JLLLLLLIIIIAJ OGE ee EM ec 3 Jen Eight jumpers for the eight LEDs h cw Li 4 Prototyping Area 866666660666 11111111444 401289Uuu05 ddI MOSES Jeduunf e 1 101e 09013415 A ddnsg IDSO
5. DEMO BOARD JUMPER OPTIONS AND CONNECTORS 9 224 LED jumpers 9224 ih EEE dw 9 2 2 2 port jumper 6 teens 9 2 23 port jumper 97 9 2 2 4 Clock selection jumper 5 10 2 2 5 Connector for accessing the I O pins 93 10 2 2 6 IDB ST7FLITEO Resource allocation 11 3 SOFTWARE INSTALLATION i2 x kk rx Gains wie ee ee eee n 12 Sol HEAEIZER d seaside Saw ow oa oe RU EE SS E RE EIER EE 12 3 2 TUTORIAL EXERCISES E REOR S 12 4 EXERCISES rra ellwuea e aa IRE SR NUR sree 13 4 1 EXERCISE 1 HOW TO USE THE A D CONVERTER WITH THE REALIZER 13 4 1 4 Setting up the REALIZER software on your 13 4 1 2 Analysing the created 5 17 41 3 Simulating the created schematic 18 4 2 EXERCISE 2 ASSEMBLER SYNTAX 21 4 3 EXERCISE 3 HOW TO USE THE DATA EEPROM 24 4 3 4 Exercise 3 in Assembly and C Cosmic and Metrowerks languages 25 4 4 EXERCISE 4 BASIC USE OF THE ADC 25 4 4 1 Exercise 4 in Assembly and C Cosmic and Metrowerks languages 25 4 5 EXERCISE 5 HOW TO USE T
6. HE SERIAL PERIPHERAL INTERFACE SPI 26 4 5 1 Exercise 5 in Assembly and C Cosmic and Metrowerks languages 26 4 6 EXERCISE 6 SWITCH ON A LED EVERY 0 5 SECONDS 27 4 6 1 First part SEIS REA EXAMEN Pt 27 4 6 2 lt Second part tret ERLAUBT Re ETE agis ert eee 27 4 6 3 Third irren dn hip ell eres 27 4 6 4 Exercise 6 in Assembly and C Cosmic and Metrowerks languages 28 ky 5 29 LITEO USER MANUAL AND TUTORIAL EXERCISES 1 INTRODUCTION This document describes how to configure the ST7FliteO InDart Demo Board and install and run the Tutorial Exercises available on the MCU ON CD CD ROM In order to perform the Tutorial Exercises you must have the following equipment Softec Microsystems InDart ST7FLITEO Software development tools available from the MCU ON CD CD ROM a Power adapter not delivered 1 1 POWER ADAPTER To be able to install and run the ST7FliteO InDart Demo Board you need a power adapter Its polarity must be as follows Figure 1 Jack plugpolarity gt The adapter output must have the following characteristics Output Voltage 9VDC max Current 500mA min 1 2 GETTING ASSISTANCE For more information application notes FAQs and software updates on all the ST7 microcon troller family check out our website http mcu st com For assistance on all ST microcontroller subjects or
7. LITEO Exercises ST7FliteO InD art Demo Board USER MANUAL AND TUTORIAL EXERCISES Release 1 1 Ay amp Ref DOC LITEO Exercises LITEO Exercises ST7FliteO InDart Demo Board USER MANUAL AND TUTORIAL EXERCISES May 2002 DOC LITEO Exercises USE IN LIFE SUPPORT DEVICES OR SYSTEMS MUST BE EXPRESSLY AUTHORIZED STMicroelectronics PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF STMicroelectronics As used herein 1 Life support devices or systems are those 2 A critical component is any component of a life which a are intended for surgical implant into support device or system whose failure to the body or b support or sustain life and perform can reasonably be expected to cause whose failure to perform when properly used in the failure of the life support device or system accordance with instructions for use provided or to affect its safety or effectiveness with the product can be reasonably expected to result in significant injury to the user Table of Contents INTRODUCTION 2 ss 6 1 1 POWER ADAPTER 82 VR eR ARR een Cane XE 6 1 2 GETTING ASSISTANCE OE RR REO E 6 2 ST7 DEMO BOARD DESCRIPTION 6 2 34 IDB ST7FLITEO INDART DEMO BOARD FEATURES 7 2 2 IDB ST7FLITEO
8. R icon to start the tool after the software installation 2 Now you need to create a new project environment To create a new project go to the 5 13 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Project menu and click on New When you have found the path where you want to create your project name your file with the extension rpf A dialog box as shown in Figure 3 will appear Figure 3 Select target hardware dialog box Select target hardware E3 No target hardware selected Target hardware devices 3 Choose the ST72251 device in the tree structure as shown on the following page and click on the OK button 3 14 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Figure 4 Select target hardware dialog box E Select target hardware Curent 577225152 256 Bytes le E hardware devices E 5T amp 8 Bit MCU ST 8 Bit MCU E A a ST7210x 16 Bit Timer SPI Eg 8 7212 16 Bit Timers SPI SCI EE ST7221x A D Converter SPI EE 5 7225 AID Converter Two 16 Bit Timers SPI 12 cwm 577225151 4K ROM 256 Bytes RAM 57722512 ROM 256 Bytes RAM 6 a ST 231x AID Converter Two 16 Bit Timers SPI 5121 5T7233x Converter Two 16 Bit Timers SPI 5 EEPROM PICL2CSx PICLECSx 8 Bit MCU EH PICI6Cex 7x 8x 8 Bit MCU 4 Now you have a new Project window with the name of your project 5 Click on the Libraries icon with the right mouse button A menu will be di
9. and is initialized in the constant files a Write the timer interrupt routine artim oc rt which switches the LED connected to PAO on or off adds to the content of DCRO the value corresponding to 0 5 sec and clears CMPFO compare flag The main program calls the two initialization routines and enters an infinite loop after resetting the interrupt mask 4 6 2 Second part Using the same time base and the previous code a Modify the timer interrupt routine to shift the lit LED from Px to 1 The content of the ports to be displayed is stored in the 8 bit word shiftdata This data has to be declared in the constant files and initialized in the main program a Inthe ST init routine configure the necessary ports as push pull outputs There will be no wait time between the moment the lit LED switches from PB2 to PAO 4 6 3 Third part Using an external interrupt on PA7 pressing the push button to hold the PA7 pin low double the timer frequency or divide it by 2 a Write the external interrupt routine 1 rt which processes the frequency change every time you detect the button has been pressed You can change the timer frequency by modifying the time base value 5 27 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Modify the init routine to configure the pin as input with interrupt and to select the falling edge interrupt sensitivity Then you have to create a new project under STVD7 4 6 4 Exercise 6 i
10. d S PB2 6 a e pin 8 10 PAG CP Connector Potentiometer J7 PB3 7 J2 P1 PA7 ICP Connector J5 PB4 8 9 PA7 J6 push button J2 SW2 4 11 29 LITEO USER MANUAL AND TUTORIAL EXERCISES 3 SOFTWARE INSTALLATION To perform the exercises which are detailed in this manual the following software packages must be installed The inDART ST7 user interface setup program is located in the SofTec Microsystems Sys tem Software CD ROM provided with the board The setup program will copy the required files to your hard disk To install the inDART ST7 user interface 1 Insert the System Software CD ROM into the CD ROM drive of your computer 2 A startup window should automatically appear if the startup window doesn t appear auto matically manually run the Setup exe file located on the CD ROM root directory Choose Install Instrument Software from the main menu A list of available software should appear Click on the Install inDART ST7 Toolchain option 4 Follow the on screen instructions When the installation is complete click on the Finish button and then reboot your computer to have the autoexec bat modifications taken into account 3 1 REALIZER The free REALIZER BRONZE version is available from the Actum website www actum com 3 2 TUTORIAL EXERCISES The Tutorial Exercises can be installed from the MCU ON CD CD ROM To install them follow these instructions
11. e in Metrowerks language 4 4 EXERCISE 4 BASIC USE OF THE ADC This exercise is divided into two parts m Ex4a the purpose of this program is to convert an analog value from the PB3 port connected to a trimmer into a 8 bit digital value and to display the converted value on LEDs m Ex4b the purpose of this program is to read the analog input of the PB3 port pin and to display the voltage value on LED indicators as follows 0V 1 5V LED connected PBO 1 5V 3 5V LED connected to PB1 3 5V 5V LED connected to PB2 In the ADC directory you will find the ST7FLITEO environment in assembly language as well as the structure of the main module and the batch file for compiling efficiently The programs in the ex4a asm module and in the ex4b asm module have to be modified as follows a The ST7 a sub routine for initializing the ports and the ADC a The main program which waits for the end of the current conversion and outputs the suitable result on in the LEDS 4 4 1 Exercise 4 in Assembly and C Cosmic and Metrowerks languages You must modify the files located in the directory C Exercise Init Ex4 to write a correct pro gram corrected write the a bat batch files ie Ex4a bat and Ex4b bat to assemble link and create 5 25 29 LITEO USER MANUAL AND TUTORIAL EXERCISES a 519 file give it any name you want The batch file also generates the 519 SYM MAP and OBJ files Use the technical manua
12. e actions invoked by the toolbar buttons from left to right Create and place a numeric adjuster Create and place a sine wave adjuster Create and place a square wave adjuster Create and place a time table wave adjuster Create and place a numeric probe Create and place an oscilloscope probe Create and place a state machine probe 4 Once all the probes are implemented use the following toolbar to Initialize Start Record 4 19 29 LITEO USER MANUAL AND TUTORIAL EXERCISES or Pause Stop the simulation DL NIE If you want a pin level simulation mode you must 1 Select Options Simulate A dialog box like the one shown in Figure 10 will appear Figure 10 Simulate options dialog box E Simulate options Simulating Logging Simulation mode Running mode Continuous Timing made Host time Enable accurate simulation Enabling this option will result in more accurate but slower pin level simulation OF Cancel 2 Click on the pins you would like to monitor Input adjusters and Output probes will be dis played as for the schematic diagram Figure 11 gives an example of simulation mode 3 20 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Figure 11 Pin level simulation mode overview 4 2 EXERCISE 2 ASSEMBLER SYNTAX The purpose of the first exercise is to improve your knowledge of the ST7 assembler syntax and the STVD7 environm
13. enerates the S19 SYM MAP and OBJ files Use the technical manual for help Note Use the C Exercise Init Ex5 Asm directory for Exercise 5 in Assembler language Use the C Exercise Init Ex5 C_ cosmic directory for Exercise 5 in Cosmic language Use the C Exercise Init Ex5 C_ metro directory for Exercise 5 in Metrowerks language To test the Exercice 5 we must use two InDart Demo Boards and connect them via the Vss MOSI and SCK pins 26 29 LITEO USER MANUAL AND TUTORIAL EXERCISES 4 6 EXERCISE 6 SWITCH ON A LED EVERY 0 5 SECONDS This exercise can be done in 3 steps a Switch a LED on and off every 0 5 seconds a Shift the LED from Px to Px n with the previous time base a Double the frequency by pressing the board push button The result of each step of your application can be checked on the demo board 4 6 1 First part The purpose of the first partis to use the output compare capability of the timer to create a real time clock The internal time basis is 0 5 sec Every 0 5 seconds a timer interrupt switches on a LED connected to PAO and switches it off after the same period a Write a routine called ST7 init which contains the output port configuration push pull output a Write a routine called init timer which contains the code for configuring the timer output compare interrupt enable fCounterClock fL TIMER fills the output compare 1 register with the time base value This value is declared as a word
14. ent 1 Start the STVD7 Simulator Enter the Toolchain directory paths in the dialog box or use the browse button Note If you have chosen the default directory during installation you will not have to change the assembly toolchain path For Metrowerks the correct path is C Metrowerks CodeWarrior_ STM_V1 1 prog and for Cosmic it is C COSMIC evalST7 Create a new project Click on File New Workspace and enter the requested information see Figure 12 Click on the Source Directory tab in the Workspace window and double click on the di rectory your working directory is displayed by default 21 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Figure 12 Create a new project Hew Workspace Workspace hlename asm Workspace lacalion Exercised nitAcn D Mew Workspace Project Setlings WWorkzpace filename aam ep Soltwane Toolchain Assembly Chain m Esecutabe Fieramae 9 El 17 Secembler B atch File a Makelile or balch H Build command Ire feompileba BebudAl cemmandine SSS Build Rebuild All in lt Back Finish Cancel 22 29 LITEO USER MANUAL AND TUTORIAL EXERCISES 2 Modify the files located in the following environment C exercise Init Ex2 see Figure 13 to correct the assembler syntax Some syntax errors have been introd
15. l for help Note Use the C Exercise Init Ex4 a and b Asm directory for Exercise 4 in Assembler language Use the C Exercise Init Ex4 a and b C_ cosmic directory for Exercise 4 in Cosmic language Use the C Exercise Init Ex4 a and b C_ metro directory for Exercise 4 in Metrowerks lan guage 4 5 EXERCISE 5 HOW TO USE THE SERIAL PERIPHERAL INTERFACE SPI This exercise consists of writing two programs to allow two ST7FLITEO devices to communi cate with each other via SPI Then this exercise is divided into two parts programs Configure the Master device Then write the transmit routine to transfer a byte a Configure the Slave device Then write the reception routine to recover the byte The read value will have to be displayed on the LEDs In order to make the code easy to understand the program is divided into the following parts a Initialize the ST7FLITEO properly Reset routine Initialize PA4 to PAO as output push pull Write the two routines Master Mode and Slave Mode routines NOTES Both routines will be called in the Main c Please refer to the ST7FLITEO datasheet to get information on the peripherals 4 5 1 Exercise 5 in Assembly and C Cosmic and Metrowerks languages You must modify the files located in the directory C Exercise Init Ex5 to write a correct pro gram corrected write the Ex5 bat batch files to assemble link and create a S19 file give it any name you want The batch file also g
16. n Assembly and C Cosmic and Metrowerks languages You must modify the files located in the directory C Exercise Init Ex6 to write a correct pro gram corrected write the a bat batch files Ex6a bat Ex6b bat and Ex6c bat to assemble link and create a S19 file give it anyname you want The batch file also generates the S19 SYM MAP and OBJ files Use the technical manual for help Note Use the C Exercise Init Ex6 a b and c Asm directory for Exercise 6 in Assembler language Use the C Exercise Init Ex6 a b and c C_ cosmic directory for Exercise 6 in Cosmic lan guage Use the C Exercise Init Ex6 a b and c C_ metro directory for Exercise 6 in Metrowerks lan guage The correct files are located in the following directory C Exercise Result Ex6 a b and c 28 29 3 LITEO USER MANUAL AND TUTORIAL EXERCISES Information furnished is believed to be accurate and reliable However STMicroelectronics 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 STMicroelectronics Specifications mentioned in this publication are subject to change without notice This publication supersedes and replaces all information previously supplied STMicroelectronics products are not authorized for use as critical components in life s
17. racter string STMicroelectronics as a table Reading the data EEPROM and displaying what is read on the LEDs You read the values by pressing the SW2 push button In order to make the code easy to understand the program is divided into the following parts Initialize the ST7FLITEO properly Reset routine Initialize PA4 to PAO as output push pull Initialize PA7 as input pull up Initialize PB2 to PBO as output push pull Write the two subroutines Writing subroutine and Reading and Display subroutine NOTES Both routines will be called in the Main c LEDS connected to PAO to display the 4 LSB and LEDs connected to PA4 PBO to PB2 display the 4 MSB Please refer to the ST7FLITEO datasheet to get information on the peripherals 3 24 29 LITEO USER MANUAL AND TUTORIAL EXERCISES 4 3 1 Exercise 3 in Assembly and C Cosmic and Metrowerks languages You must modify the files located in the C Exercise Init Ex3 directory to write a correct pro gram corrected write the Ex3 bat batch file to assemble link and create a S19 file give it any name you want The batch file also generates the 19 SYM MAP and OBJ files Use the technical manual for help Note Use the C Exercise Init Ex3 Asm directory for Exercise 3 in Assembler language Use the C Exercise Init Ex3 C_ cosmic directory for Exercise 3 in Cosmic language Use the C Exercise Init Ex3 C_ metro directory for Exercis
18. splayed as fol lows 7572 15 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Figure 5 Libraries menu 3 Project Ex1 E amp 3 Schematics dpe Ex1 sch Site Remove M 256 Bytes RAM Properties 6 Click on Open to add the library you want to work on Choose the main lib file When you select this file it will display a new window as shown in Figure 6 and you can choose any of the symbols in the various trees to draw your scheme in the schematic window Figure 6 Main library window menu Main lib x Input and output Sequential Logic Time related Mathematical Counter Conversion Table Power management Constant State machine Hierarchical sheet Title 7 Draw your scheme In this exercise you may need to use the adc digout 2 and comp symbols which are in the Input and output Logic and Conversion trees of the main library To place in them the schematic window or to obtain more information on each of the symbols you would like to use click with the right mouse button and choose Place or Infor mation 3 16 29 LITEO USER MANUAL AND TUTORIAL EXERCISES You then have to connect them with wires using the smart icons 4 1 2 Analysing the created schematic 1 In the project window click with the right mouse button on Target hardware and choose Hardware settings The following dialog box will appear 2 start the analyser Project
19. u to learn how to work with ST7FLITEO MCUs and tools By doing them you will learn how to program using the assembly and C Cosmic and Metrowerks languages The first exercise will help you to de velop applications with the REALIZER for this exercise we will use the ST72251 device Note For this exercise we have chosen to use the ST72251 device because the REALIZER BRONZE version does not support the ST7FLITEO We will use the InDart interface for all the exercises 4 1 EXERCISE 1 HOW TO USE THE A D CONVERTER WITH THE REALIZER The goal of this section is to help you to get started quickly with the REALIZER by using a ex ample The correct file is located in the directory Exercise Result Ex1 The following exer cise has been developed with the free REALIZER BRONZE version available from the Actum web site www actum com This exercise consists of writing a program that displays the voltage of a trimmer The voltage is measured by the A D converter and displayed on 3 levels as follows Level 1 LDO OV to 1 5V Level 2 LD1 1 5V to 3 5V Level 3 LD2 3 5V to 5V The following code uses the A D interrupt In order to make the code easy to understand the program is divided into the following parts a Initialize the ST7 properly Reset routine Initialize PAO PA1 and PA2 as output push pull Initialize PCO as analog input 4 1 1 Setting up the REALIZER software on your PC 1 Double click on the REALIZE
20. uced by replacing the correct directives or code by Find them and correct them Figure 13 Environment files Look in Asm de Dal E inc register map E Censtani aim files E Constant inc E Modue2 asm E 7fliteO acm 3 When everything is corrected write the compile bat batch file to assemble link and create a 519 file give it any name you want The batch file also generates the S19 SYM and OBJ files Use the technical manual for help 4 Then click on Project Build or directly on the Build shorcut to build your application 5 If some errors occur double click on them in the output window to be place on them cor rect them and rebuild 6 If you want to debug just click on the blue D in the tool bar Then select Tools MCU con figuration to configure the MCU name see Figure 14 and the option byte software watchdog 4 23 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Figure 14 MCU Configuration MCU Configuration X inDART Model Hw Code INDART ST7LITEO Settings Cancel Device and Option Bytes Device Code ST7FLITEOSB ST FLITEOSB ST 7FLITEOSM ST 7FLITEOSB ST FLITEOSM 4 3 EXERCISE 3 HOW TO USE THE DATA EEPROM This exercise consists of creating a program that writes and reads data in EEPROM This program is divided into two parts a Programming a table of values in the data EEPROM we will take the cha
21. unction J5 Deselect External oscillator and OSC_CLK ICC pin as clock OS source e dm J Select the OSC_CLK ICC pin as clock source 9 Do J5 1 Select the External oscillator as clock source Q 2 2 5 Connector for accessing the I O pins 43 On the demo board you can access the I O pins of the ST7FLITEO via a connector for expan sion prototyping i e Table 5 3 10 29 LITEO USER MANUAL AND TUTORIAL EXERCISES Table 5 I O pin connector J3 Setting Function J3 55 0 e P 1 pas To access the I O pins for ex PBI PA4 ansion prototyping 2 PAS P P yping PES 284 SIGNAL PINS 2 2 6 IDB ST7FLITEO Resource allocation The following table lists the ST7FliteO InDart Demo Board resources with the corresponding pin of the wire wrap connector and indicates the jumper that disconnects each resource Table 6 IDB ST7FLITEO Resource allocation Wire Wrap Wire Wrap On board Connector J3 Connector J3 On board Jumper PIN Pin Pin resource Pin Name No No Name V 1 J4 16 LD 2 Led Vdd 2 pin 1 RESET J4 15 PA1 LD 3 Led push button pin 2 SW1 RESET 3 J4 14 PA2 LD 4 Led ICP Connector pin 3 J4 13 PA3 LD 5 Led J4 pin 4 LD7 Led 4 6 J4 12 PA4 LD 6 Led J4 pin 5 in 7 nel 3 ICP Connector B 11 PAS LD9 Le
22. upport devices or systems without the express written approval of STMicroelectronics The ST logo is a registered trademark of STMicroelectronics 2002 STMicroelectronics All Rights Reserved Purchase of IC Components by STMicroelectronics conveys a license under the Philips C Patent Rights to use these components in an system is granted provided that the system conforms to the Standard Specification as defined by Philips STMicroelectronics Group of Companies Australia Brazil Canada China Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Singapore Spain Sweden Switzerland United Kingdom U S A http www st com 4 29 29

Download Pdf Manuals

image

Related Search

Related Contents

KK-DH27-10取扱説明書(PDF:4958KB)  Transition from MELSEC-A/QnA (Large Type), AnS  Glacier Bay N2428R-BNE Instructions / Assembly  ergoline Rehabilitation System User Manual  Kit d`analyse de la concentration en nitrate Vacu-vials  Brinkmann 6355-T Gas Grill User Manual  Installation    Sanyo DP32648 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file