Home
EVB90609 User Manual
Contents
1. 410115200 6 N 1 Connect Pic 22 Status Selftest mode That is why after the DEMO MODE starts the angular rate will be observed while PCB is stationary It will take place because SELFTEST MODE is the mode of emulation of the angular rate availability WARNING Be vigilant about the mode in which you work Normal mode 410115200 M 11 Connect Pic 23 Status Normal mode EVB90609 Page 36 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 Dialog windows The EVB90609 software has the following dialog boxes e Open e Save As e Print preview e Communication options e Demo options e Others EVB90609 Page 37 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 1 Dialog box Open This standard dialog box of file opening can be reached through the text menu File Open or the buttons CtrI O This dialog box allows opening files in HEX format These files are the dump of the chip EEPROM chip that were saved before by this program see Dialog box Save as Following the file opening the fields of inputting will be filled with EEPROM byte over the range of 0x70 up to Ox F by the file data Further these data could be written to the EEPROM of a new chip EVB90609 Page 38 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Eval
2. Y Axis Page EVB90609 Page 47 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 5 2 Page Axis X On this page the User sets the quantity of the displayed data on axis X in a range from 10 up to 9999999 Demo options Number of plotted points 1000000 Pic 32 Demo options X Axis Page EVB90609 Page 48 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 5 3 Page Series On this page the User sets the quantity of the displayed series data for displayed on the chart Setting cleaning of a tick makes seen invisible to a series on the chart Demo options Angular Aate Temperature Pic 33 Demo options Series Page EVB90609 Page 49 of 88 May 22 Rev 1 01 EVB90609 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 5 4 Page Temperature The following variants are possible e ADC code e Celsius degrees e Fahrenheit degrees e Calvin degrees Display of the temperature data in terms of the ADC code is established by default The quantity of probable variants of data shown depends on the chip type Demo options E x ADC code Pic 34 Demo options Temperature Page Page 50 of 88 May 22 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 5 5 Page Others At th
3. way User Manual EVB90609 Evaluation Board Microelectronic Integrated Systems EVB90609 Evaluation Board User Manual Borys Tsukanov Date May 22 2008 EVB90609 Page 1 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board REVISION HISTORY Foveon owe socios ooer 1 00 October 28 2005 Official document release Changed PCB and procedure of the 101 May 22 2006 2 5 14 EVB90609 installation add explanation of power supply and bandwidth jumpers and EVB90609 Page 2 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board TABLE OF CONTENTS 1 General description cscs ene ce i eee nnmnnn 7 PRAONICA 8 3 SONWA E esirin EE Eia raa ana 11 4 System requirements a nsssnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn nnne 12 5 Installation EVB90609 software sasnannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnna 13 6 Technical SUDDON erosoa eee ee ee 17 F COMENS eaea E R 18 P C OO spre a E N Sale Sree E E E E E E ET E E N dents Paes one date deise 18 Le Monu Commmand S sperren E e a EA 18 ONG VIC EE EAE N E PE A E E E E E EE E E 18 1A View Ment srren E deme a aligek clk 19 POT aN E e EE E A E T E EAE E E EE EA E EA PA A EA E E 19 TO OS MEN ea EEE E E A pede dee acide ae eae E E EE T 19 Te FOID I r E E E E E E 20 S MAN WA NGO WW sopra EE E AEAEE A E E ET 21 Bel
4. EEC ccccccccccssececceeseeeceeueecceesceeseaeeeesagseecseeeeesgeessseageees 59 11 9 Instruction of the ADC reading ADCR cccccceecceeceeeeeeceeeeeesaeeeeeeseeeeeeeeeeeeeeeaeeeesaaeeeesseneeesaaneeees 59 11 10 Erasing the EEPROM Content ccccccssseeeccesseecceeeecseeeecsaseecseuseeeseaeeecsensesseuseeessaneeesseagenes 61 11 11 Writing into the EEPROM ccccccsssceccceseeecceeeecceaseeecsaaseecseaseeessasceesaueeessaaeeesseuseeessagseesssageees 62 11 12 Finalizing the writing ProOC CUre ccccccccccseeeeceeeeceeeeeseeeeeseeeeeaaeeeseaeeeseeeseeeeseneeeseueessaeeeeseneeesees 63 12 EVB90609 Protocol eee eet ee eee aceon eee cleat ere eeneteraetretin 65 O22 A HN ease es edocs pam sento te mot dlen btn S 65 122 OMIA E E E auseeoeaasasneataabanentanossiaieataate come AE 66 eTA C O MIM GY a eee E E N E E E S 67 eee ZB CON N ea E E EA E EE RE E AE EERE EE 70 Re 2 OMIM ING e a ES E E E E E utile auedolseaus eh 71 JEA BEE inan E A sft E A eect wate ee etn leah A sna A A E E aamiclebie ent ounaidaneaiest 73 pees om COnN ale a E nT a nT Te ert ee et rc er rm rr rer ty en ern 75 IPA FAES AAEE E E EE T E E E E E E E EE P tans 77 122r ANSwWer o he STA T cates iasehinnidatanantan bin wiaasabunianininbiausdnattansaunbensidsealaiehiosamamsthinducnihuehindsbiahaedsntiesh Yhonudieaunniasahamiconalins 78 T OTIS ES CU ies p E E E EE O E E O E E sateen 79 13 Schematic ccccceceeeeeeeceeeecneeeneecneee
5. Evaluation Board Table 12 Format of the ADCR instruction 15 EPR i ee 0 ERR EOC MLB AD10 AD9 AD8 AD7 AD6 ADS AD4 AD3 AD2 AD1 ADO 0 AD10 ADO A result of the AD conversion These bits are valid only when EOC bit is set EVB90609 Page 60 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 11 10 Erasing the EEPROM contents Notes The bit with leftmost position should be shifted first lf MEMLOCK bit is activated the erase write procedure will be impossible Step 1 setup of the initial conditions SELFTEST pin should be free or pulled up and HVIN pin should be free This condition will be not necessary for BA version Internal booting procedure after power up should be finalized bit BUSY 0 see Refusal answer Previous erase write procedure should be finalized bit EEB 0 see STATR instruction Step 2 EEPROM programming mode setup Use SPI to send MODEW instruction 1010xX11XXXXXXXXXXXXXXXX And check 15 bit of the answer it should be zero Bx xx x KKK KKXK XXX If 15 bit isn t zero it s necessary to check the cause of the refusal answer Step 3 setup of the bank number to be erased Use SPI to send EER instruction check table 8 0x xx BN 00 OXXXXXXXXXXXXXXXX And check 15th bit of the answer it should be zero Bx x x xxx KKK KK XXX X If 15th bit isn t zero it s necessary to check the cause of the refusal answ
6. but will not receive the answer in the set time interval It will be a timeout error IMelexis WilMicroelectronic Integrated Susiens The EVE does not transfer data timeout error Communication channel can be broken Port is disconnected Pic 36 Demo options Others Pages EVB90609 Page 52 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 11 SPI Protocol The MLX90609 has a serial communication interface compatible with SPI Likewise SPI the Serial Interface of the MLX90609 specifies four signals e serial clock SCLK e master data output slave data input MOSI e master data input slave data output MISO and e slave select SS The MLX90609 always operates as a slave Therefore only MISO pin is an output The MLX90609 is selected when the SS pin is low see Fig 37 When SS pin is high data will not be accepted via the MOSI pin The serial output pin MISO will remain in a high impedance state High level of SS forces the serial interface into the start state of data exchange Data is serially transmitted to the MLX90609 in 8 bit words a command byte and in 16 bit data words Data is serially received from the MLX90609 in 16 bit words an answer word Most Significant Bit MSB is the first bit transmitted and received Transmission After the device is selected with SS going low the command byte will be received by the MLX90609 On
7. by Melexis for each application The information furnished by Melexis is believed to be correct and accurate However Melexis shall not be liable to recipient or any third party for any damages including but not limited to personal injury property damage loss of profits loss of use interruption of business or indirect incidental or consequential damages of any kind in connection with or arising out of the furnishing performance or use of the technical data herein No obligation or liability to recipient or any third party shall arise or flow out of Melexis rendering of technical or other services Copyright 2005 Melexis Microelectronic Systems All Rights Reserved Certified ISO TS 16949 ISO 14001 For the latest version of this document visit our website at www melexis com For additional information contact Melexis Direct Europe and Japan All other locations Phone 32 13 67 04 95 Phone 1 603 223 2362 E mail sales europe melexis com E mail sales _usa melexis com EVB90609 Page 88 of 88 May 22 Rev 1 01
8. channel CHAN 1 the temperature sensor channel This bit is set by the ADCC instruction After power up bit CHAN is cleared The ADEN bit selects the power management mode of the ADC ADEN ADEN 0 ADC is switched to the sleep mode no AD conversion is allowed ADEN 1 AD conversion is allowed This bit is set by the ADCC instruction After power up bit ADEN is cleared These bits are used to choose an ADC operation mode ADCM1 ADCM1 0 ADCMO 0 AD conversion is initiated by the ADCC instruction ADCMO The other combinations are reserved for future designs If these bits are not cleared CHAN and ADEN bits will be loaded but the ADC will not start and a refusal answer will be generated EVB90609 Page 56 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board This couple of bits are used to select between Self Test mode and EEPROM mode SFT1 0 SFTO 0 Normal operation pin SELFTEST has high logical state SFT1 0 SFTO 1 Self Test mode positive angular rate emulation pin SELFTEST has high logical state SFT1 1 SFTO 0 Self Test mode negative angular rate emulation pin SELFTEST has high logical state SFT1 1 SFTO 1 EEPROM programming erasing There are two ways to setup Self Test mode for the MLX90609 by using the MODEW instruction or by managing SELFTEST pin To prevent interference it s recommended to hold SELFTEST pin at the high logical state if the MODEW instruction i
9. chars eineatelsitautsuitaatsyeriadas E DE 47 A NS Di erp ease stn ete ene hee htt ete ob fe es tet te N cls E E E E 48 Ook AOS ONC wrntcesszacecoseenceen summer ysacnceaennanens AER AE E EE A AEREE REEE 49 1054 Fage 1 SMP SPAU Nl Sc scccersecencnenvavegcunsincoidicetegiahasebordckdienduticvsindiicstinsg ER a AEEA AAPEA E aeie 50 Waa FA R e eed a E E E E E 51 10 6 Dialog boxes Others cccccceccccsseceeceeseeecseeeecsesseeeceaeeecsadeeecseeeessaseeessageeeesaeeeeseuseeesssageeessagenes 52 dg Fa od Boal 0 9 04 0 pierna S 53 11 1 Th refusal ells WCF srncsehis neaxstadaneciapaneesoaaoupnalenneccinalas hsawtieedaviealesb aaedtedavenlesdscctduetbuseiandseasinanelanasoseied 57 11 2 Instruction of the status reading STATR cccceccccccseeeeeceeeeeeeeeeeeeseeeeeeseeeeeeseeeeeesseeeeeeseneeesaeeeeees 57 11 3 Control mode instruction MODEW ccccccccccseeeeeseeeeecaeeeeeeaeeeeeeseeeeesseeeeesseeeeesseeueeesaaeseeeaaaeees 58 11 4 Instruction of the ADC control ADCC ccccccccseeecceeeeeeeeeeeeeseeeeeeesaeeceeesaaeesseaseesseaueeesaaeeeesananeees 58 11 5 Reading the EEPROM and the address setup EER cccccecccceeeeeeeeeeeceeeeeeeeeseeeeeeesaeeseesaaaeees 58 11 6 Instruction of the data preparation EED ccccccccccseeeeeeeeeeeeeeeeeeeeaeeeeesaeeseeeseeseeesseseeeseeeeesaaeees 59 117 Write mstructon EEW eee ene ene ene a ee er ne eR ee enn aia ee ee 59 11 8 Instruction of a write erase Cancel
10. command transfers data to microcontroller for their further modification to SPI commands These commands are meant for functioning control of MLX90609 in digital and mixed modes see SPI commands and Datasheet MLX90609 Answer of command C Syntax lt LF gt C lt ANS1 gt lt ANSO gt lt STAT gt lt CS gt lt CR gt Description lt LF gt A line feed symbol lt ANS1 gt High byte of SPI answer lt ANSO gt Low byte of SPI answer lt STAT gt Status byte See Answer of the STAT lt CS gt Checksum See Checksum lt CR gt A carriage return symbol EVB90609 Page 71 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board Example In this example MLX90609 chip works in normal mode EER command with 0x78 parameter is sent via SPI reading byte from EEPROM to the address 0x78 bank 1 this command on the counter will be 12 then the sent command to the microcontroller will be following view C78AAAA1222 lt CR gt number of the command has been selected accidentally Reply for example may be next lt LF gt CO0450FAC lt CR gt lt ANS1 gt 00 lt ANSO gt 45 lt STAT gt OF lt CS gt AC This answer means following cell 0x78 bank 1 contains byte 0x45 ASCII code E The value of byte lt STAT gt look at STAT EVB90609 Page 72 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board
11. each rising edge of SCLK data from MOSI enter into an internal 8 bit shift register The accepted command byte contains the op code that defines the operations to be performed Along with op code this byte can also contain information such as EEPROM address or ADC mode to be setup One of the commands see Instruction of the data preparation EED also needs 16 bit data word transmission which should be shifted to the MLX90609 together with reception answer Reception After the 8th bit is received to the shift register the command will be executed by the MLX90609 The format of the outgoing data is defined by the received command All commands evoke an answer A full communication cycle transmitting a command and receiving the full answer is finished after 24th clock of the SCLK Communication can be terminated by putting SS high Some remarks e If an invalid op code is received it is rejected and the corresponding data is ignored In this case a special refusal answer will be generated e It s recommended to use synchronization by SS after every data exchange to prevent a data distortion e f high level is applied to SS during a command byte transmission the command will be ignored EVB90609 Page 53 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board e If high level SS is applied during the answer reception the answer will be truncated This can be used to limit the readi
12. ecocooceoodco oco POWER EAT Wo 0 JPZ JPA C12 Ce N mo pace O00009 E ooo Pic 41 The external view of the EVB90609 Evaluation Board EVB90609 Page 80 of 88 May 22 Rev 1 01 wey User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board th E G iA ji ETERA tt i a ee a o Ma oO ee a i Teer Teil 3 Tit i M rere EEELELZE A g 09 8 s 4 hk l T i i i iT ah en oe LEY La LH a L rm TEST PLE I il Sk E PEEPEEE Pic 42 The EVB90609 evaluation board schematic EVB90609 Page 81 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 14 Intel hex file format This Information applies to e C166 All Versions e C251 All Versions e C51 All Versions The Intel HEX file is an ASCII text file with lines of text that follow the Intel HEX file format Each line in an Intel HEX file contains one HEX record These records are made up of hexadecimal numbers that represent machine language code and or constant data Intel HEX files are often used to transfer the program and data that would be stored in a ROM or EPROM Most EPROM programmers or emulators can use Intel HEX files 14 1 Record Format An Intel HEX file is composed of any number of HEX records Each record is made up of five fields that are arranged in the following format llaaa
13. gt Checksum LITT bb sData LIL TT 2 gt Record Type Af 88 2 Address LL Record Length gt Colon This record is decoded as follows where 10 is the number of data bytes in the record 2462 is the address where the data are to be located in memory 00 is the record type 00 a data record 464C 464C is the data 33 is the checksum of the record 14 3 Extended Linear Address Records HEX386 Extended linear address records are also known as 32 bit address records and HEX386 records These records contain the upper 16 bits bits 16 31 of the data address The extended linear address record always has two data bytes and appears as follows 02000004FFFFFC where EVB90609 Page 83 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 02 is the number of data bytes in the record 0000 is the address field For the extended linear address record this field is always 0000 04 is the record type 04 an extended linear address record FFFF is the upper 16 bits of the address FC is the checksum of the record and is calculated as 01h NOT 02h OOh OOh 04h FFh FFh When an extended linear address record is read the extended linear address stored in the data field is saved and is applied to subsequent records read from the Intel HEX file The linear address remains effective until changed by another extended address record The absol
14. register the device in the system And it happens sometimes that there are no necessary VCP in the list M Autocoannecting EVB9069 PCB REMARK The settings of the data are to be performed only after pressing the OK button Checkbox that points the program to connect automatically to the EVB90609 Page 45 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 5 Dialog box Demo options This dialog box of the demo mode settings can be reached through the text menu File Options Demo or by the buttons Ctrl D This window looks like Demo options f Automatic f Automatic data from chip f Manual Pic 30 Demo options main view This dialog box has 5 pages e Axis X e Axis Y e Series e Temperature e Other EVB90609 Page 46 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 5 1 Page Axis Y There are settings of data display on Axis Y at this page There are 3 operation modes Automatic automatically scaling at axis Y from minimum up to maximum value Automatic data from chip range is read out from the EEPROM of the chip range equals from range 10 up to range 10 Manual manual control settings appointed to the User For example a range from 1000 up to 1400 Demo options f Automatic f Automatic data from chip f Manual Pic 31 Demo options
15. the chart the better will be the quality of the graphics file That is why it is recommended to take the splitter by mouse and drag it to the leftmost position Angular rate zec Temperature ADC code Angular rate sec Temperature ADC code oO Time 3115200 M 11 Disconnect E Pic 24 Moving splitter Example Angular rate Angular rate sec Pic 25 Best view of chart e JPEG format file Joint Photographic Experts Group format file is a commonly used standard method of lossy compression for photographic images The file format which employs this compression is commonly also called JPEG the most common file EVB90609 Page 41 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board extensions for this format are jpeg jfif jog JPG or JPE although is the most common on all platforms The recommendations regarding the image quality improvement is the same as for bitmap format files The JPEG settings are at default e Save compression quality 90 e Progressive encoding true These settings allow getting the best indices ratio file size image quality Example Temperature Temperature ADC code Pic 26 Temperature chart EVB90609 Page 42 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 3 Dialog box Print preview This dialog box of printing can be reached
16. 12 2 4 D Command Category The command of data acquisition in a demo mode Syntax D lt CR gt Description lt CR gt A carriage return symbol This command does not have any parameters It is intended for prompt demo data receipt angular rate temperature angle and interval time Answer of D command Syntax lt LF gt D lt TIME gt lt ANGLE gt lt AR gt lt TEMP gt lt STAT gt lt CS gt lt CR gt Description lt LF gt A line feed symbol lt TIME gt Value of interval time This parameter has WORD size and has milliseconds dimension lt ANGLE gt Value of angle divided 1000 This parameter has WORD size and has degree dimension lt AR gt Value of angular rate This parameter has WORD size lt TEMP gt Value of temperature This parameter has WORD size lt STAT gt Status byte See Answer of the STAT lt CS gt Checksum See Checksum lt CR gt A carriage return symbol EVB90609 Page 73 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board Example For example reply may be next lt LF gt DO83COAAC07 04730BC8B5 lt CR gt lt TIME gt 0x083C lt ANGLE gt OxOAAC lt AR gt 0x0704 lt TEMP gt 0x730B lt STAT gt 0xC8 lt CS gt 0xB5 Interval time equals 0Ox083C N 65536 1000 Angle equals OxOAAC 1000 seconds Angular rate equals Ox0 704 Sensitivity Range 2048 Sensitivity range may be equal
17. 300 see Datasheet MLX90609 EVB90609 Page 74 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 12 2 5 W Commands Category some setting commands Syntax W lt PARAM gt lt VALUE gt lt N gt lt CS gt lt CR gt Description lt PARAM gt Number of parameter Table 16 Number of parameter PARAM 0 Number of averaging Scale factor fitting lt VALUE gt Value of parameter This parameter has WORD size lt N gt The global counter of commands Has its value ranging from O to 255 after 255 changes to 0 It can be used for data loss verification and for escaping second command setting lt CS gt Checksum see Checksum lt CR gt A carriage return symbol Answer of command W Syntax lt LF gt W lt STAT gt lt CS gt lt CR gt Description lt LF gt A line feed symbol lt STAT gt Status byte See Answer of the STAT lt CS gt Checksum See Checksum lt CR gt A carriage return symbol EVB90609 Page 75 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board Example In this example MLX90609 chip works in normal mode LED is switched on constantly Bit E equals 1 see STAT and Datasheet MLX90609 ERROR Pin Reply lt LF gt W2FD1 lt CR gt lt STAT gt 2F lt CS gt D1 EVB90609 Page 76 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integ
18. B 00000001FF EVB90609 Page 86 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 15 CSD format file The Common Simulation Data File CSDF format has been proposed as a standard format for results from simulation programs The CSDF is in a generic manner so that any computer link can handle the file transfer and any computer platform can process the data The default file name extension for a CSDF file is CSD EVB90609 Page 87 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 16 Disclaimer Devices sold by Melexis are covered by the warranty and patent indemnification provisions appearing in the Terms of Sale Melexis makes no warranty express statutory implied or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement Melexis reserves the right to change specifications and pricing at any time and without notice Therefore prior to designing this product into a system it is necessary to check with Melexis for current information This product is intended for use in normal commercial applications Applications requiring extended temperature range unusual environmental requirements or high reliability applications such as military medical life support or life sustaining equipment are specifically not recommended without additional processing
19. Back Wext gt ancel Pic 9 Installation Step 6 After the driver s installation plug in the main board and wait until Windows finds a new hardware After this you can run the EVB90609 software EVB90609 Page 15 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board E B90609 Setup Completing the EVB90609 Setup Wizard EVB90609 has been installed on your computer Click Finish bo close this wizard Mictoelectronic Integrated Systems x Back Cancel Pic 10 Installation Step 7 EVB90609 Page 16 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 6 Technical Support If you experience any problems with the module Evaluation board or Software tools please contact technical support Specialized support can be reached through your local sales representative EVB90609 Page 17 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 7 Contents 7 1 Contents Menu Commands Main Window and Pages Dialog Boxes 7 2 Menu Commands File menu View Run Options Help 7 3 File Menu The File menu offers the following commands Open Load internal EEPROM dump with the contents of selected file Only User s area Save AS Stores the contents of the EEPROM dump all modes and Text format file Excel format file CSD Dat
20. E 01 lt tab gt 1 311000E 03 EVB90609 Page 39 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board e CSD format file More detail information look at section of CSD format file Example H SOURCE PSPICE VERSION PSpice 9 2 Mar 2000 TITLE Measurement SUBTITLE Angular rate TIME lt current time gt DATE lt current date gt TEMPERATURE var ANALYSIS Transient Analysis SERIALNO 61414 ALLVALUES NO COMPLEXVALUES NO NODES 2 SWEEPVAR Time SWEEPMODE VAR_ STEP XBEGIN 0 000000E 00 XEND 1 804000E 00 FORMAT 0 VOLTSorAMPS EFLOAT NODEorBRANCH NODE DGTLDATA NO N Angular_rate sec Temperature ADC_code C 0 000000E 00 2 6 200000E 01 1 1 311000E 03 2 C 3 250000E 01 2 6 200000E 01 1 1 311000E 03 2 C 3 500000E 01 2 4 000000E 00 1 1 310000E 03 2 C 1 804000E 00 2 0 000000E 00 1 1 311000E 03 2 e Bitmap format file This file format is the MS Windows standard format It holds truecolor images Note there is also an OS 2 BMP format All values stored in the BMP file are in the Intel format sometimes also called the little endian format because of the byte order that an Intel processor uses internally to store values EVB90609 Page 40 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board The saved file will store the shown info in the chart of main window The bigger is
21. PAIN AMON O NU e E E E 21 BZ PAD OIC AVION S TOOID AN riesia E EE EEEE EE 21 B S M ltiftunctional status Dal ssssrereaera E su dauidinau launsie oy danitie addannue sdedewneddlewiencudewsde 21 Fe AOS S E EAE E EA E ET EA VETEN EEE E E PEET EA EEEE O EET 22 9 Pages on main WINKOW s sssssssssnssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn nnn 23 STEERRONLP 2 eee eee ee ee E eee ee 24 92 MODE car 8 gt ee ne An ne ne a ee ne foe ee eee ae 26 Joo PIPAON A se tesco see E ates oaiauddeaase 29 PC PA ait ts cse ap vane ee data E a E E E 31 99 DEMO PAC hci atc ti nda dct ES 33 Os FR Miia Wg I IN OO 35 10 Dialog WNC OW S erste caeetala pu tacechean eter datheu ato atrenebanwhenubetatcunbeantaetnantnsubetawssaanaudnanwioces cou 37 10 1 Dialog box OPONn ce cccccecccecceeeeeeeeeeeeeeeeeeeeaeeeeeeseeeeeeeaeeeeeseeeeeessaseeeseeeeessaeeeesseaeeeesaauseeesaeeeeesaaeeees 38 OZ TATOO OK VCS acs antes xe cst bs axondetc apne ddurpe cds comma E 39 EVB90609 Page 3 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 3 Dial g box Print previo W sccicnisstins sasinceiin Gauiaudaneddanuesioinsiashecincinaiscdinaiedalsvaiiaudnn sae aa aea a EA na ana aa 43 104 Dialog box Communication OpONS sassis anaiai Aaaa a ARAE EN E 45 10 5 Dialog Dox Demo CPU ONNS setts rename a od nna bv gna aladan sedated 46 IOS PAGS FIG Terra anaE Vanes aauisiaeaaetennaatucteunsisensiuate
22. XXXXXXXXXXXX And check 15th bit of the answer it should be zero Bx xx xxxxxxxxxxxx If 15th bit isn t zero it s necessary to check the cause of the refusal answer CHAN bit specifies the input source to be digitized by ADC CHAN 0 An angular rate channel CHAN 1 A temperature sensor channel Step 3 polling and result obtaining Use SPI to send ADCR instruction see Instruction of the ADC reading ADCR and check 15th bit of the answer it should be zero If 15th bit isn t zero it s necessary to check the cause of the refusal answer If ERR bit is set a value of the angular rate may be invalid lf EOC bit is zero a result of conversion is not valid as ADC in progress It s necessary to wait till EOC will be set lf EOC bit is one an AD conversion has been completed and a result of conversion AD10 ADO is valid Step 4 put ADC to the sleep mode if it s necessary Use SPI to send ADCC instruction see Instruction of the ADC control ADCC 1001X0XXXXXXXXXXXXXXXXXX And check 15th bit of the answer it should be zero Bx xx xxxxxxxxxxxx If 15th bit isn t zero it s necessary to check the cause of the refusal answer EVB90609 Page 64 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 12 EVB90609 Protocol The EVB90609 evaluation board acts as an interface between a MLX90609 module and a PC It allows to perform all basic read write operations with the module s
23. a file OrCAD Bitmap format file JPEG format file Demo mode Print Prints the graph of angular rate or and temperature Demo mode Exit Exits the EVB90609 software EVB90609 Page 18 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 7 4 View Menu The View menu offers the following commands Tool bar Shows hides Tool bar Status bar Shows hides Status bar Always on Top Sets resets always on top mode EEPROM Shows EEPROM page MODE Shows MODE page SPI Shows SPI page ADC Shows ADC page DEMO Shows DEMO page 7 5 Run Menu The Run menu offers the following commands Connect Disconnect Connects Disconnects to the EVB90609 7 6 Options Menu The Options menu offers the following commands Communication Displays dialog window Sets communication channel Demo Displays dialog window Sets demo mode graph angular rate fitting EVB90609 Page 19 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 7 7 Help Menu The Help menu offers the following commands Content Displays the Help Contents About Displays the version number and Copyright information of the EVB90609 software EVB90609 Page 20 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems 8 Main Window This is the main window application and it features the following settings 8 1 Application menu C
24. ate or temperature output Table 3 gives the description of each command and answer bit Table 3 It has to be named e g SPI bits description or somehow else This bit is set when a received operation code was not recognized End of AD conversion bit EOC bit indicates an ADC state EOC 0 ADC in progress and can not be restarted EOC 1 AD conversion has been completed and can be restarted As a result any attempt of the ADC starting will be rejected if EOC has a 0 state M EEB EEPROM busy bit Being set this bit informs that the EEPROM is in a busy state and that no operation writing erasing or reading can be performed on it This bit will be set after a reset and will be toggled to zero after all initialization procedures inside the MLX90609 While BUSY 1 only refusal answers will be sent EEDIS EEDIS SFT1 NAND SFTO This bit informs that the internal chip high voltage is being used to drive the MEMS and is not available for erasing or writing into the EEPROM Reserved CRC Error indicator An incorrect result of the CRC calculation will set ECRC to 1 In this case a refusal answer will always be generated and the ERROR pin will keep a high logical state toggle to the selected error logical state with the command bit ERRP EDRV and EPLL bits reflect the result of the Continuous Self Test which is used to monitor and detect permanent temporary errors in the primary mode amplitude EDRV and frequency
25. att dd Jcc Each group of letters corresponds to a different field and each letter represents a single hexadecimal digit Each field is composed of at least two hexadecimal digits which make up a byte as described below is the colon that starts every Intel HEX record Il is the record length field that represents the number of data bytes dd in the record aaaa is the address field that represents the starting address for subsequent data in the record tt is the field that represents the HEX record type which may be one of the following 00 data record 01 end of file record 02 extended segment address record 04 extended linear address record dd is a data field that represents one byte of data A record may have multiple data bytes The number of data bytes in the record must match the number specified by the Il field EVB90609 Page 82 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board cc is the checksum field that represents the checksum of the record The checksum is calculated by summing the values of all hexadecimal digit pairs in the record modulo 256 and taking the two s complement 14 2 Data Records The Intel HEX file is made up of any number of data records that are terminated with a carriage return and a linefeed Data records appear as follows 10246200464C05549442050524F46494C4500464C33 1024620046405549442050524F46494C4500464C33 PITT TTT tel CC
26. by the ERA bit k _ EEPROM MODE ADC Pic 14 Mode Page This page is divided into 3 areas e Analogue mode e Digital mode e Explanations to the User The MODE INFORMATION field will be changed every time the User modifies the page but the modifications will only be activated after the OK button is pressed EVB90609 Page 26 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board This page allows the User to change the operation mode of the chip for analog or digital mode etc 1 normal conditions 2 self testing conditions a constant positive angular rate emulation b constant negative angular rate emulation 3 EEPROM conditions 4 modification of data output view on the pin ERROR The table of conditions and simplified circuitry is shown below Table 1 Operation mode choice of the MLX90609 SELFTEST SF 1 0 EEDIS MODE name SFT1 SFTO pin ve i d 0 5 0 Volt Out Code _ Normal mode _ SELFTEST mode emulation of the POSITIVE angular rate _ SELFTEST mode emulation of the NEGATIVE angular rate EEPROM mode with INTERNAL charge pump SELFTEST mode emulation of the NEGATIVE angular rate Not used combination EEPROM mode with INTERNAL charge pump SELFTEST mode emulation of the POSITIVE angular rate _ SELFTEST mode emulation of the POSITIVE angular rate Not used combination EEPROM mode with INTERNAL cha
27. ct EVB90609_User_Manual pd Wullsott Install System v2 07 Back Mexk gt Cancel Pic 7 Installation Step 4 The picture below informs about the VCP driver installation EVB90609 Page 14 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board E B90609 Setup iol xl Installing Please wait while EVE9O609 is being installed Execute C Program Files Melexisi EYB90609 Driver Prelnstaller exe A Install Driver i a x USB to UART Bridge Controller Driver Set C Program Files Melexis EYB S06094Driver Fon CF Browse Cancel Create shortcut CBocuments and Settings bot Start Menu ProgramsiEVB90609 Un Execute C Program Files Melexis EYB90609 Driver PreInstaller exe Mullsort Install System ve Ur Back Wext Cancel Pic 8 Installation Step 5 The picture below will appear if the installation was successful Installing Please wait while EVE90609 is being installed fy Execute C Program Files Melexis EVB90609 Driver PreInstaller exe sai Install Driver USB to UART Bridge Conti 1 1 j Installation Successful C Program Files Melexis4l Cancel x Browse __ Cancel Create shortcut C Documents and Settings bot Start Menu PragramsiEVB9O609 LIn Execute C Program Files Melexis EVB90609 Driver PreInstaller exe Nullsoft Install System v2 07
28. ctions in the section SPI instruction see SPI protocol This page is divided into 4 fields The 1 field represents the SPI instruction 8 bits and data 16 bits The 2 field represents the answer for an earlier sent SPI instruction the detailed description of the SPI instruction answers can be found in the section SPI protocol The 3 and 4 fields are information areas The 3 field explains specified SPI instruction and the 4 gives a detailed description of the answer to a sent SPI instruction EVB90609 Page 29 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board REMARKS 1 SPI COMMAND INFORMATION explains the specified SPI instruction by taking state of the SELFTEST pin the value of the supply is displayed into parenthesis 2 Each modification will be displayed in the Status of the chip EVB90609 Page 30 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 9 4 ADC Page The ADC page looks like Angular Rate Pic 17 ADC Page Two analog pointer indicators are located on this page The upper indicator displays the dynamics of the angular rate The lower indicator shows the dynamics of temperature sensitive element The values range from 0 up to 2048 this range is determined by the bit capacity of the used ADC 11 bits At this page the batch controlling of the chip through the SPI Instr
29. d treaties GRANT OF LICENSE l a IF you accept the terms of the agreement click I Agree to continue You must accept the agreement to install EVB90609 Mullsoft Install System v2 07 lt Back Cancel Pic 5 Installation Step 2 After you see the window with the installation components choose the necessary options EVB90609 Page 13 of 88 May 22 Rev 1 01 way User Manual EVB90609 Evaluation Board Microelectronic Integrated Systems EVB90609 Setup l0j x Choose Components Choose which Features of EVBQO609 you want to install fy Check the components you want to install and uncheck the components you don t want bo install Click Install to shart the installation Description Position your mouse Over a component to seg its description Select components to install Documentation Space required 4 3M6 Nullsoft Install System v2 07 lt Back Install Cancel Pic 6 Installation Step 3 Then detailed information on installing process will be shown EVB90609 Setup aS loj x Installing Please wait while EVB90609 is being installed Extract EVB90609 User_Manual pdf Extract slabser sys Extract slabunin uzk Extract slabunin u98 Extract slabwcd wd Extract slabvcr vxd Extract slabyxd inf Extract slabwek inf Extract slabwwdra inf Extract slabwh9S syvs Extract slabwhnt sys Output folder C Program Files Melexis EVB90609 Extra
30. dwidth of the MLX90609 Customers can quickly experiment with the value of the bandwidth Procedure to change the bandwidth you have to disconnect the bandwidth jumper with a Filter label After that you must put a capacitor into the collet socket Settings bandwidth Capacitor 82nF Additional capacitor 4 a d F j Bandwidth calculation BW 1 2 T R C HZ T 3 1415926 R 200 kOm C value of capacitor capacity For example T 3 1415926 R 200 kOm C 82nF BW 1 2 11r 200000 82E 09 9 7 Hz EVB90609 Page 10 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 3 Software The picture below shows the main window of the EVB90609 software This software uses its own protocol see EVB90609 Protocol for the connection with the main board and controls the MLX90609 via SPI and or SELFTEST pin This software supports all modes of operation of the MLX90609 analog digital and mixed mode and has an additional function the demo mode E B90609 a File view Run Options Help 10 x om Disconnect Microelectronic Integrated Systeme Address EEPROM HEX EEPROM ASCII 0000 7F 38 38 40 7F 80 38 00 0008 78 00 47 O7 00 BF 07 00 x 0010 38 00 00 00 3F 87 3F 07 8 72 71 0018 O7 00 00 38 BS 80 00 38 I 8 0020 B8 CO 40 07 B8 87 7F OF A t i i 0028 C080 38 40 87 80 7F OF ABS t Bl i O00 BE FF 2 78 Cr Ci S81 a
31. er BN bit defines the bank number to be erased Step 4 setup of the erasing Use SPI to send EEE instruction 10000010XXXXXXXXXXXXXXXX And check 15th bit of the answer it should be zero Bx x x xX KKK KKK KKK If 15th bit isn t zero it s necessary to check the cause of the refusal answer Step 5 finalize erasing procedure see Finalizing the writing procedure EVB90609 Page 61 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 11 11 Writing into the EEPROM Step 1 setup of the initial conditions SELFTEST pin should be free or pulled up and HVIN pin should be free This condition will be not necessary for BA version Internal booting procedure after power up should be finalized bit BUSY 0 see Refusal answer Previous erase write procedure should be finalized bit EEB 0 see STATR instruction Step 2 EEPROM programming mode setup Use SPI to send MODEW instruction 1010xX11XXXXXXXXXXXXXXXX And check 15th bit of the answer it should be zero xxxxxxxxxxxxxxx If 15th bit isn t zero it s necessary to check the cause of the refusal answer Step 3 setup of the bank number to be written Use SPI to send EER instruction Ox xx BN 00 OX XXX XXXXXXXKXXXX And check 15th bit of the answer it should be zero Bx x x xxx XK KKK XXX If 15th bit isn t zero it s necessary to check the cause of the refusal answer BN bit defines the bank number to be writte
32. ess data from the extended segment address record The following example illustrates this process Address from the data record s address field 2462 Extended segment address record data field 1200 Absolute memory address 00014462 14 5 End of File EOF Records An Intel HEX file must end with an end of file EOF record This record must have the value 01 in the record type field An EOF record always appears as follows 00000001FF where 00 is the number of data bytes in the record 0000 is the address where the data are to be located in memory The address in end of file records is meaningless and is ignored An address of OO0Oh is typical 01 is the record type 01 an end of file record FF is the checksum of the record and is calculated as 01h NOT OOh OOh OOh 01h EVB90609 Page 85 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 14 6 Example Intel HEX File Following is an example of a complete Intel HEX file 0800000047003F4000FFO038FB 080008000038383FOOBFO03F43 080010003838380738B8073F03 080018000700003838800038B1 080020000000380738BF00079B 080028000000380038803F0 79A 080030003F3F3F3838803838AB 080038008080B8803880800050 08004000388000B880B8B80058 080048008000B80038B8B83898 08005000407840404078784000 080058007840784040407840F8 08006000004040000040400098 080068007840470707474000FC 08007000004D656C65786973B1 70800780045564239303630399
33. ges will be available and the process of data interchange will be over E B90609 Eo EVB90609 Rev 1 01 Fie view Run l Connect Disconnect Options Help Microelectronic Integrated Systemes O x Time sec Angular rate sec Temperature 4DC code Angular rate sec Temperature ADC code 1 591 300E 01 1 593400E 01 1 595400E 01 1 598000E 01 1 600000E 01 1 6021 00E 01 1 604300 01 1 606400E 01 1 608900E 01 1 610900E 01 0 000000E 00 324219E 02 3 6621 09E 02 324219E 02 0 000000E 00 3 6621 09E 02 1 098633E 01 1 464844E 01 0 000000E 00 324219E 02 SET ZERO 1 454000E 03 1 454000E 03 1 454000E 03 1 454000E 03 1 454000E 03 1 454000E 03 1 454000E 03 1 454000E 03 1 454000E 03 1 454000E 03 START SIAE EEPROM MODE SPI ADC DEMO Angular rate sec amp Temperature ADC code VUA AONO fa fey fei tea fe fe e e Angular rate amp Temperature Time Page 35 of 88 4 115200 8 N 1 Connect Pic 21 Demo mode operation Normalmode May 22 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board WARNING After SELFTEST MODE setting the chip condition will not change when proceeding to DEMO MODE a mm Cc a in co ee er esooocea E ba elke dd albeseclh 4e een eeeeaesed aaa Angular rate t Selftest mode
34. ing DR7 DRO Warning At least 60 us delay should be guaranteed after the shifting of the command LSB and before the DR7 reading in order to read a correct EEPROM data 11 6 Instruction of the data preparation EED Command Bit7 Bit6 Bits Bit4 Bit3 Bit2 Bit 1 Bit O 1 o jo jo o AWO Table 9 Format of the EED instruction The answer is the same as for the STATR instruction A destination address of 16 bit data word in 64 bit data word to be written into the EEPROM The 16 bit word should be shifted after instruction during the answer receiving AW1 AWO 11 7 Write instruction EEW Table 10 Format of the EEW instruction The answer is the same as for the STATR instruction Command 1 O eo e A Note BN bit defines the number of the customer s bank of the EEPROM to be written If BN 0 the cells 70H 77H will be written otherwise if BN 1 the cells 78H 7FH will be written Bit BN should be specified previously by the EER instruction as well as 64 bit data word should be specified by the EED instruction 11 8 Instruction of a write erase cancel EEC Table 11 Format of the EEC instruction The answer is the same as for the STATR instruction Command po Command 1 jo jo o jo jo jo 11 9 Instruction of the ADC reading ADCR Command po Command A oR RA a a Pe I EVB90609 Page 59 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609
35. internal registers or EEPROM It also allows reading ADC codes of the output signals angular rate and or temperature and of the demo mode angular rate temperature and time periods The microcontroller U5 C8051F331 Silicon Laboratories is used to convert the PC application software commands to the module s SPI commands and to return the module s replies back to the PC software The microcontroller uses its built in UART port for communication with the PC and SPI for communication with the MLX90609 The USB to UART conversion is accomplished by the CP2102 Silicon Laboratories IC U9 The USB port is the VCP for the EVB90609 software The EVB is accessed as a standard RS 232 device while the physical media is the USB interface The corresponding Virtual Communication Port Drivers provided by Silicon Laboratories Chip available for most of the existing operating systems must be previously installed see Installation EVB90609 The data written in the internal EEPROM is used to customize the USB VID PID Serial Number Product Description String and Power Descriptor value of the CP2102 This data during the USB link establishment and it is not used by the EVB s microcontroller The settings of the PC virtual serial RS 232 port must be the following e Baud rate 115200 e Data bits 8 e Parity None e Stop bit 1 e Flow control None 12 1 Timeouts 1 The virtual communication port has the following timeouts e Read In
36. is page there is a setting of scale size factor fitting and value of angular rate data averaging For the specification of the directional indicator display Compass it is necessary to enter the correction factor into the field Scale Factor Fitting Calculation procedure of the correction factor 1 If the demo mode is running stop it by pressing on the STOP button Install the value of the Scale Factor Fitting to 1 Turn a PCB on the valid 360 degrees Then the value of the indicator compass is to be divided by 360 for example if the value on the indicator is 300 300 360 0 833333 5 The obtained number has to be entered into a field of Scale Factor Fitting look at Pic 35 P m N Demo options Scale Factor Fitting from 0 5 up to 1 5 0 8333333333333 Angular rate averaging Avge d Averaging bine mel Pic 35 Demo options Others Page EVB90609 Page 51 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 6 Dialog boxes Others Other dialog boxes are warning and error messages These messages are shown during running of the application when there is not a typical situation originating on fault of the user or other programs for example an operational system For example this message will appear when the user sets an incorrect data about the number of the port The application will try to connect to the main board
37. ith driver and documentation USB Port Mouse or Pointing Device Microsoft Windows XP oe Ok oe w EVB90609 Page 12 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 5 Installation EVB90609 software Run SetupEVB90609 exe and wait some seconds until you see the following window EYB90609 Setup E lei Es Welcome to the EYVB90609 Setup Wizard This wizard will guide you through the installation of EVBOO6O9 It is recommended that you close all other applications before starting Setup This will make it possible to update relevant system files without having to reboot your computer Click Nexk bo continue Microelectronic Integrated Systems Cancel Pic 4 Installation Step 1 Next step License window If you are agree you must select I agree EVB90609 Setup ae Oj x License Agreement Please review the license terms before installing EVB9O609 fy Press Page Down to see the rest of the agreement ND LISER LICENSE AGREEMENT FOR MLX90609 SOFTWARE This End User License Agreement EULA is a legal agreement between you feither an individual or a single entity and Melexis IF you do not agree to the terms of this EULA do not install copy or use the SOFTWARE PRODUCT SOFTWARE PRODUCT LICENSE The SOFTWARE PRODUCT is protected by copyright laws and international copyright treaties as Well as other intellectual property laws an
38. n Step 4 64 bit data setup Use SPI to setup the data by using EED instruction and check 15th bit of each answer they should be in zero state 10000100 d15 d14 d13 d12 d11 d10 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00 Mx xxx xxx xxx xxx x x 1000010 1 d31 d30 d29 d28 d27 d26 d25 d24 d23 d22 d21 d20 d19 d18 d17 d16 Mx xxx xxx xxxxxxx x 1000011047 d46 d45 d44 d43 d42 d41 d40 d39 d38 d37 d36 d35 d34 d33 d32 Ox xx xxx x x x x x x x x x 1000011 1 d63 d62 d61 d60 d59 d58 d57 d56 d55 d54 d53 d52 d51 d50 d49 d48 Ox xxx x x x x x xxx xx x lf 15th bits are not zeros its necessary to check the cause Step 5 setup of the writing Use SPI to send EEW instruction 10000011XXXXXXXXXXXXXXXX And check 15th bit of the answer it should be zero xxxxxxxxxxxxxxx EVB90609 Page 62 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board If 15th bit isn t zero it s necessary to check the cause of the refusal answer Step 6 finalize writing procedure see Finalizing the writing procedure 11 12 Finalizing the writing procedure The MLX90609 has an internal timer which provides a write erase monitoring Nevertheless the timer just limits the write erase duration in order to spare EEPROM s lifetime This instruction EEC can be used to optimize the write erase duration It s recommended to cancel the write erase cycle by using the EEC instruction in order to provide 6 ms duration There are two p
39. ng of the answer to e g one byte only see Fig 38 sob 7 CLOCK NUMBER Qo T 2 a 4 5 E 7 0 9 19 20 21 22 23 SCLE PLY Ly LP LPL i DATA IN DATA IN MOSI X 7FAEXS NAR IKAO XIE XAK u KAKI KRIADI X MoB COMMANDO BYTE 16 bit DATA WORO for EED instruction only DATA QUT HIGH IMPEDANCE if HI MISO OX 4X3X2X1XD MSE AMSWER Pic 37 Serial Exchange Sequence full answer reading 555 CLOCK NUMBER Dele 2 Sa OS a eee a US i a A Sclk X DATA IN MOSI XTXREXEXAKIXKZXANOX XM K A XK KR KX KX KD MISE COMMAND BYTE DATA OUT MIEC HIGH IMPEDANCE MSB ANSVVER Pic 38 Serial Exchange Sequence the reading of the higher half of the answer EVB90609 Page 54 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board t5 __ YH m SS VIL rH 7 WIH SCLK t2 t3 IL t6 tr vos Cree TATOO 8 ne ewan XX a NOLS Pic 39 Synchronous Data Timing Table 2 SPI Timing Characteristics see Fig 38 p oe e ome e famine e Joemer Maximum 40 Output Disable Time MLX90609 commands and answers The SPI commands are mainly used for 3 purposes e forthe status poll EVB90609 Page 55 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board e for the EEPROM manipulation reading the EEPROM contents or writing erasing the customers banks e for the internal ADC control reading the 11 bit angular r
40. nscensoneecneeoneeensoeesonssonsecnseensonsonssonssensonsesneeons 80 EVB90609 Page 4 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board t4 inel TOK TING Tonna sa EEE A E 82 T RCO FOO oaii r a E e E E N 82 e DaT TO ONS ee E AE E E E E E E E 83 14 3 Extended Linear Address Records HEX386 cccccccecceeeeeeceeeeeeeeeeeeeesaeeeesaeeeeeseeeesaeeeeesaaeeees 83 14 4 Extended Segment Address Records HEX86 ccccccssscecceeseeeceesseecceeeessaeeecsegseeessseesssageees 84 14 5 End of File EOF RECOIrdS cccccssccccseseecceeseeecseseeeceuseeccsaueecsauseesseaceessaeeessaseessaueeessansesessageees 85 14 6 Example Intel HEX File ccc ccccccecceeeceseceeeeeeeteeeseeseeeceeecaeeeaueceueceuecaeetaeetaeetaeeseeetaeeeseeeseeeneeenes 86 TO COD TOMMab secs tecesncces coaneoentee en mrenean EE EEEE 87 MODIS CIAUMON veccatccestieccsteniecianendeohucenies late pice dutenssneyemegasedexwounetuneauionskwauveiencsenedenedncoiusenens 88 EVB90609 Page 5 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board GLOSSARY OF TERMS ADC Analog to Digital Converter BMP Bit Map BW Bandwidth EVB Evaluation Board EEPROM Electrically Erasable Programmable Read Only Memory GHz Giga Hertz JPEG Joint Photography Experts Group IBM PC International Business Machines Personal Com
41. ntegrated Systems 9 1 EEPROM Page The EEPROM page looks like Byte 70 Hy Hex Deces Jec Esee Bit 3 MEMLOCE Hr ol o o o o o oo Byte 75 HF HEX ERASE ALL WRITE ALL READ EEPROM MODE SFI ADC DEMO User Manual EVB90609 Evaluation Board ERASE WRITE Pic 12 EEPROM Page This page is divided in 2 banks User s space is available for recording erasing and changing contents These banks have the following characteristics each is of 8 bytes the addressing is ranged from 0x70 to 0x7F Zero bank has its specific byte 0x70 in which 3 minor changes are the so called bits MEMLOCK These bits forbid any further modification of the EEPROM User s space they are bit by bit voting and work like shown in the logical circuitry below Bit 0 Bit 1 Bit 2 MEMLOCK bit Pic 13 Bit by bit violation EVB90609 Rev 1 01 Page 24 of 88 May 22 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board This page provides the below functionalities 1 Recording to EEPROM recording only to bank O recording only to bank 1 and recording to both banks For convenience the recording fields are located in the same sequence as in dump of memory the space for byte 70 was specially eliminated This byte contains 3 bit by bit voting bits Warning Setting at least 2 bits to 1 disables any further modification of the User s memory EEPROM This setting comes int
42. o effect only after switching off the supply If you have disabled the Users memory space by accident and then need to reset the User s memory EEPROM please contact Melexis The data input to the fields of recording is done in hex format which is equivalent to ASCII format For example digits 0x30 9 0x39 and letters A 0x41 and a 0x61 Digits input have to be done without prefix For example input of line Melexis We need to input the following hex digits 4D 65 6C 65 78 69 and 73 2 EEPROM erasing You can erase the EEPROM as separate banks as well as the whole User s space For this you can use the button Erase in the applicable areas or the button Erase all 3 EEPROM reading After pressing the button Read the program will read the data from the User s space The technical data can not be modified by the User The technical data is read only when the software is connected to the EVB90609 After each EEPROM data manipulation a verification of the recorded rerecorded deleted data takes place by a repeated reading of the EEPROM User s space EVB90609 Page 25 of 88 May 22 Rev 1 01 way User Manual EVB90609 Evaluation Board Microelectronic Integrated Systems 9 2 MODE Page The MODE page looks like ANALOG MODE SELFTEST FIN 0 0 Voltage f 25 Voltage f 50 Voltage DIGITAL MODE MODE INFORMATION 1 Normal operation n 2 ERROR pin i directh controlled
43. of oscillations EPLL After the status reading bits EDRV and EPLL will be cleared by hardware To clear EDRV and EPLL bits it s possible also to apply zero pulse to the SELFTEST pin ERR bit combines EDRV EPLL and ECRC bits by OR logic BN bit defines the number of the customer s bank of the EEPROM to be erased or written see EEE and EEW instructions This bit should be preloaded before any write erase procedure by using EER instruction BN 0 means EEPROM bank 70H 77H BN 1 means EEPROM bank 78H 7FH These bits are set by the MODEW instruction The ERRS bit selects the source controlling the ERROR pin and the ERRP bit defines the polarity of the ERROR pin ERRP 0 ERRS 0 ERROR pin is controlled by the ERR and ECRC bits connected via an OR gate EOC BUSY ERROR ERR or ECRC ERRP 0 ERRS 1 ERROR pin is controlled by the ERR ECRC and EOC bits ERROR ERR or ECRC or EOC ERRP 1 ERRS 0 ERROR pin is controlled by the inverted result of ERR or ECRC ERRP 1 ERRS 1 ERROR pin is controlled by the bit not ERR or ECRC or EOC The ERRP and ERRS bits are helpful for the fitting of the ERROR pin to the interruption input of the external microprocessor After power up bits ERRP and ERRS are cleared SF1 SFO When the SELFTEST pin is in the high logical state the bits SF1 and SFO reflect the state of SFI1 and SFIO i respectively The CHAN bit is used to select the input source for the ADC CHAN CHAN 0 the angular rate
44. omplete list of the EVB90609 menu commands see Menu commands 8 2 Application s toolbar The toolbar duplicates some of the commonly used menu commands Click To execute 5 Connect Connection disconnection to the main board Disconnect The content help 8 3 Multifunctional status bar EVB90609 Evaluation Board The EVB90609 status bar is divided into 4 areas The first area is used to display application messages 3 extra areas are provided for user convenience The meaning of each extra area follows e Configuration of VCP displays the configuration of virtual communication port number of port bits per second data bits parity stop bits e Status of connection displays the status of connection connect disconnect e Mode of the chip displays chip operating mode Note closing the main window will close the application and the communication port EVB90609 Page 21 of 88 Rev 1 01 May 22 wee User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 8 4 Pages The main window has 5 pages EEPROM MODE SPI ADC i peMag Pic 11 Main window pages EVB90609 Page 22 of 88 May 22 Rev 1 01 Melexis User Manual EVB90609 Evaluation Board Microelectronic Integrated Systems 9 Pages on main window Pages are divided into the following sections e EEPROM e MODE e SPI e ADC e DEMO EVB90609 Page 23 of 88 May 22 Rev 1 01 woods Microelectronic I
45. ossibilities to finalize write erase procedure Finalizing by using EEC instruction Step 1 delay Provide 4 15 ms delay recommended value 6ms Step 2 cancel of the programming Use SPI to send EEC instruction 10000001XXXXXXXXXXXXXXXX And check 15th bit of the answer it should be zero Bx xx XxX KK KKK KK KX If 15th bit isn t zero it s necessary to check the cause of the refusal answer Finalizing by using polling Use SPI to send STATR instruction 10 001 XXXXXXX X XXXXXXXXXXX And check 15th bit of the answer it should be zero Ox x x BEB x x x xxxxxxxx If 15th bit isn t zero it s necessary to check the cause of the refusal answer If EEB bit is one a programming is in progress It s necessary to wait till EEB will be cleared by internal timer of the MLX90609 Conversion time of the ADC Typical value 100 us Maximum value 180 us EVB90609 Page 63 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board Reading the digital angular rate or temperature Step 1 put ADC to the active mode if it did not Use SPI to send ADCC instruction see Instruction of the ADC control ADCC 1001X1XXXXXXXXXXXXXXXXXX And check 15th bit of the answer it should be zero Bx xxx XXX XXXXXXXX If 15th bit isn t zero it s necessary to check the cause of the refusal answer Use delay at least 200 us Step 2 start Use SPI to send ADCC instruction 1001CHAN100XXXX
46. puter MB Megabyte MHz Mega Hertz OEM Original Equipment Manufacture OUTAR Output voltage of Angular Rate OUTTEMP Output voltage of Temperature PCB Printed Circuit Board RAM Random Access Memory R amp D Research and Development SPI Serial Peripheral Interface SVGA Super Video Graphics Array VCP Virtual Communication Port VREF Voltage Reference USB Universal Serial Bus EVB90609 Page 6 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 1 General description The EVB90609 Evaluation Board is designed to support the MLX90609 family of Angular Rate Sensor ICs This board which acts as an interface between the USB port of a PC and the MLX90609 can work in the following modes 1 2 3 4 Digital mode SPI only Interface Analog mode only OUTAR OUTTEMP VREF SELFTEST and ERROR pins Mixed mode digital and analog mode Demo mode direction indicator When the EVB90609 is used as a demo board it works as a direction indicator i e a compass Power for the MLX90609 and EVB come from the computer USB port or from an additional power supply range from 4 75V up to 5 25V The EVB90609 is designed to allow customers to quickly configure the MLX90609 family of Angular Rate Sensor ICs Customers can quickly experiment with temperature ranges power supply EEPROM settings etc The kit contain
47. rated Systems EVB90609 Evaluation Board 12 2 6 Z Command Category Zero setting command Syntax Z lt CR gt Description lt CR gt A carriage return symbol This command does not have any parameters Current value of ADC will be equal to 0 degree per second of angular rate Answer of command W Syntax lt LF gt Z lt STAT gt lt CS gt lt CR gt Description lt LF gt A line feed symbol lt STAT gt Status byte See Answer of the STAT lt CS gt Checksum See Checksum lt CR gt A carriage return symbol Example In this example MLX90609 chip works in normal mode LED is switched on constantly Reply lt LF gt ZOFF1 lt CR gt lt STAT gt OF lt CS gt F1 EVB90609 Page 77 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 12 2 7 Answer of the STAT Values of this byte signaled about a state of functional modes main board and MLX90609 Description Table 17 Description of STAT bite Name Description gt gt S O 0 DEMOBIT _ This of bit is installed in 1 in demo mode _ 1 ACCEPT BIT This bit is installed in 1 when demo mode will ready to work Status ERROR pin Status ERROR pin S Ta oor 3 R_ Flag of power de energization Setting of LED modes see Table 15 L bits Setting analog mode of MLX90609 see Table 14 ST bits EVB90609 Page 78 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated S
48. rge pump 1 1 1 0 1 1 1 SELFTEST mode emulation of the NEGATIVE angular rate 0 1 1 1 0 ERRP ERROR XOR2 IN1 SEL SPI MODEW HIGH VOLTAGE 4 EEPROM INSTRUCTION T aN SFTO aD oe OR2 SELFTEST gt SFO SZ THREE STATE OA al ae MEMS ran DETECTOR Db Pic 15 Simplified schematic of ERROR and SELFTEST circuit EVB90609 Page 27 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board REMARKS 1 The table and the figures above were composed to explain all possible sub modes related to the SELFTEST pin and SFT bits 2 Bits SFT 1 0 is cleared after power up 3 STATUS OF THE CHIP explains the value of the internal bits without taking state of the SELFTEST pin the ERROR pin and the value of the SELFTEST pin Field MODE INFORMATION displays comments with taking into account the state of the SELFTEST pin 4 Each modification will display into the Status of the chip EVB90609 Page 28 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 9 3 SPI Page The SPI page looks like SPI COMMAND Date OOOOO000 00000000 00000000 SPL ANSWER SPI COMMAND INFORMATION SPI COMMAND ANSWER EEPROM MODE spy Pic 16 SPI Page On this page the User has the possibility to work with a low level SPI instruction Please find a more detailed description of the SPI instru
49. roelectronic Integrated Systems EVB90609 Evaluation Board 12 2 1 A Command Category Mode setting command Syntax A lt CMD gt lt N gt lt CS gt lt CR gt Description Controls the following modes e IC MLX90609 analogue mode setting modification of value power supply on SELFTEST pin e Setting of LED function mode e Resetting of supply voltage disconnection mode e Setting of transfer to Demo mode bit lt CMD gt Byte of A command data lt CR gt A carriage return symbol Table 13 CMD bit A Command Name Description gt Z gt O STO Setti Setting analog mode of MLX90609 see Table 14 ST bits Setting of LED modes see Table 15 L bits Bit of supply voltage flag 1 Reset of a flag supply voltage switch off 0 Not used gean eee Svo Setting of demo mode Table 14 ST bits O0 O 0O Voltage SELFTEST mode the positive angular rate 0 4 2 5 Voltage SELFTEST mode the negative angular rate 1 0 2 5 Voltage SELF TEST mode the negative angular rate EVB90609 Page 67 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 5 Voltage Normal mode Table 15 L bits O0 O Switchoff O 1 Short flashes 1 O Short fading Light continuously lt N gt The global counter of commands Has its value ranging from O up to 255 after 255 changes to 0 It can be used for data loss verification and for e
50. rogram PDFCreator PDFCreator is a freeware software It easily creates a PDF of the EVB90609 program For more information and file download enter http sourceforge net projects pdfcreator EVB90609 Page 44 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 10 4 Dialog box Communication options This is a dialog box of the communication path settings between the EVB90609 software and the EVB90609 PCB and it is called through the text menu File Options Communication or by the buttons Ctrl C This dialog box is called automatically during the first start and later on when it is required to modify the communication port to the EVB90609 PCB If it is required to modify the communication port to the EVB90609 the procedure of disconnecting has to be done i e choose the text menu Port Disconnect or press F5 or switch the tumbler to the position Disconnect Connect l Diconnect Pic 28 Setting switch in position disconnect The dialog box looks like Communication options Port 4 M Autocannecting Pic 29 Dialog box Communication options The dialog box contains the following parts Dependent list in which the available ports are shown The button of ports lists update This button is essential as the EVB90609 PCB is a plug and play device working through USB port and as a result the operating system needs some time to reveal and
51. s Main board USB cable to connect to a PC Sample MLX90609 Software EVB90609 Software VCP driver and documentation EVB90609 Page 7 of 88 May 22 Rev 1 01 wey User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 2 Hardware Hardware contains 1 Main board 2 USB cable Pic 1 The EVB90609 Hardware and USB cable EVB90609 Page 8 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board J10 USB U9 U8 USB D RxD a ob RxD USB B USB to Digital x C RS 232 isol onnector sonverer solator mammali z D v About 5 V SCLK LA on OUTTEMP i OUTAR ies Voltage sav oie POWER_EXT J11 Microcontroller gt gt MLX90609 FLT oie regulator ERROR T J5 ii O C So ORe 4 From 4 75 V up to 5 25 V gt o C7 Compass data E J1 7 7 Power Compass External Connector POWER_EXT Pic 2 Main board block diagram The board s schematic is shown in the section Schematic Type of power supply source 1 USB port 2 Additional power supply range from 4 75V up to 5 25V Power supply source USB port Additional power supply Dv RSG OV KSe6er IK a Huse PTE MAITALE M i POWER EXT lA WL APOWER EXT EVB90609 Page 9 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board Bandwidth The EVB90609 is designed to allow customers to quickly configure ban
52. s EVB90609 Evaluation Board 12 2 2 B Command Category Status getting command Syntax B lt CR gt Description lt CR gt A carriage return symbol This command does not have any parameters It is intended for prompt status information receipt inner microcontroller registers see STAT Answer of B command Syntax lt LF gt B lt STAT gt lt CS gt lt CR gt Description lt LF gt A line feed symbol lt STAT gt Status byte See Answer of the STAT lt CS gt Checksum See Checksum lt CR gt A carriage return symbol Example In this example MLX90609 chip works in normal mode LED is switched on constantly Bit E equals 1 see STAT and Datasheet MLX90609 ERROR Pin Reply lt LF gt B2FD1 lt CR gt lt STAT gt 2F lt CS gt D1 EVB90609 Page 70 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 12 2 3 C Command Category Command of SPI commands transfer Syntax gt C lt CMDSPI gt lt DH gt lt DL gt lt N gt lt CS gt lt CR gt Description lt CMDSPI gt SPI command lt DH gt High byte of data word lt DL gt Low byte of data word lt N gt The global counter of commands Has its value ranging from 0 to 255 after 255 changes to 0 It can be used for data loss verification and for escaping second command setting lt CS gt Checksum see Checksum lt CR gt A carriage return symbol This
53. s used On the other hand bits SFT1 and SFTO have to be cleared before using the SELFTEST pin to setup a Self Test mode After power up bits SFT1 and SFTO are cleared ERRP ERROR XOR2 Sd A P EEPROM SP MODEW ERR en HIGH VOLTAGE __ l Pron INSTRUCTION EDIS gt so gt OR2 SELFTEST D SFO xX THREE STATE oe Se ant MEMS N DETECTOR gt Pic 40 Simplified schematic around pins ERROR and SELFTEST 11 1 The refusal answer Every command sent to the MLX90609 has an answer If the MLX90609 is not able to accept the instruction a refusal answer will be transmitted out This answer has a unique format which is shown in the table 4 below The refusal answer is the only one that has a settled MSB The other bits help to understand a possible reason for the command rejection One can also on purpose force a refusal answer for example by sending a command 11111111b to read some of those bits Table 4 Refusal answer format 15 13 12 T 2 1 0 FEB BUSY EEDIS Reserved ECRC EPLL EDRV 11 2 Instruction of the status reading STATR 1 jo jo jo X EVB90609 Page 57 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board Table 5 Format of the STATR instruction Answer E 5 4 3 2 1 0 0 ERR EOC MLB EEB BN Reserved ERRP ERRS CHAN ADEN 11 3 Control mode instruction MODEW Table 6 Forma
54. scaping second command setting lt CS gt Checksum See Checksum Example Next command example reset of a flag supply voltage switch off setting of normal mode for MLX90609 SELFTEST pin 5 Voltage and setting the mode of continuous LED light This command has lt N gt 0 because it is first command Usually this command is first command after connecting with main board and after switch off A1FO0E1 lt CR gt lt CMD gt 1F lt N gt 0 lt CS gt E1 Answer of A command Syntax lt LF gt A lt STAT gt lt CS gt lt CR gt Description lt LF gt A line feed symbol lt STAT gt Status byte See Answer of the STAT lt CS gt Checksum See Checksum lt CR gt A carriage return symbol Example After power de energization the command of normal functioning of MLX90609 mode and constant LED light command AOFF1 is to be sent to microcontroller In reply to A command the following response will appear EVB90609 Page 68 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board Reply lt LF gt A1FE1 lt CR gt lt STAT gt 1F lt CS gt E1 Attention After each power de energization it is required to make re initialization with bit R reset see A Command because data loss MLX90609 chip destroy incorrectness of further data are possible EVB90609 Page 69 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated System
55. t of the MODEW instruction The answer is the same as for the STATR instruction Command po Command Bit1 Bito ERRP ERRS 11 4 Instruction of the ADC control ADCC Table 7 Format of the ADCC instruction The answer is the same as for the STATR instruction Command po Command S S SO 1 jo jo J CHAN ADEN ADCM1 ADCMO 11 5 Reading the EEPROM and the address setup EER Command Oo o o Command S SS S O A5 A4 A3 BN A0 Address of the EEPROM cells to be read or to write erase For the read operation all of these bits are significant and result of the reading will be included into the answer The second result of the operation is a loading of the BN bit This bit has to be preloaded before each write erase operation as it defines the number of the customer s EEPROM bank to be erased or written see EEE and EEW instructions It s also recommended to setup bits A2 A0 to zero before write erase procedure BN 0 means EEPROM bank 70H 77H BN 1 means EEPROM bank 78H 7FH After power up the bits A6 AO and BN are cleared Table 8 Format of the EER instruction Answer Answer S O Bit Bit Bit Bit Bit 7 Fe A is a fap 15 ilo 12 11 10 0 ERR EOC MLB Reserved _ __ PORT POR ORS ORS DRT ORS DRZ PORT TORT EVB90609 Page 58 of 88 May 22 Rev 1 01 MelexIsS User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board The result of the EEPROM read
56. t the measurement time intervals the values of the angular rate and temperature The temperature value can be shown in different units see Dialog box Demo Options ADC code Celsius Fahrenheit and Kelvin degree While opening this page the content of the EEPROM and the Status of the chip will be hidden The chart of angular rate modification and or temperature will be shown instead Two digital indicators showing the current angular rate and temperature are located over the chart EVB90609 Page 33 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board Angular rate sec Temperature ADC code 0 Time Pic 20 Chart The settings of the data displayed on the chart are available via text menu Options Demo or after pressing the buttons Ctrl D in dialog box Demo options EVB90609 Page 34 of 88 May 22 Rev 1 01 Melexis Microelectronic Integrated Systems 9 6 Run in DEMO MODE User Manual EVB90609 Evaluation Board To run the program in DEMO MODE press the button START During an interchanging between the main board and the software the coming data will be shown on the indicators on the chart and in the table While data communicating other pages will be unavailable as well as modifications of chip modes To specify or install the zero value of the angular rate press the SET ZERO button To stop the DEMO MODE press the STOP button as a result other pa
57. terval Timeout 0 milliseconds e Read Total Timeout Multiplier 0 milliseconds e Read Total Timeout Constant 200 milliseconds e Write Total Timeout Multiplier 0 milliseconds e Write Total Timeout Constant 200 milliseconds EVB90609 Page 65 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 2 The timeout of the answer is equal to 100 milliseconds the first byte of the answer 3 The timeout of the answer is a symbol equal to 10 milliseconds an intersymbolical time interval 12 2 Commands All the commands supplied from the PC to the EVB are text ASCII statements starting with the colon symbol and ending with a carriage return symbol CR All the answers are text ASCII statements starting with a line feed symbol LF and ending with a carriage return symbol CR The commands syntax are the following lt gt command lt CR gt The answers syntax are the following lt LF gt answer lt CR gt All data in the commands have a hexadecimal representation of bytes For example the byte lt CMD gt in A command is equal 00001111pi the hexadecimal format is written as OF hex i e in the command it will be written as two bytes O ASCII 0x30 and F ASCII 0x46 This protocol has following commands 1 A command B command C command D command W command gt oe w Z command EVB90609 Page 66 of 88 May 22 Rev 1 01 way User Manual Mic
58. through text menu File Print Preview or buttons Ctrl P This dialog box allows printing only chart the chart that is shown in the right part of the main window DEMO MODE To get the image of the best quality move the splitter on the main window to the leftmost position After that call the dialog window by one of possible ways This dialog box is a combination of the following spaces e Printer setup Printer Printer setup and others e Page orientation portrait landscape e Margins values reset margins view margin e Detail from normal up to more e Proportional option default uncheck To increase grid s refining on the chart move the slider Details to the position More E B90609 a 5 x File View Run Options Help aii Melexis O Disconnect Microelectronic Integrated Systems i Anaularratef sec Temperature ADC code ioi xi Printer gm geet Printer Setup Print Paper Orientation Portrait Landscape Margins 4 jo l zi zl pen p a a fo zd m ast st tt mimrmrne 10 12 14 16 6 JC mo SA 8 Time EEPROM MODE SPI ADC DEMO 4 115200 8 N 1 Connect Normalmode Pic 27 Print preview EVB90609 Page 43 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board If required to make a PDF file of an existing chart it is recommended to use the p
59. uation Board 10 2 Dialog box Save As This standard dialog box of file saving can be reached through text menu File Save as or buttons CtrI S This dialog box allows to store the contents dump of the EEPROM chip in HEX format file see Intel Hex file format all modes and Text format file Excel format file CSD format file OrCAD see CSD format file Bitmap format file JPEG format file Demo mode All contents of EEPROM are stored in HEX mode in address space from Ox0000 to Ox007F This mode is described in section Intel HEX file format see Intel HEX file format You can store the received data of the angular rate temperature and time intervals in DEMO MODE as well The data can be in the following modes e Text format file Delimiter is space For example Date lt space gt lt current date gt Time lt space gt lt current time gt Time sec lt space gt Angular_rate sec lt space gt Temperature ADC_ code 0 000000E 00 lt space gt 6 200000E 01 lt space gt 1 311000E 03 3 250000E 01 lt space gt 6 200000E 01 lt space gt 1 311000E 03 3 500000E 01 lt space gt 4 000000E 00 lt space gt 1 310000E 03 e Excel format file It s text file with delimiter of tab For example Date lt fab gt lt current date gt Time lt tab gt lt current time gt Time sec lt tab gt Angular_rate sec lt tab gt Temperature ADC_ code 0 000000E 00 lt tab gt 6 200000E 01 lt tab gt 1 311000E 03 3 250000E 01 lt tab gt 6 200000
60. uction is used i e alternate interrogation of current angular rate and temperature To start the performance of batch controlling press the button START to finish the performance of command s chains press the button STOP During the process of command s chain the modification of inner chip registers will be reflected in the Status of the chip For example the modification of CHAN register at switching of channels of source signal pickup is 0 angular rate 1 temperature If for some reason the register ERR equals 1 that conforms to condition when picked up signals are not authentic this condition will be displayed for the User in two fields in the EVB90609 Page 31 of 88 May 22 Rev 1 01 MelexIsS User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board chip Status and by changing the color of the index indicator to red for the value of the angular rate and or temperature Angular Rate START STOP Pic 18 ADC Page anomalous data EVB90609 Page 32 of 88 May 22 Rev 1 01 Melexis User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 9 5 DEMO Page The DEMO page looks like Time sd ngqutlar rate sec Temperature ADC code SETZER START STOF EEPROM MODE SFI Pic 19 DEMO Page This page contains 3 fields a page like an analog compass indicator an analog thermometer indicator and a table of read values the table contains the data abou
61. ute memory address of a data record is obtained by adding the address field in the record to the shifted address data from the extended linear address record The following example illustrates this process Address from the data record s address field 2462 Extended linear address record data field FFFEF Absolute memory address FFFF2462 14 4 Extended Segment Address Records HEX86 Extended segment address records also known as HEX86 records contain bits 4 19 of the data address segment The extended segment address record always has two data bytes and appears as follows 020000021200EA where 02 is the number of data bytes in the record 0000 is the address field For the extended segment address record this field is always 0000 02 is the record type 02 an extended segment address record 1200 is the segment of the address EVB90609 Page 84 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board EA is the checksum of the record and is calculated as 01h NOT O2h OOh OOh 02h 12h OOh When an extended segment address record is read the extended segment address stored in the data field is saved and is applied to subsequent records read from the Intel HEX file The segment address remains effective until changed by another extended address record The absolute memory address of a data record is obtained by adding the address field in the record to the shifted addr
62. vu 337 8 x x x Byte 70 77 Hex E OL Bit 3 MEMLOCK H7 UOUUUUUUU 0038 00 C7 38 3F 87 87 3F 78 a I pA Es e3 i 0040 3F 3F 7F 00 B8 B8 00 78 1 Byte 78 HFF 0048 78 78 CO 40 BF BF 3878 s x A i i B ERASE HEX ICOLLU E ERASE 0050 00 07 00 3F 00 38 38 00 I 88 WRITE 0058 3F 07 3F 07 38 07 00 40 1 181 0060 38 00 47 47 00004040 8 GG a ooe OF OF 7F 7F 00 404040 111 ee 0070 00 00 00 00 00 00 00 00 0078 00 00 00 00 00 00 00 00 Status ERRORPIN O SELFTEST PIN 5 0 ERR MLB ERRP ERRS SF1 SFO CHAN ADEN fofofofofpofofo fi ERASE ALL WRITE ALL READ 4 115200 8 N 1 Connect Normal mode 4 Pic 3 The main window of the EVB90609 software EVB90609 Page 11 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 4 System requirements The minimum requirements not guarantied by Melexis IBM PC or 100 percent compatible machine with 16 Mb RAM SVGA Video Adapter Hard Disk Drive 3 Mb free space with driver and documentation USB Port Mouse or Pointing Device Microsoft Windows 95 98 NT 2000 XP Ne SYS The recommended requirements 1 IBM PC or 100 percent compatible machine 1 GHz with 512 MB RAM 2 SVGA Video Adapter Screen resolution 1024 by 768 pixels Color quality Highest 32 bits Hard Disk Drive 3 Mb free space w
63. ystems EVB90609 Evaluation Board 12 3 Checksum The aim of a checksum is to detect errors This detection technique enables the receiver of a message transmitted through a noisy error introducing channel to determine whether the message has been corrupted or not To do this the transmitter constructs a value called a checksum that is a function of the message and appends it to the message The receiver can then use the same function to calculate the checksum of the received message and compare it with the appended checksum to see if the message was correctly received Description Here s a simple algorithm written in a pseudo high level and C language Calculating a checksum is just adding together all the bytes in the command getting the low byte inverting it and adding 1 After that the checksum will be appended to the command lt CS gt invert LlowByte xbyte 1 Example C command C669F2FCC checksum CC Pseudo high level code 1 Ox66 0x9F 0x2F 0x0134 2 LowByte 0x0134 0x34 3 Invert Ox34 OxCB 4 OxCB 0x01 CC And how result we have lt CS gt OxCC C code BYTE CS 0x66 0x9F 0x2F 0x01 EVB90609 Page 79 of 88 May 22 Rev 1 01 way User Manual Microelectronic Integrated Systems EVB90609 Evaluation Board 13 Schematic S POWER EST E 0O OO o 51 O O o e CS CS 5 n Wz oll lool o eoooooceo 00000000 CVESOBOS w 1 3 USB M elex 2000000000
Download Pdf Manuals
Related Search
Related Contents
scaricabile in rete - Agenzia nazionale per le nuove tecnologie, l Aspect Medical Systems A-2000 XP PLATFORM User manual Diagnostic system OBD Manual version 1.1 Eng FSP Proline 3/1 3/1 10K~30K Online UPS User Manual Rio Audio SP50 User's Manual sakai overview - Old STFC e-Science Centre and CSED Web Server GSW Electric Water Heate User's Manual HP PM300 Cyan ink User Manual Automatic Securing Device Copyright © All rights reserved.
Failed to retrieve file