Home

Demonstration kit for single and double axis gyroscopes in

image

Contents

1. Software Version 1 0 10 Legenda MK IV Markers Main Control ST Micro Not Connected Saving Insert File Name ref 1 default dat Start saving Stop saving Easy START Select Port Connect ref 2 Start LSB Stop IV Angular Rate Disconnect Y Legenda SS M BITCH BEEN IV ROLL MK T Markers ref 4 ref 5 Device LPR4104L Firmware PR4104L Software Version 1 0 12 ki Doc ID 16617 Rev 1 15 35 Graphical user interface UMO855 4 1 4 2 4 2 1 16 35 The functions of the four main sections of the window are described below 1 Main control Figure 9 ref 1 connects disconnects the board and starts acquisition via the Start Stop buttons 2 Saving box Figure 9 ref 2 allows the user to save the data to a specified text file choosing the data type to write Data types available are a LSB the analog values measured by the 8 bit A D converter of the microcontroller are converted to 8 bit values hence the 256 magnitude levels b Angular rate LSB data are multiplied by the sensitivity to obtain the angular rate expressed in deg sec 3 Tab selector Figure 9 ref 3 used to toggle between the different features of the demonstration kit 4 Legend Figure 9 ref 4 used to enable disable viewing the axes 5 Details Figure 9 ref 5 shows information about the demonstr
2. Once the procedure is complete a Windows message appears stating that a USB device is not recognized The user can then unplug the USB cable from the STEVAL MKIOxxV 1 demonstration board and use it with the new firmware To back up the user s current firmware before flashing the demonstration kit with a new one flag Upload DFU device Figure 18 before clicking on Upgrade The user is then prompted to save the current firmware in the preferred directory before the erasing the internal Flash Figure 19 Select new firmware MPD Device Firmware Upgrade E xi File Help YZ MPD MEMS Product Division Version 040131 Upload DEU device Trace DEU USB devices DEU Programming MEMS DEMO DFU y LPR530AL dfu Vendor ID 0x0483 Upgrade Product ID ODAT No device Detected devices change Rebuilding devices list s ssfully loaded T Found 1 correct d DEU File was s Doc ID 16617 Rev 1 29 35 DEU UMO855 30 35 Figure 20 Flash erasing MPD Device Firmware Upgrade GL MP MEMS Product Division Erasing 17 Figure 21 Flash upgrading MPD Device Firmware Upgrade y Upgrade Cancel PD MEMS Product Division Upgrading 35 Doc ID 16617 Rev 1 Schematic diagram UMO855 Schematic diagram 9 The schematic diagram of the STEVAL MKIOxxV1 demo
3. gt properties gt settings then click on the ASCII Setup button 7 Select Send line ends with line feeds and Echo typed characters locally 8 Click the OK button to close the ASCII Setup window 9 Click the OK button to close the Properties window Once this procedure has been completed the user can utilize the commands described in the following sections by typing them into the Hyper Terminal window 7 2 Supported commands The table below lists the commands supported by the STEVAL MKIOxxV1 firmware Some commands are valid only for DCWM Using them outside of DCWM could result in unexpected errors Table 5 Supported commands Available Command Description Returned value in WM start Starts continuous data acquisition stR 402 02 401 O1 oh S DC debu Returns the angular rate data in readable text 4 OUTX XXXXX DC g format VREF XXXXX ky Doc ID 16617 Rev 1 25 35 Supported commands UMO855 Table 5 Supported commands continued Available Command Description Returned value in WM stop Stops data acquisition DC Zon Force 3 state enter in AWM Both Zoff Exit from 3 state enter in DWM Both dev Device name e g LPR430AL Both ver Firmware version e g PR430AL 1 08 Both Where eR Vref value e 402 4xOutput2 e 02 1xOutput2 e 401 4xOutput1 e Ot 1xOutput1 e Oh byte set to O hex value e s service field 7 2 1 Start com
4. kw UM0855 YZ User manual Demonstration kit for single and double axis gyroscopes in a 4 x 5 mm package Introduction This document applies to all demonstration kits related to ST MEMS single and double axis gyroscopes in 4 x 5 mm packages hereafter referred to as STEVAL MKIOxxV1 The STEVAL MKIOxxVI1 is a demonstration kit designed to provide the user with a complete ready to use platform for demonstration of the LPR4xxAL and LPR4xxxAL product families The device includes a sensing element and an IC interface capable of translating information from the sensing element into a measured signal that can be used for external applications In addition to the MEMS sensor the demonstration board utilizes an ST72651AR6 microcontroller which functions as a bridge between the sensor and the PC on which it is possible to use the downloadable graphical user interface GUI or dedicated software routines for customized applications This user manual describes the hardware included with the demonstration kit and provides the information required to install and run the demonstration kit user interface For details regarding the features of each member of the LPR4xxAL and LPR4xxxAL sensor families please refer to the datasheets available for each single device November 2009 Doc ID 16617 Rev 1 1 35 www st com Contents UM0855 Contents 1 Demonstration kit description xs x s e x lt c x cece ee 5 2 Working modes 5 5
5. 18 35 Figure 11 Options tab ref 3 Operating Mode OM r Self Test ST Cc ref 1 S Enable or Disable Self Test aeria 3 function ST Disable OUTPUT Amplification FullScale Selection High Pass Filter HPF Reset ref 2 Select Output C OUTx1 FSx1 Enables Disables Output High Pass C HPF Reset On _ gt Filter Resetting C OUTx4 F5 4 C HPF Reset Off ref 4 Lad Bars tab The bars tab Figure 12 displays the available pitch roll and or yaw angular rate data measured by the device in a bar chart format see Figure 9 ref 4 The height of the bar is determined by the amplitude of the signal measured around the axis The full scale of the graph is fixed to 2 times the selected full scale of the selected device Figure 12 Bars tab angular rate data Doc ID 16617 Rev 1 2 UMO855 Graphical user interface 4 2 5 Plot tab The plot tab Figure 13 shows the sequence of selected angular rate samples that have been measured by the MEMS sensor and converted by the A D converter The tab shows the angular rate values Figure 13 ref 1 the numeric values of angular rates samples that have been measured by the sensor expressed as deg sec Figure 13 Plottab 400000 Dedg set 00100 Deg sec Doc ID 16617 Rev 1 19 35 Graphical user interface UMO855 20 35 Figure 14 Plot tab zoom 1 Sel
6. Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Demonstration board block diagram eee 5 Top silk screen of the STEVAL MKIOxxV1 demonstration board assenso 6 Top view of the STEVAL MKIOxxV1 demonstration board ooooooooooo 6 Software installation m 10 Notify ICON s 2n t RRR ede bu ah cu Re re ae ae wa bb a bah er ebd 11 Driver installation using the device Manager seien 11 USB driver installation using the hardware update wizard ee aee 12 Virtual COM driver port assignment eee 13 Graphical user interface main window liis 14 Home tab m T 16 Options tab as x cancels Shae a a R 16 Bars tab angular rate data ii 17 E a a a E a a a a a aa E 18 Plot tab ZOOI zi aN it di Ai E T Sas SE 19 Data tab i i sena daw nee EUR BN asa nan Moda Dam R N REE R bab ha 20 FET Ec c Cu 21 STEVAL MKIOxxV1 Lite GUI oocccccocococcn 23 Demonstration kit correctly recognized na 27 Select new firmware liliis hh 28 Flash erasing iE REO eR e tae eh bee RU wad INN Se go Rod AE RR ee 29 Flash upgrading oi Se aoe bb asa aa ere ae 29 Schematic diagram of the STEVAL MKIOxxV1 board 0 2 00 cece eee eee 30 Doc ID 16617 Rev 1 5 35 Demonstration kit description UMO855 6 35 Demonstration kit description The STEVAL MKIOxxV1 is a complete demonstration kit that allows evaluation of the perfo
7. 33 35 Revision history UM0855 11 34 35 Revision history Table 7 Document revision history Date Revision Changes 11 Nov 2009 1 Initial release Doc ID 16617 Rev 1 UMO855 Please Read Carefully Information in this document is provided solely in connection with ST products STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections modifications or improvements to this document and the products and services described herein at any time without notice All ST products are sold pursuant to ST s terms and conditions of sale Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described herein No license express or implied by estoppel or otherwise to any intellectual property rights is granted under this document If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPL
8. Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com ky Doc ID 16617 Rev 1 35 35
9. MEMS UNIT Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed A T Search removable media floppy CD ROM 4 If your hardware came with an installation CD Pi this jon inthe 2 or floppy disk insert it now E Program Fies STM EK302D L diver z What do you want the wizard to do C Dom e Ee C Install the software automatically Flecomm Choose this option to select the device driver from a list Windows do guarantee that the driver you choose will be the best match for your hardware Hardware Update Wizard Please wait while the wizard installs the software EJ ST Virtual Com amp Hardware Installation a The software you are installing for this hardware ST Virtual Com has not passed Windows Logo testing to verify its compatibility with Windows XP ell me why this testing is important Hardware Update Wizard Completing the Hardware Update Wizard The wizard has finished installing the software for E ST Virtual Com Click Finish to close the wizard AMO1771v1 Once the installation is complete a COM port number is assigned to the ST virtual COM driver Figure 8 This number should be retained as it is required to run the STEVAL MKIOxxV1 demonstration software GUI For additional details see Section 4 1 Doc ID 16617 Rev 1 13 35 STEVAL MKIOxxV
10. by USB or when the power supply is applied to J10 The microcontroller on the board is disabled and board behavior can be controlled through the dedicated jumpers In this working mode the power down PD self test ST and high pass filter reset HP functions are respectively managed by JP4 JP5 and JP7 as described below see Figure 3 to identify the jumpers Table 1 Jumper configurations for power down PD self test ST and high pass filter reset HP in AWM Jumper on 1 2 position Jumper on 2 3 position JP4 a ST Logic level 1 self test ON Logic level 0 self test OFF default JP5 PD Logic level 1 power down mode Logic level 0 normal mode default JP7 HP Logic level 1 external high pass filter reset Logic level 0 normal mode default Analog output signals can be measured respectively through pin 3 marked Out1 pin 4 marked Out2 for single axis devices only and pin1 GND of the J3 header see Figure 3 ref 7 The JP1 and JP6 jumpers allow the user to select which output signal is available on J3 Doc ID 16617 Rev 1 ky UMO855 Working modes Note Note 2 2 Table 2 Jumper configurations for JP1 and JP6 in AWM Jumper on 1 2 position Jumper on 2 3 position JP1 1xOut1 not amplified on J3 pin 3 Out1 4xOut1 amplified on J3 pin 3 Out1 JP6 1xOut2 not amplified on J3 pin 4 Out2 4xOut2 amplified on J3 pin 4 Out2
11. oue be deo eee ee de eee eee 7 2 1 Analog working mode AWM sssssese em 7 2 2 Digital working mode DWM ii 8 2 3 Additional settings sesos DE SANA KE LAN KAN E KERANA BOR ER bee x 9 3 STEVAL MKIOxxV1 GUI installation ooooooomoo 10 3 1 PC system requirements ii 10 3 2 Software installation na 10 3 3 Hardware installato uh sew ee e eed oe RC Rd RR On 11 4 Graphical user interface 00 cece eee eee eee ee 14 4 1 Connecting to the virtual COM port 0 00 eee eee 15 4 2 GUI mam window functions 2241650520 coownlenl hana PES RATER 15 4 2 1 Easy Start button sosca R 9 N R tee 15 4 2 2 Home tab sge vs s menata e EP EIE REE AG ERES 16 4 2 3 Options tab iega kaia a wattle aR Ae Ra Xx Ea ped Red ete ae 16 4 2 4 Bars tab maan px ego gon s Sage een kee eae EORR RR 17 4 2 5 Plot tab duse a tee Bie eee Sede chee Pe eee RE 18 4 2 6 Data tab sci ente kan a Wana sO bean A Rood OR ale 20 4 2 7 ERA si E en RG RS aa 21 5 Data acquisition quick start 22 6 STEVAL MKIOxxV1 Lite coocccocooooococcoccoccococoooc c 23 7 Supported commands essere 24 7 1 Getting started ae R R Rg R RR KR Makes RRR RRR RR RRR oe 24 7 2 Supported commands Wi 24 7 2 1 Start command DWM only ii 25 7 2 2 Debug command DWM only ia 25 7 2 3 Stop command DWM only ii 26 7 2
12. 1 GUI installation UMO855 14 35 Figure 8 Virtual COM driver port assignment SU les Dane nH estem Computer Management Local E E System Tools Y L Event Viewer T ze Disk drives Y vd Shared Folders m Display adapters R Performance Logs and Alerts f DVD CD ROM drives Device Manager 2 5 Floppy disk controllers Storage Y IDE ATA ATAPI controllers E Removable Storage a Keyboards Disk Defragmenter m gt Mice and other pointing devices Disk Management Y amp Monitors a Services and Applications E M9 Network adapters E Ports COM amp LPT Y Communications Port COM1 Y EEE Per ETT Poa BABS Smart card readers BIO Sound video and game controllers Se Storage volumes E System devices E Universal Serial Bus controllers AM01772v1 Doc ID 16617 Rev 1 2 UMO855 Graphical user interface d Graphical user interface To run the STEVAL MKIOxxV1 demonstration software GUI 1 Click on Start gt All Programs 2 Select STEVAL MKIOxxV1 gt Executables 3 Launch the program STEVAL MKIOxxV1 Ver 0 0 1 The GUI main window appears as shown in Figure 9 Figure 9 Graphical user interface main window ref 3 Options Bars oax ST STMicroelectronics 57 Select Port p Saving Insert File Name default dat Browse Start saving Stop saving ectronics F LSB I Angular Rate
13. 11 v ref 6 ref 9 Operation of the STEVAL MKIOxxV1 demonstration kit requires the installation of a dedicated driver which is included in the installation pack together with a GUI interface which allows simple interaction with the sensor The steps required for driver and software installation are described in the sections that follow ky Doc ID 16617 Rev 1 7 35 Working modes UMO855 2 2 1 8 35 Working modes The STEVAL MKIOxxV1 demonstration board is designed to be used in two different working modes e Analog working mode AWM the microcontroller on the board is disabled and the analog outputs of the device are available to the user on the dedicated connector Figure 3 ref 7 This is the default working mode when power is applied either through the USB connector or through the supply connector Figure 3 ref 10 e Digital working mode DWM the microcontroller on the board is enabled and allows the user to digitally acquire the output signals of the device to see them on the PC through the dedicated GUI and to manage the control pins of the device Each working mode requires a board setup which is done by correctly setting the jumpers labeled JP4 JP5 JP7 see ref 1 ref 2 and ref 3 respectively in Figure 3 and the jumpers labeled JP1 and JP6 see ref 4 and ref 5 respectively in Figure 3 Analog working mode AWM AWM is the working mode activated by default when the board is connected to a PC
14. 4 Zon and Z0 seek eddie Po Eee KR Pa RN x Radda ates 26 2 35 Doc ID 16617 Rev 1 ky UMO855 Contents 7 2 5 Device Name s temo ninia Pt ees ei id ae 2a 0 26 7 2 6 Firmware version cc ee RR RR Ras 26 7 3 CICK aE A RT re uM UI E EE CER Ur 26 8 DFU a Sa naa IECIT 27 8 1 PC requirements cesse e eaves bawdy bene ba ba Rat 27 8 2 DFU procedure c ss ge x GR raara t ee REO EXP ESREXAX ER ERRERR EE 27 9 Schematic diagram eeuoeeeeee Rh hh 30 10 Bill of materials eeeeeer n RR IRI IRI Ihn 31 11 REVISION history is ama AAA a OR OR cd ewes 33 ky Doc ID 16617 Rev 1 3 35 List of tables UM0855 List of tables Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 4 35 Jumper configurations for power down PD self test ST and high pass filter reset HP in PAV Man nc antics atten aut Ke naa a Sea I Guat A Lu EL LEE CU 7 Jumper configurations for JP1 and JP6 in AWM ii 8 Jumper configurations for JP9 and JP8 in AWM in 8 Jumper configuration for DWM ii 8 Supported commands ooo 24 Bill of materials i 2rd RR ia men Re ae eds eee ba Ba baba Row an AA 31 Document revision history ii 33 Doc ID 16617 Rev 1 ky UMO855 List of figures List of figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15
15. 55 Supported commands 7 Supported commands The microcontroller mounted on the STEVAL MKIOxxV1 board is equipped with dedicated firmware which supports a set of commands that allow control of the single axis digital output MEMS sensor and permit the acquisition of the measured angular rate data The firmware also handles the communication between the STEVAL MKIOxxV1 and the PC through the USB bus These features allow users to easily write their own applications to exploit the capabilities of the gyroscope This section describes the commands that are supported by the firmware for the microcontroller of the STEVAL MKIOxxV1 demonstration kit 7 1 Getting started Before using the commands supported by the firmware the following procedure must be performed 1 Connect the STEVAL MKIOxxV1 to the USB port 2 Launch an application that allows the sending of commands through the virtual serial port The remainder of this document assumes the use of Microsoft s Hyper Terminal program available with the Windows XP operating system 3 Create a new connection enter a name ex STEVAL MKIOxxV1 and click OK 4 Inthe Connect Using field select the virtual COM port to which the USB port has been mapped and click OK 5 Inport settings set bits per second to 115200 data bits to 8 parity to none stop bits to 1 and flow control to none Click OK 6 In the Hyper Terminal application window choose files
16. 805 C21 10 nF 0805 C22 4 uF 0805 C23 4 uF 0805 C24 2n2 0805 C25 2n2 0805 Cosc1 33 pF 0805 Cosc2 33 pF 0805 D1 SMD LED green LED SMD 0805 D2 a SMD LED 3C LED SMD 3C J1 USB connector USB mini B USB mini B J3 Header 8 Header 1x4 Header 1x4 2mm Doc ID 16617 Rev 1 2 UMO855 Bill of materials 2 Table 6 Bill of materials continued Designator Description Comment Footprint J4 Header 1x2 Header 1x2 2mm JP1 Header 1x2 Header 1x2 2mm JP2 Header 1x2 Header 1x2 2mm JP3 Header 1x2 Header 1x2 2mm JP4 oe Header 1x3 Header 1x3 2mm JP5 Header 1x3 Header 1x3 2mm JP6 Header 1x3 Header 1x3 2mm JP7 Header 1x3 Header 1x3 2mm JP8 Header 2x2 Header 2x2 2mm JP9 dunne Header 2x2 Header 2x2 2mm Q1 2STR2215 SOT 23 3 ae EDS 0624 SOT23 8 R1 180 Q 0805 R2 100 Q 0805 R3 100 Q 0805 R4 10 ko 0805 R5 470 Q 0805 R6 1 kQ 0805 R7 10 kQ 0805 R8 1 kQ 0805 R9 Resistor 33 kQ 0805 R10 10 kQ 0805 R11 10 kQ 0805 R12 10 kQ 0805 R13 33 kQ 0805 R14 1 MW 0805 R15 1 MW 0805 R16 10 kQ 0805 R17 10 kQ 0805 SW1 NReset SMT Button Sw2 gn SMT_Button SMT_Button U4 Single or dual axis gyro in 4x5mm LGA 16 4 5 1 1 package U2 IC ST72F651AR6T1E TQFP64_10x10 U3 ST662ABD SO G8 U4 LE30CD SO G8 Yoscm1 Crystal 12 MHz SXA Doc ID 16617 Rev 1
17. Current selection requires at least 21 8 MB of disk space Back Next gt Cancel AMO06007v1 Doc ID 16617 Rev 1 11 35 STEVAL MKIOxxV1 GUI installation UMO855 3 3 12 35 Hardware installation To install the virtual COM driver insert the demonstration kit board into a free USB port The notify icon should appear as in Figure 5 Figure 5 Notify icon i Found New Hardware se ST MEMS UNIT KE OR VE AM01769v1 If the hardware update wizard window appears Figure 7 follow the instructions on the screen otherwise the installation can be performed by following the instructions indicated in Figure 6 and then Figure 7 Figure 6 Driver installation using the device manager Right click on M Computer Right click on ST MEMS UNIT and choose update driver d setup3 Open Browse with Paint Shop Pro 8 Explore Search f manse asig Map Network Drive Disconnect Network Drive Send To Cut Copy Create Shortcut Delete Rename Properties AM01770v1 Doc ID 16617 Rev 1 ky UMO855 STEVAL MKIOxxV1 GUI installation 2 Figure 7 USB driver installation using the hardware update wizard Hardware Update Wizard Welcome to the Hardware Update Please choose your search and installation options RS o Wizard This wizard helps you install software for 9 Soch for the best driver in these locations ST
18. IED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners 2009 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia
19. IOxxV1 to the USB port 2 Start Microsoft Hyper Terminal and configure it as described in Section 7 1 3 Inside the Hyper Terminal window enter the command Zoff to enable control of the device by the ST72651AR6 microcontroller 4 Send the debug command to get the yaw rate data measured by the sensor 5 Send stop to end the continuous acquisition and visualization Doc ID 16617 Rev 1 27 35 DEU UM0855 8 DFU The MEMS DFU device firmware update GUI is a graphical interface that allows the user to download and replace the firmware of a MEMS demonstration board directly from a PC through the USB port MEMS demonstration boards that mount an ST72651AR6 microcontroller can reprogram an application via USB in accordance with the DFU class specification defined by the USB Implementers Forum USB IF This capability is useful because it allows the reprogramming of the microcontroller directly in the field and is particularly well suited for USB applications where the same USB connector can be used both for standard operating mode and for the reprogramming process Connector J4 must be shorted to allow the DFU procedure If the demonstration kit is to be reprogrammed through the ICP in circuit programming connector and the ST7 dedicated tools J4 must be open 8 1 PC requirements In order to use the device firmware upgrade DFU software with the Windows operating system a recent version of Windows such as Windows 98 Wi
20. Not connected for single axis devices The JP9 and JP8 for double axis devices only see Figure 3 ref 6 and ref 11 jumpers allow the management of external HP and LP filters respectively for Out2 and Out1 Table 3 Jumper configurations for JP9 and JP8 in AWM Configuration Function pin 1 2 short pin 3 4 short HP and LP filters enabled pin 2 4 open pin 3 4 short HP and LP filters bypassed Not connected for single axis devices Digital working mode DWM When the board is configured for DWM it can be controlled by a PC through the dedicated GUI The USB works as an interface channel between the PC and demonstration kit board by means of the microcontroller The microcontroller takes advantage of its on board 8 bit A D converter to read analog values from the device and to convert them in digital values then sends them to the PC via the USB channel For the board to work in DWM the jumpers must be configured as described in Table 4 Table 4 Jumper configuration for DWM Jumper JUMPER position JP4 ST 2 3 default or not connected JP5 PD 2 3 default or not connected JP7 HP 2 3 default or not connected JP1 and JP6 Refer to Table 1 JP9 and JP8 Refer to Table 3 Users can interact with the board by means of the STEVAL MKIOxxV1 GUI and or Microsoft Hyper Terminal refer to Section 4 and Section 7 Doc ID 16617 Rev 1 9 35 Working modes UM0855 2 3 10 35 A
21. T6953 3 Mon o ellas dee tee SG ll ano o sand zwa T 19909 ot as I z 0015 WOOL iL uoo Fact awo Fo L J aa sus zu WIT za z NaHS 39 L z m ES 2 19 wa uoz yo t A en o a wis T T var BPA Tas ireng SOA paren c pawoman pa P is N x0 R g oat Wy l E yg ka FR Ep lo lo 8 z2 2 2 z z o 8566866 amp 8 e S s e ic gr ANDY lt E E Naa zi INOA Na P Sid gw s Qu d dus wzo Mee Yo Sd mr rl PPA Sdr uo yee so T 6H o DuC E EF sid eid CEST z Anno E 2 2 88858624978 i DEN FREER BA R Mdngjewog RNE anor WOL voot 9 9 go Ho s lr le fo z e ao E E R a E Toon 8 PPA TP PPA L SOA m anma Toor rae ig I E ainseoy TRT EET lari 020 or 31 35 Doc ID 16617 Rev 1 Bill of materials UMO855 10 32 35 Bill of materials The bill of materials for the STEVAL MKIOxxV1 demonstration kit is provided in the table below Table 6 Bill of materials Designator Description Comment Footprint C1 10 uF C1206 POL C2 4 uF C1206_POL C3 4 uF C1206_POL C4 100 nF 0805 C5 100 nF 0805 C6 100 nF 0805 C7 100 nF 0805 C8 47 nF 0805 C9 220 nF 0805 C10 10 uF C1206 POL C11 100 nF 0805 C12 100 nF 0805 C13 10 uF C1206 POL C14 Capacitor 220 nF 0805 C15 220 nF 0805 C16 4 uF 16 V C1206_POL C17 4 uF 16 V C1206_POL C18 2y2 C1206 POL C19 100 nF 0805 C20 470 nF 0
22. ation kit such as the name of the sensor the version of the firmware loaded on the microcontroller and the version of the PC software Connecting to the virtual COM port Before using the functions of the demonstration kit software the connection with the STEVAL MKIOxxV1 board must be opened using the following steps 1 Connect the STEVAL MKIOxxV1 to the desired USB port 2 Inthe Select COM drop down menu Figure 9 ref 1 choose the virtual COM number to which the board has been mapped For additional information on how to obtain this number see section 3 3 Otherwise press Find to automatically get the correct COM number 3 Open the connection by clicking on Connect Figure 9 ref 1 Opening the connection starts the board model recognition flow If the flow terminates successfully a recognized board code and mounted device code is generated and written on the Home tab Otherwise a message on the same tab alerts the user to check the board At this point the user can acquire plot and save the angular rate data measured by the sensor and access the content of the registers embedded in the device If the Find button is pressed Figure 9 ref 1 the GUI attempts to automatically find the COM number assigned to the demonstration kit and displays it in the list box as a selected item GUI main window functions The following sections provide details regarding the functions of the tabs and buttons on the GUI main wi
23. dditional settings JP2 must be present on the board to enable the DFU feature Figure 3 ref 8 For detailed information on the DFU feature see Section 8 JP3 allows the measurement of current consumption Figure 3 ref 9 J4 usually open is used to supply the board alternatively through a USB connection Figure 3 ref 10 Doc ID 16617 Rev 1 ky UMO855 STEVAL MKIOxxV1 GUI installation 3 3 1 3 2 STEVAL MKIOxxV1 GUI installation The installation of the graphical user interface GUI for the STEVAL MKIOxxV1 requires two steps 1 installation of the software downloaded from www st com 2 installation of the virtual COM driver needed to use the demonstration kit PC system requirements Both the hardware and software that compose the STEVAL MKIOxxV1 demonstration kit have been designed to operate with Microsoft Windows XP Software installation To install the software 1 double click on Setup exe 2 follow the on screen instructions Figure 4 Figure 4 Software installation Select Components Which components should be installed Select the components you want to install clear the components you do not want to install Click Next when you are ready to continue Full installation M STEVAL MKIO 041 Lite Y STEVAL MKID 441 Lite source code Y ST7 Firmware Y Virtual COM Driver Y STEVAL MKIO 9V1 Evaluation Kit User Guide Y L DL Datasheet IM STEVAL MKIOO V1 Rev1 0 Schematics
24. de only command 26 35 Doc ID 16617 Rev 1 ky UMO855 Supported commands 7 2 3 Note 7 2 4 7 2 5 7 2 6 7 3 Stop command DWM only The stop command interrupts any acquisition session that has been started with either the start or debug commands This is a digital working mode only command Zon and Zoff The Zon and Zoff commands are employed respectively to put into 3 state i e high impedance and to remove from 3 state i e normal mode the lines of the ST72651AR6 microcontroller mounted on the demonstration kit These commands allow the isolation of the sensor from the microprocessor and permit the user to interact with the sensor in a purely analog way By default when the kit is turned on the lines are in 3 state mode or AWM and the user is required to send the command Zoff to allow communication between the sensor and the microcontroller or DWM Device name The dev command retrieves the name of the device mounted on the demonstration kit connected to the PC The returned value is e g LPR430AL Firmware version The ver command queries the demonstration kit and returns the version of the firmware loaded in the microprocessor e g PR430AL 1 08 Quick start This section provides the basic sequence of commands to start a data communication session and to retrieve the yaw rate data from the demonstration kit running in digital working mode 1 Connect the STEVAL MK
25. ect one point on the screen and click the LEFT mouse button 2 Holding the LEFT mouse button pressed move the cursor to select an area on the screen L 3 Releasing the LEFT mouse button to terminate the zoom in process a new magnified area is shown on the screen 4 To return to the original view click the RIGHT mouse button XLI M NAM My W L W TN ju 4 mM L LU i Im T i i x i NI Ji lalu MIT wik Pl E fi U A PA Magd AP ab mepet 4 Doc ID 16617 Rev 1 UMO855 Graphical user interface 4 2 6 Data tab The data tab Figure 15 shows the angular rate values measured by the device It is divided into two sections 1 ADC out Figure 15 ref 1 displays the angular rate data provided by the sensor after its conversion to digital format by the 8 bit AD converter 2 Angular rate value Figure 15 ref 2 represents the angular rate data measured by the sensor converted by the AD converter and multiplied by the currently selected sensitivity Values are expressed as deg sec Note To increase data readability the values shown in the boxes described above are based on an average of 50 samples Figure 15 Data tab CjOut This value represents the angular rate data read from ref 1 Ipa the 8bit microC A2D converter averaged SIGN2 SIGN3 ablar Rate Value ref 2 gt This data represen
26. mand DWM only The start command initiates the continuous data acquisition When this command is sent to the board it returns the angular rate data measured by the device The angular rate data are packed in a string composed of 5 bytes plus 2 st R 402 O2 401 O1 Oh S The first two bytes are always the ASCII char s and t which correspond to the hexadecimal values 73h 74h while R 402 O2 401 and O1 respectively represent 8 bit AD converter digital output data for Vref 4xOutput2 1xOutput2 4xOutput1 1xOutput1 Oh one byte at hexadecimal value 0 The last byte marked S returns information about the switches mounted on the board Specifically bit 0 of the service data correspond to the status of SW2 on the demonstration kit board It is set to 1 when the SW2 switch is pressed otherwise 0 Before sending the start command the device must be out of 3 state and in DWM hence start must have been preceded by a Zoff command Note This is a digital working mode only command 7 2 2 Debug command DWM only The debug command starts the continuous data acquisition in debug mode When this command is sent to the board it returns the Vref value and all 4 outputs measured by the device digitized by the 8 bit AD converter and formatted to a readable text format The values shown on the screen correspond to the content of the ADC output data and are shown as decimal numbers Note This is a digital working mo
27. ndow see Figure 9 Easy Start button When the Easy Start button is clicked Figure 9 ref 1 the GUI attempts to automatically find the COM number assigned to the demonstration kit to recognize the connected board and its device and if successful starts the acquisition If recognition is unsuccessful a message alerts the user to verify that the board type is in the list of managed ones or to update the SW Doc ID 16617 Rev 1 GI UMO855 Graphical user interface 4 2 2 Home tab This tab is used to show the codes of managed and recognized devices and demonstration boards Figure 11 In case of unmanaged devices a message is shown on the tab Figure 10 Home tab ky STEVAL MKIOXXV1 Demonstration Board For LPRXXXAL AMO6006V1 4 2 3 Options tab The options tab allows the user to control the following parameters 1 Operating mode OM allows the customer to select the operating mode Normal Mode Power Down Mode Figure 11 ref 1 2 OUTPUT Amplification FullScale Selection allows the selection of the data to be are acquired and plotted by the GUI between 1x amplification and 4X amplification Figure 11 ref 2 3 Self Test ST enables the self test function Figure 11 ref 3 4 High Pass Filter HPF Reset allows user to reset the internal high pass filter Figure 11 ref 4 ky Doc ID 16617 Rev 1 17 35 Graphical user interface UMO855 4 2 4
28. ndows 98SE Windows Millennium Windows 2000 or Windows XP must be installed on the PC 8 2 DFU procedure Run the DFU exe file To enter the firmware update mode the user must plug the USB cable into the demonstration kit while pressing the sw2 button on the board Figure 3 ref 12 Figure 18 shows the window displayed when the board has been properly detected Figure 18 Demonstration kit correctly recognized MPD Device Firmware Upgrade X File Help DFU USB devices r DFU Programming MEMS DEMO DFU af Yy Vendor ID 020483 Upgrade Product ID ODF PD MEMS Product Division Version 00131 Upload DFU device Trace Rebuilding devices list No device D FU Detected devices change Rebuilding E es list gt Found 1 correct device s gt The DFU driver must be installed before using this feature The driver can be found in firmwareupdate zip in the driver installation folder of the demonstration kit 28 35 Doc ID 16617 Rev 1 ky UMO855 DFU After installation MEMS demonstration DFU appears in the DFU USB devices list Figure 18 To execute the firmware upgrade 1 Click on File gt Open select the directory where the dfu file has been downloaded and select it Figure 19 2 Click on Upgrade 3 The internal Flash memory will be erased Figure 20 and reflashed with the new firmware Figure 21
29. nstration kit is shown in Figure 22 Schematic diagram of the STEVAL MKIOxxV1 board Figure 22 gt LO o IMS o o yor 2 T T m puel E anes 44001 SuN OL 100 any 19 mS au ol 99 9 lt T x Cfo 6 Eoo E EP EEI 8 1 4ov 922 iu 9 E Bl Re23338 83 3828 82 8333 I ii on PPP PPP PRE asta a PTE EEE 4 58888 SBSEBSEBSE T gt amp soa vad L se_ 593 284 CR du Cat ceg er mo mes 89 edt rompe Sl Ga 019 69 i ce d B4 him 2 ao oye We Sd e WE ioo E Ce peu Mir Lap AKB EHK pen ET KN ENV PPAN E n QUO fr chy sm Em z l ano sp SNN pil am 5 gn moe SN Z 8 B 2 Hnox Ze oy Gx 588 osan yor dH sy WT TET ERTE Y ET ary Fx a shmppszsETZRBUSRSS l i TH ausviczus Talla elle sells lt AL Ly eL dn y Za peu peio an glaa S BeBe RBs 4o LL sb m E RIS E T als ze E B3 Bb OL ad E ig r n 1 Sa Huoor SOA PPA E ZA ZN zo EEE dd eii H 908 0 za e a tall
30. ource code is also included in the installation pack The source code can be found in the directory SHome STM STEVAL MKIOxxV1 STEVAL MKIOxxV1_lite where Home is the directory in which the software that came with the demonstration kit was installed C Program Files by default The purpose of the lite version is to provide the user with a foundation for the development of a customized application The lite version of the demonstration kit is started by launching the STEVAL MKIOxxV1 Lite executable file located in the STEVAL MKIOxxV1 Executables folder An example of the GUI of the STEVAL MKIOxxV1 Lite application is shown in Figure 17 Figure 17 STEVAL MKIOxxV1 Lite GUI Main Contes Home Data E G Fed J s STEVAL MKIOxxV1 D E Lite MEMS Evaluation Kit 8 ay www St com mems i TI Lxx4xxxALx Follow these instructions to use the software 1 aor oN Connect the STEVAL MKIOxxV1 to the USB port Launch the GUI for STEVAL MKIOxxV1 Lite Select the virtual COM port and click on the Connect button Select the destination file to which the yaw rate data must be saved optional Click on the START or STOP button to activate or stop the sensor data collection saving to file and screen plotting functions To close the application click on Disconnect and then click on Exit Doc ID 16617 Rev 1 ky UMO8
31. rmance of the LPR4xxAL and LPR4xxxAL low power double single axis gyroscopes with analog outputs The block diagram of the demonstration board included in the kit is shown in Figure 1 Figure 1 Demonstration board block diagram Control switches reset left MEMS ST72F651 USB device microcontroller connector Analog Analog Power on LED controls outputs AWM LED ST PD 1x 4x DWM LED AM06004v1 The analog outputs of the device are directly available through a dedicated connector The ST72651AR6 microcontroller included on the board acquires and converts the analog outputs into digital signals and provides the data to the user on the PC through the GUI provided with the kit The device firmware upgrade DFU is a feature allowing users to upgrade the firmware of the ST7 microcontroller whenever a new firmware release is available on www st com Switches and LED indicators are used to control and monitor the functionality of the board The top silk screen view and photo of the full board respectively are shown in Figure 2 and Figure 3 Doc ID 16617 Rev 1 ky UMO855 Demonstration kit description Figure 2 Top silk screen of the STEVAL MKIOxxV1 demonstration board E JE Jj IE dd Figure 3 Top view of the STEVAL MKIOxxV1 demonstration board ref 12 dal ref 3 gt ref 10 ref 1 pi lt q ref 7 ref2 pi ref 4 que 4 i ref 5 hil EOM m a dE a ref
32. ts the angular rate espressed in s SIGN2 ejs SIGN3 ejs ky Doc ID 16617 Rev 1 21 35 Graphical user interface UMO855 4 2 7 FFT tab The FFT tab Figure 16 shows the FFT of the angular rate signals acquired by the sensor The spectral data are updated for every sample arrival and are calculated on a 64 sample moving window Figure 16 FFT tab 0200 Deg 0150 Deg s 0100 Deg 0050 Deg 91 96 100105109113118122 22 35 Doc ID 16617 Rev 1 ky UMO855 Data acquisition quick start 5 Data acquisition quick start This section describes the basic steps that must be performed to acquire the yaw data from the STEVAL MKIOxxV 1 1 2 3 4 a Connect the STEVAL MKIOxxV1 to the USB port Start the STEVAL MKIOxxV1 GUI Select the virtual COM port and click on the Connect button Figure 9 ref 1 Select the destination file to which the yaw data must be saved by clicking Save Figure 9 ref 2 in the main control section optional Use the tab menu to display the desired function Click on the START or STOP button to activate or stop the sensor data collection saving to file and screen plotting functions To close the application click on Disconnect and then click on Exit Doc ID 16617 Rev 1 23 35 STEVAL MKIOxxV1 Lite UMO855 6 24 35 STEVAL MKIOxxV1 Lite A lite version of the GUI together with its s

Download Pdf Manuals

image

Related Search

Related Contents

TH100 Street User  Canon MF8170c Instruction Guide  Philips RI2630  キャスター&アジャスターユニット 取扱説明書  Samsung A200 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file