AH-6120LR EB02 / AP-6110LR EB02 Operation manual (Evaluation Board for 6-Axis Motion Sensor and Analog Front End IC) Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Evaluation board/kit and Development tool important notice 1. This evaluation board/kit or development tool is designed for use for engineering evaluation, demonstration, or development purposes only. Do not use it for other purpose. It is not intended to meet the requirement of design for finished product. 2. This evaluation board/kit or development tool is intended for use by an electronics engineer, and it is not the product for consumer. The user should use this goods properly and safely. Seiko Epson dose not assume any responsibility and liability of any kind of damage and/or fire coursed by usage of it. User should cease to use it when any abnormal issue occurs even during proper and safe use. 3. The part used for this evaluation board/kit or development tool is changed without any notice. NOTICE No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such as, medical products. Moreover, no license to any intellectual property rights is granted by implication or otherwise, and there is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright infringement of a third party. This material or portions thereof may contain technology or the subject relating to strategic products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from the Ministry of Economy, Trade and Industry or other approval from another government agency. All brands or product names mentioned herein are trademarks and/or registered trademarks of their respective companies. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Contents Part 1 : Hardware section 1. Feature ............................................................................................................................................... 1 2. Block Diagram ..................................................................................................................................... 1 3. Hardware Information .......................................................................................................................... 2 4 3.1 Layout Information ......................................................................................................................... 2 3.1 Outside dimension ......................................................................................................................... 3 3.2 SW Function.................................................................................................................................. 4 3.3 Connector pin assignment ............................................................................................................. 4 3.4 Circuit drawing............................................................................................................................... 6 3.5 Parts List ....................................................................................................................................... 7 Typical Operation ................................................................................................................................ 8 4.1 Power Connection Settings ............................................................................................................ 8 4.2 Host Serial Interface Settings......................................................................................................... 8 4.3 Example Sequence ....................................................................................................................... 8 Part 2 : Interface section 1. 2. 3. 4. Outline................................................................................................................................................. 11 Feature................................................................................................................................................ 11 Block diagram......................................................................................................................................12 PKG Spec ...........................................................................................................................................13 4.1. QFP12-48PIN ...............................................................................................................................13 4.2. PKG Pin Layout(QFP12-48 Pin) ..........................................................................................13 5. Pin Map ...............................................................................................................................................14 5.1. Voltage Supply ..............................................................................................................................14 5.2. Sensor Connection Pin .................................................................................................................14 5.3. Control Pin ....................................................................................................................................15 5.4. Test pin .........................................................................................................................................15 6. Function ..............................................................................................................................................16 6.1. System Interface ...........................................................................................................................16 6.2. Measurement Circuit .....................................................................................................................19 6.3. ADC circuit....................................................................................................................................20 6.4. Digital filter ....................................................................................................................................20 6.5. Power supply and configration control option.................................................................................21 6.5.1. VDDA regulator ......................................................................................................................21 6.5.2. AGND regulator .....................................................................................................................21 6.5.3. VDDL regulator ......................................................................................................................21 6.6. Power supply and connection example options .............................................................................22 6.7. Reset circuit ..................................................................................................................................23 6.7.1. Power on and circuit initialization timing .................................................................................23 6.7.2. External reset control (XRES=H->L->H) ...............................................................................23 6.7.3. Software reset ........................................................................................................................24 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 7. Command............................................................................................................................................25 7.1. Command table.............................................................................................................................25 7.2. Parameter default table .................................................................................................................25 7.3. Command function ........................................................................................................................26 7.3.1. Measurement start (command: AFh parameter: NONE) ..........................................................26 7.3.2. Measurement stop (command: AEh parameter: NONE) ..........................................................26 7.3.3. REG_ON (command: BFh parameter: NONE) ........................................................................26 7.3.4. REG_OFF (command: BEh parameter: NONE) ......................................................................26 7.3.5. Measurement setting (command: CAh parameter: 3) ..............................................................27 7.3.6. Digital filter setting (command: CCh parameter: 1) ..................................................................29 7.3.7. Read data (command: 5-h Read Data: 2).............................................................................30 7.3.8. General port setting (command: D5h parameter: 1) ................................................................30 7.3.9. Software reset (command: 99h parameter: NONE) .................................................................30 7.3.10. NOP (command: 00h parameter: NONE) ............................................................................31 7.4. Power on sequence ......................................................................................................................31 8. Absolute maximum ratings...................................................................................................................32 9. Recommended operation conditions ....................................................................................................32 10. DC characteristics ...............................................................................................................................33 11. AC characteristics................................................................................................................................35 11.1. Oscillating frequency .................................................................................................................35 11.2. Serial interface ( default : DOUT hold mode ) .............................................................................36 11.3. Reset ........................................................................................................................................37 12. Package outer dimension ....................................................................................................................38 12.1. QFP12-48PIN............................................................................................................................38 13. Digital filter characteristics ...................................................................................................................39 14. Wiring example....................................................................................................................................40 15. The method of output code stabilization………………………………………………………………………...41 16. The method of analog output monitor…………………………………………………………………………...42 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Part 1 : Hardware section 1. Feature AH-6120LR EB02 or AP-6110LR EB02 is an evaluation board which carries motion sensor (AH-6120LR or AP-6110LR) and Analog Front End IC (S1A15001). It has SPI interface terminal to connect external microcontroller to evaluate as a motion sensor module with digital output and/or a motion sensor. I/F Signal terminal: XCS, SCLK, DOUT, DIN, DE Power supply: VDDI, VDD, VSS Sampling rate: 977 sps (clock frequency 2.0MHz.) It is possible to input clock externally 2.048MHz to achieve 1k samples per second. 2. Block Diagram AH 6120LR EB02 AP-6110LR EB02 S1A15001 (U2) VDD CN1 VDDI CN2 External Power VSS CN9 External Power VDDA CN3 VDDL CN4 External Power (VDD) Reset SW RESET Power Supply (RSW1) SG-8003CE Crystal Oscillator CLK (VDDI) (VSS) (U13) XCS, SCLK, DIN, DOUT, AH-6120LR or AP-6110LR Motion Sensor (U1) Pins CN10 Target Board DE, DIO CN11 / CN12 Signal monitor Fig. 2.1 Block Diagram Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 1 3. Hardware Information 3.1. Layout Information VDDL-IN VDDA_G-IN VSS-IN VDD-IN VDDI-IN VDDA-IN CN2 CN1 CN9_1 CN4 CN3 CN8 Power Supply I/F Terminal Pin CN12 CN10 Extension connector U1 U2 S1A15001 AH-6120LR or AP-6110LR CN5 U14 CN9_2 CN6 CN7 CN11 Extension connector U13 VSS-IN RSW 1 Crystal Oscillator SG-8003CE Extension connector CLK Pin Reset SW Fig. 3.1 Parts Layout (Surface) SW101 SW102 Fig. 3.2 Parts Layout (Back) External dimension: 45 x 35 mm Through-hole distance: 39 x 29 m Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 2 3.2. Outside dimension Fig. 3.3 Outside dimension (unit:mm) Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 3 3.3. SW Function Table 3.1 SW Function Location Function SW101 XEN18 VDDL regulator “L”: Enable “H”: Disable External Power XEN28 VDDA regulator “L”: Enable “H”: Disable External Power SW102 TEST1 Fixed: connect to “L”=VSS TEST2 Fixed: connect to “L”=VSS 3.4. Connector pin assignment Table 3.2 CN10 Connecter pin Assignment Pin No Name - DIO - DE Note General I/O port Non-measuring (Before measurement start command input) Enable I/F signal acceptance condition “H” is reset released. Under measuring flag. (start to stop) Enable ADC data read. “H” is data updated. - DIN - DOUT - SCLK - XCS Data input terminal Data output terminal All terminals disable when chip select is non-active All terminals disable when chip select is non-active Data transmitting clock input. Max:10MHz Chip select terminal “L”: active. It’s possible data/command input “H”: non active Table 3.3 CN11 Connecter pin Assignment Pin No Name 4 VOAX Accelerometer X monitor 5 VOAY Accelerometer Y monitor 6 VOAZ Accelerometer Z monitor Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Note 4 Table 3.4 CN12 Connecter pin Assignment Pin No Name Note 2N VREF_GY Gyro sensor Vref Y monitor P2 VOUT_GY Gyro sensor Vout Y monitor 1N VREF_GX Gyro sensor Vref X monitor P1 VOUT_GX Gyro sensor Vout X monitor P3 VOUT_GZ Gyro sensor Vout Z monitor N3 VREF_GZ Gyro sensor Vref Z monitor Table 3.5 CN5 Connecter pin Assignment Pin No Name Note - CLK Clock input(Please refer to Fig.3.1 Parts Layout(Surface)) - VSS GND Table 3.6 CN6 Connecter pin Assignment Pin No Name Note - ITRS Test pin - ITRS Test pin Table 3.7 CN7 Connecter pin Assignment Pin No Name 7 AIN7 Analog signal input 8 AIN8 Analog signal input - TSEN Test pin Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Note 5 3.5. Circuit drawing open Fig3.4 AH-6120LR EB02 / AP-6110LR EB02 Circuit Drawing Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 6 3.6. Parts List Table 3.8 AH-6120LR EB02 / AP-6110LR EB02 Parts List Location Parts Name Spec Number Manufacture Motion Sensor U1 AH-6120LR / AP-6110LR 1 Seiko Epson Analog front end IC U2 S1A15001 1 Seiko Epson Crystal Oscillator U13 SG-8003CE 1 Seiko Epson Universal Logic U14 SN74LVC1G34DCKR 1 Texas Instruments 1 Rohm 6 Rohm 6 KOA 1 Murata GRM188B11E104KA01D 0.1uF,25V+-10% 10 Murata Tip Resistance R11 Tip Resistance R1,R2,R3,R4,R5,R6 Tip Resistance R101,R103,R104, R107,R108,R109 Ceramic Capacitor C11 Ceramic Capacitor C12,C52,C62,C72A, C72B,C82,C101, C102,C103,C104 MCR03EZPJ103 10k ohm MCR03EZPJ303 30k ohm RK73Z1ETTP 0 ohm GRM188B11E103KA01D 0.01uF,25V+-10% Ceramic Capacitor C51,C61,C71,C81, C105 GRM21BB31A106KE18 10uF,10V+-10% 5 Murata Ceramic Capacitor C1,C2,C3,C4,C5,C6 , C7,C8,C9 GRM188B11H223KA01D 22nF 16V+-10% 9 Murata Switch SW101,102 CAS-D20TB2 2 Copal. Switch RSW1 SKRTLBE010 1 Alps Electric CN1,CN2,CN3,CN4, Connecter CN5,CN6,CN8, CN9_1,CN9_2 WL-1(2pin) 9 Mac8 Connecter CN7,CN11 WL-1(3pin) 2 Mac8 Connecter CN10,CN12 WL-1(6pin) 2 Mac8 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 7 4. Typical operation The operation of the EB02 board requires a compatible serial host interface connection through the appropriate pins on CN10. For full technical information on the interface please refer to the S1A15001 AFE IC Specification. The following is a brief description of the typical operation and sequence to enable sampling of the U1 6DoF Motion Sensor. Please adjust the settings and configuration to suit your specific application. 4.1. Power Connection Settings Connect the voltage supply to the EB02 board for system GND and voltage supply refer to Table 4.1. Table 4.1 Typical Power Connection Settings External EB02 Board XEN28 = LOW XEN18=LOW System GND System 3.3V VSS VDD and VDDI Comment Use internal regulator controlled by REG_ON/REG_OFF command Use internal regulator triggered by VDD power on VDDI is the interface voltage supply (from 1.65V to VDD). In this example, we assume the interface voltage is 3.3V 4.2. Host Serial Interface Settings For more detailed information please refer to Section 6.1 and Section 11.2 of the S1A15001 AFE IC Specification. 8-bit SPI interface Polarity = 0, Phase = 0 (SCLK is idle LOW, data capture on rising edge) Connection through I/F Pin Terminal or CN1 SCLK Frequency Max 10MHz 4.3. Example Sequence The example sequence will configure the S1A15001 AFE IC with the following settings: 3-axis Gyro AIN1, AIN2, AIN3 3-axis Accelerometer AIN4, AIN5, AIN6 Temp-Volt Sampling Rate = 2MHz/2048 = 977sps FIFO Setting = 1 Register/Channel Digital Filter = All channels 250Hz The following is description of a typical sequence and serial communication for obtaining sensor data using the EB02 board. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 8 1. The general sequence from power-on condition is to first issue a SOFTWARE RESET to place the S1A15001 U2 into a known state. 2. A short delay is required for reset recovery before any further commands are issued. a. The host should wait for atleast 3 CLK periods to guarantee 2 rising edge CLK cycle periods has taken place, or b. The host can sample the DE output pin for a “HIGH” state after issuing the SOFTWARE RESET command to determine when the reset is completed. 3. Send the MEASUREMENT SETTING to select which analog inputs will be enabled for sampling. a. For typical case, AIN1 ~ AIN6 is enabled for sampling of the 3-axis gyro and 3-axis accelerometer sensors, and Temp-Volt is enabled to sample the temperature. 4. Send the DIGITAL FILTER SETTING command to select the desired cutoff frequency of each analog input (250Hz, 125Hz or bypass). 5. Send the REG_ON which will turn on the internal voltage supply regulator for VDDA (which typical supplies power to the 6DoF sensor IC) 6. A minimum 500msec delay is required to allow the regulator supply to stabilize 7. Send the MEASUREMENT START to enable the internal sampling logic. The DE signal of that time goes LOW. 8. Wait for the DE signal to go HIGH. 9. Send READ DATA with the desired AINx channel in one CONTINUOUS DATA READ or individual READ DATA commands. This should be completed before the DE signal goes LOW. 10. To read another set of sensor data goto to step 8. 11. When sensor sampling is complete, send MEASUREMENT STOP to disable the internal sampling logic. 12. Send REG_OFF which will turn off the internal regulator supply VDDA to the 6DoF sensor. 13. Sequence Complete. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 9 System Power On No DE = HIGH? Software Reset, TXdata={0x99} RXdata={0x--} Delay 1uS or Wait for DE = HIGH Continuous Data Read TXdata={0x50,0x00,0x51,0x00,0x52, 0x00,0x53,0x00,0x54,0x00, 0x55,0x00,0x58,0x00,0x00} RXdata={0x--,Byte1,Byte0,Byte1,Byte0, Byte1,Byte0,Byte1,Byte0,Byte1,Byte0, Byte1,Byte0,Byte1,Byte0} Measurement Setting TXdata={0xCA, 0x13, 0x00} RXdata={0x--, 0x--} No Done? Digital Filter Setting TXdata={0xCC, 0x00,0x00} RXdata={0x--, 0x--, 0x--} Yes Measurement Stop TXdata={0xAE} RXdata={0x--} REG_ON TXdata={0xBF} RXdata={0x--} REG_OFF TXdata={0xBE} RXdata={0x--} Delay 500mS End Measurement Start TXdata={0xAF} RXdata={0x--} Fig. 4.1 Example Sequence Flow Diagram Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 10 Part 2 : Interface section 1. Outline This product offers an optimum AFE (Analog Front End)-IC for motion sensing that transfers analog signals from a multi axis sensor into a digital signal to a CPU. Analog signals from gyroscope and accelerometer will be converted to digital signal by an embedded 12-bit A/D converter. Gyroscope signals are measured with high accuracy by the Out-Vref differential voltage measurement and removal of common mode voltage on the x, y, z for each axis. The AFE IC provides a 1 chip solution for a high accuracy measurement circuit and reduce system component count for the addition of motion sensing function being easily added to an equipment. 2. Feature Embedded 8ch motion sensor measurement circuit (Gyro=3 channel , Accelerometer=3 channel) Gyro sensor input: Differential 3ch The Gyroscope signal is measured with high accuracy by Out-Vref differential voltage measurement. Available common “0 point voltage” of x, y, z each axis. Accelerometer input: Single input 3 channel Maximum input range: 0V to VDDA Embedded 12-bit SAR ADC ADC resolution: 12bits Sampling rate: 0.5~8kHz ( at CLK=2.048MHz ) Embedded digital filter: LPF (at sampling frequency fs = 1kHz) 250Hz, 125Hz, or bypass Embedded voltage regulator for sensor drive / analog circuit VDDA=3.0V (VDD>=3.2V) VDDL=1.8V Embedded Temperature voltage circuit Scale Factor 3.6mV/℃ System interface: SPI Voltage range: VDD-VSS = 3 to 3.6V (HISD:2.85 to 3.3V typ=3.0V) VDDA=2.85V to VDD VDDI=VDDL to VDD VDDL=1.65 to 1.95V Operating temperature range : -40 to +85°C Packaging style: PKG QFP12-48pin Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 9.00mm×9.00mm(body with pin) 11 3. Block diagram VDD VSS AIN1_P AIN1_N AIN2_N AIN3_P AIN4 VDDI CLK SCLK M Control Logic Digital Filter XCS DIN DOUT interface ADC 12bit U X AIN6 Circuit AIN5 VDDL System AIN3_N Measurement AIN2_P VDDA Voltage Circuit DE DIO1 TEST1 TEST2 AIN7 XEN18 AIN8 XEN28 Temp Voltage Fig 1 Block diagram Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 12 4. PKG Spec 4.1. QFP12-48PIN QFP12-48PIN 7.00mm×7.00mm(body) 、9.00mm×9.00mm(with Pin) 、PINpitch:0.5mm Top View 25PIN 36PIN 37PIN 24PIN 48PIN 13PIN 1PIN 12PIN Fig 2 PKG 4.2. PKG PIN Layou Pin Layout(QFP12-48 Pin) Table 1 PKG Pin Layout PIN No 1 2 3 4 5 6 7 8 9 10 11 12 Pin Name AIN8 TSEN NC VSS(A) NC VDDA VDD VSS CLK NC NC NC Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 PIN No 13 14 15 16 17 18 19 20 21 22 23 24 Pin Name XRES XCS SCLK VSS TEST2 TEST1 DOUT DIN DIO DE XEN28 NC PIN No 25 26 27 28 29 30 31 32 33 34 35 36 Pin Name NC XEN18 VDDI VSS(L) VDDL VDD VSS VSS(A) VDDA AIN2N AIN2P NC PIN No 37 38 39 40 41 42 43 44 45 46 47 48 Pin Name NC AIN1N AIN1P AIN3P AIN3N VSS(A) ITRS AIN6 AIN5 AIN4 AIN7 NC 13 5. Pin Map 5.1. Voltage Supply Table 2 Voltage Supply Number of pins Name I/O Connect to Note VDD Power External power Voltage supply Both of 2 VDD (Pin No.7,30) is not connected each in IC. VSS VSS(A) Power External power VDDA Power VDDL VDDI 2 Please connect supply each. Ground terminal Connect to 0V (GND) 7 Capacitor Sensor power / Analog circuit power 2 Power Capacitor Internal logic power 1 Power External power I/F power 1 5.2. Sensor Connection Pin Table 3 Sensor Connection I/O Connect to AIN1_P I G sensor Gyro sensor out 1 AIN1_N I G sensor Gyro sensor Vref out 1 AIN2_P I G sensor Gyro sensor out 1 AIN2_N I G sensor Gyro sensor Vref out 1 AIN3_P I G sensor Gyro sensor out 1 AIN3_N I G sensor Gyro sensor Vref out 1 AIN4 I A sensor Accelerometer out 1 AIN5 I A sensor Accelerometer out 1 AIN6 I A sensor Accelerometer out 1 AIN7 I sensor Sensor out 1 AIN8 I sensor Sensor out 1 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Note Number of pins Name 14 5.3. Control Pin Table 4 Control Pin Name I/O Connect to XCS I MPU Number of Note pins Chip select terminal 1 “L”: active. It’s possible data/command input “H”: non active DIN I MPU Data input terminal 1 All terminals disable when chip select is non-active DOUT O MPU Data output terminal 1 All terminals disable when chip select is non-active SCLK I MPU CLK I External Data transmitting clock input. Max:10MHz 1 Clock input. 2.048MHz 1 When sensor signal measurement is not active 1 clock DE O MPU (Before measurement start command input) I/F signal is ready condition “H” is reset released. When sensor signal measurement is active.(measurement start to stop) Indicates that sensor ADC data read is ready condition. “H” is data updated and ready. XRES I MPU System reset “L”: active “H”:non active 1 DIO I/O - General I/O port 1 XEN18 I - VDDL regulator 1 “L”: Enable(=VSS) “H”: Disable(=VDDI) XEN28 I - VDDA regulator 1 “L”: Enable(=VSS) “H”: Disable(=VDDI) 5.4. Test pin Table 5 test Pin Name I/O Connect to TEST1 I - Number of pins Note Test setting terminal 1 Fixed “L”=VSS TEST2 I - Test setting terminal 1 Fixed “L”=VSS ITRS O - Test terminal Left open No connection 1 TSEN O - Test terminal 1 Left open No connection Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 15 6. Function 6.1. System interface This IC communicates with the host MCU using a SPI serial bus interface. This serial interface consists of four lines (chip selection (XCS), serial clock (SCLK), serial data input (DIN), and serial data output (DOUT)). Data communication is enabled using an active LOW chip select (XCS="L"). The data transfer is done in eight bits. The host MCU inputs serial data sequentially and latched from MSB on the rising edge of the SCLK serial clock. It is recommended that the XCS signal be set "H" every eight bits to prevent the malfunction by the noise. (The internal serial counter is reset at the time the XCS signal is driven HIGH.) When D0 (or the 8th bit) is latched with the serial transfer clock SCLK, the byte is internally processed. Even if more data is driven on the serial interface than the required number of parameters defined by each command, it is invalid and ignored. ■Command Input The XCS chip select must be set "L" while transmitting 1 byte of serial data (1Packet). The XCS chip select must be set “L” when SCLK is “L”. It is necessary to keep XCS at “L” level while transmitting serial data (1packet). When set “H” at XCS during 1 packet transmitting , packet under transmitting is canceled. When “L” is set at XCS again, re-transmitting is enabled. XCS SCLK DIN C7 C6 C5 C4 C3 C2 C1 C0 P17 P16 P15 P14 P13 P12 P11 P10 P27 P26 P25 P24 P23 P22 P21 P20 2 4 3 Parameter2 Parameter1 Command When XCS chip select is set “H” in the middle of a 1 byte serial data (1 packet), the current packet is canceled. When the XCS chip select is set “L” again, re-transmitting is enabled. XCS SCLK DIN C7 C6 C5 C4 C3 C2 C1 C0 C7 C6 C5 C4 C3 C2 C1 C0 P17 P16 P15 P14 P13 P12 P11 P10 Command Parameter1 Invalid Command XCS SCLK DIN C7-C0 P17-P10 Invalid Parameter1 Invalid Packet Command Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 C7-C0 Command P17-P10 Parameter1 P27-P20 Parameter2 Re-transmitted Packet 16 ■Data Read Please follow the below sequence for “Measurement data reading”. XCS must be set “L” when SCLK is “L” and the XCS must be hold “L” until data read is complete. XCS must be set “H” after last bit is transmitted. XCS SCLK DIN C7 C6 C5 C4 C3 C2 C1 C0 DOUT * * * * D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Read DATA Read Command When XCS is set “H” during read data transmitting, the read condition is canceled. Set XCS “L” again, issue another command. Read condition is canceled. It is nessesary to re-issue the read command again. again. XCS SCLK C7-C0 C7-C0 DIN D11-D8 DOUT Read Command D7-D0 D11-D8 Read DATA Read Command Read DATA Continuous Data Read XCS SCLK Read AIN1 DIN DOUT NOP Read AIN 2 D7-0 D11-8 AIN1 data NOP Read AIN 3 D7-0 D11-8 AIN2 data NOP Read AIN 4 D7-0 D11-8 AIN3 data NOP Read AIN 5 D7-0 D11-8 AIN4 data NOP Read AIN 6 D7-0 D11-8 AIN5 data NOP NOP D7-0 D11-8 AIN6 data When a channel data read command is input during the expected NOP period, the command is invalid and ignored. Invalid command XCS SCLK DIN DOUT Read AIN1 Read AIN2 D11-8 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Read AIN2 D7-0 AIN1 data NOP Read AIN3 D7-0 D11-8 AIN2 data NOP Read AIN4 D7-0 D11-8 AIN3 data NOP D7-0 D11-8 AIN4 data 17 Data Read (FIFO 4register/ch setting) It has the FIFO function(max:28registers) XCS SCLK DIN DOUT Read NOP AIN1 NOP D11-0 AIN1_1 NOP NOP Read NOP AIN2 D11-0 D11-0 D11-0 AIN1_2 AIN1_3 AIN1_4 Invalid Command Period Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 NOP NOP D11-0 D11-0 AIN2_1 AIN2_2 NOP Read AIN3 NOP NOP NOP NOP NOP D11-0 D11-0 D11-0 D11-0 D11-0 D11-0 AIN2_3 AIN2_4 AIN3_1 AIN3_2 AIN3_3 AIN3_4 Invalid Command Period Invalid Command Period 18 6.2. Measurement Circuit The measurement circuit of gyro sensor signal is output to ADC by mixed voltage with combined Out-Vref differential voltage and AGND (standard voltage). AGND=1/2xVDDA Gyro sensor AIN1_P Vref AIN1_N Out AIN2_P Vref AIN2_N MUX X Out ADC Y AIN3_P Vref MUX Out Z AGND AIN3_N Fig 3 sensor - SC-Amp connection Measurement timing 1msec (1kHz) Meas. 計測 DE Meas Meas. Meas. Data trans Data trans Impossible Possible AIN1 AIN2 Measurement timing (As using FIFO AIN3 AIN4 Meas. AIN5 AIN6 4Register/ch setting) 1msec (1kHz) Meas Meas DE Meas Meas Meas Meas Data trans Impossible Data trans Possible Meas CH AIN1 AIN2 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 AIN3 AIN4 AIN5 AIN6 19 6.3. ADC circuit Successive approximation type 12bitADC is embedded. 9ch multi input compliant. Measurement channel sequence is AIN1→AIN2→AIN3→AIN4→AIN5→AIN6→AIN7→AIN8→Temp-Volt. If measurement channel is disabled (command: CAh) the channel is skipped. 6.4. Digital filter Internal digital filter. Separate cut off frequency setting is available for channel AIN1-3,AIN4-6,AIN7,AIN8,and Temp-Volt. Cut off frequency is selectable 250Hz, 125Hz, bypass. (Sampling frequency fs=1 kHz) Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 20 6.5. Power supply and configration control option Embedded 3 voltage regulators as below. VDDA: Supply 3.0V for measurement circuit and sensors. AGND: Supply standard voltage (VDDA/2) for measurement circuit. VDDL: Supply 1.8V for internal logic. 6.5.1.VDDA regulator Operated by control terminal (XEN28) and command. XEN28=”L”: Using internal regulator ON/OFF controlled by command. XEN28=”H”: Using externally supplied VDDA Control is not possible by command. Output is fixed 3.0V+/-10mV by before shipment from plant. 6.5.2.AGND regulator ON/OFF controlled by command. VDDA/2 is out on AGND. 6.5.3.VDDL regulator Operated by control terminal (XEN18). XEN18=”L”: Using Internal regulator. Regulator is triggered by VDD power on. XEN18=”H”: Using externally supplied voltage regulator. VDD=3.2 to 3.6V VDDA=3.0V±10mV VDDI=1.65 to 3.6V From system To sensors From system VDDL=1.8V AGND=VDDA/2 Meas. ADC 12bit Logic System I/F VSS=0V From system Fig4 Power supply block diagram Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 21 6.6. Power supply and connection example options (1) Single power input XEN18=”L”、XEN28=”L” I/F power with MCU: Externally supplied. Analog power: VDDA control from internal regulator. Internal logic power: VDDL control from internal regulator. XEN28 XEN18I 3.2V to 3.6V VDD VDDA VDDL VDDI VSS 1.65V to VDD VSS VSS (2) Dual power input XEN18=”H”、XEN28=”L” I/F power with MCU: Externally supplied with VDDI=VDDL. Analog power: VDDA control from internal regulator. Internal logic power: Externally supplied with VDDL=VDDI.Internal regulator is disabled. VDDI XEN28 XEN18I 3.2V to 3.6V VDD VDDA VDDL VDDI 1.65V to 1.95V VSS VSS (3) Single power input XEN18=”L”、XEN28=”H” I/F power with MCU: Externally supplied. Analog power: Externally supplied with VDDA=VDD.Internal regulator is disabled. Internal logic power: VDDL control from internal regulator. VDDI XEN28 XEN18I 3.0V to 3.6V VDD VDDA VDDL VDDI VSS 1.65V to VDD VSS (4) Dual power input XEN18=”H”、XEN28=”H” I/F power with MCU: Externally supplied with VDDI=VDDL. Analog power: Externally supplied with VDDA=VDD.Internal regulator is disabled. Internal logic power: Externally supplied with VDDL=VDDI.Internal regulator is disabled. VDDI XEN28 XEN18I Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 VDD VDDA VDDL VDDI 3.0V to 3.6V 1.65V to 1.95V 22 6.7. Reset circuit Digital circuit is reset by “Power on reset”,”External in: XRES”, or “Software reset command”. Initialization by asserting XRES during power on is recommended. After reset by XRES, each terminal should be under normal control. Pulse width of reset “L” must be longer than 20nsec. Initialization reset timing is shown by below for “Power on reset”,”External in: XRES”, “Software reset command”. 6.7.1. Power on and circuit initialization timing Power on reset Power on signal is generated by monitoring the internal logic power supply VDDL. Power on reset timing VDDL Internal Reset signal DE Reset length Reset released 6.7.2. External reset control (XRES=H->L->H) Manual asynchronous hardware reset available by a level sensitive external XRES input pin (no relation with clock. External reset timing XRES Internal Reset signal DE Reset length Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Reset released 23 6.7.3. Software reset The software reset by command interface is available. The reset length is from the software reset command input (the 8th SCLK) to rising edge of (the 2nd CLK). During this reset period, any command input from the serial interface is not accessible. Soft reset timing the 8th SCLK rising edge of the 2nd CLK XCS SCLK CLK DIN Command (99h) Internal Reset signal DE Reset length Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Reset released 24 7. Command There are two types of command. 1): Multi byte command with parameters. 2): 1 byte command without parameters. The interpretation and execution of command is done without external clock. The command and the parameter are defined by one bytes lengths (eight bits). Do not use other command codes that are not on the command table as below. 7.1. Command table No. Command code (Hex) Command name Instruction length (Byte) Command Execution timing immediately after command issue immediately after command issue immediately after command issue immediately after command issue Function 1 Start measurement AF 1 2 Stop measurement AE 1 3 REG_ON BF 1 4 REG_OFF BE 1 5 Measurement setting CA 3 Measuring time Measurement setting 6 Digital filter setting CC 3 Measuring time Digital filter setting 7 Read data 5‐ 1 8 General port setting D5 2 9 Software reset 99 1 10 NOP 00 1 immediately after command issue immediately after command issue immediately after command issue Start measurement Stop measurement Internal regulator(VDDA)on Internal regulator(VDDA)off Read data General port setting Software reset Command that does no operation ― 7.2. Parameter default table No. Command 5 Measurement setting 6 Digital filter setting 8 General port Parameter P1 P2 P1 P2 P1 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Code (bin) D7 1 * 0 * * D6 1 * 0 * * D5 1 0 0 * * D4 0 0 0 * * D3 0 0 0 * * Hex D2 0 0 0 * * D1 0 0 0 0 * D0 0 0 0 0 0 E0 00 00 00 00 Default condition No measure channel 1kHz Sampling Digital filter 250Hz Digital filter 250Hz General port “L”out 25 7.3. Command function 7.3.1. Measurement start (command: AFh parameter: NONE) D7 1 D6 0 D5 1 D4 0 D3 1 D2 1 D1 1 D0 1 Hex AF Function Command measurement start Begins measuring the sensor signal based on the measurement settings command and digital filter settings. The REG_ON command should be issued before issuing the measurement start command. 7,3,2, Measurement stop (command: AEh parameter: NONE) D7 1 D6 0 D5 1 D4 0 D3 1 D2 1 D1 1 D0 0 Hex AE Function Command measurement stop Stops the sensor signal measurement. The measurement is stopped immediately after the command is accepted. 7.3.3. REG_ON (command: BFh parameter: NONE) D7 1 D6 0 D5 1 D4 1 D3 1 D2 1 D1 1 D0 1 Hex BF Function Command regulator activation The internal power supply (VDDA, AGND) is started. A delay of 500 msec or more is recommended after entering the REG_ON command for the power supply circuits to stabilize before issuing a measurement start command. In case of XEN28 ="H” (VDDA is externally supplied), only the AGND of the internal power supply is started by the REG_ON command. 7.3.4. REG_OFF (command: BEh parameter: NONE) D7 1 D6 0 D5 1 D4 1 D3 1 D2 1 D1 1 D0 0 Hex BE Function Command regulator stop The internal power supply (VDDA, AGND) is stopped. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 26 7.3.5. Measurement setting (command: CAh parameter: 2) D7 1 P17 P27 D6 1 P16 P26 D5 0 P15 P25 D4 0 P14 P24 D3 1 P13 P23 D2 0 P12 P22 D1 1 P11 P21 D0 0 P10 P20 Hex CA - - Function Command measurement channel setting Parameter 1 measurement channel set Parameter 2 measurement timing set Parameter 1 measurement channel set “1”: Measurement “0”: Non measurement P10: AIN1, AIN2, AIN3 (Gyro sensor) P11: AIN4, AIN5, AIN6 (Accelerometer) P12:AIN7 P13:AIN8 P14:Temp-Volt Measurement circuit set “1”:Buff input “0”:ADC direct input P15:AIN7 P16:AIN8 P17:Temp-Volt Please setting P15-17 when use Buff. Set value AIN7 use Buff AIN7,AIN8 use Buff AIN7,AIN8,Temp-Volt use Buff AIN7,AIN8,Temp-Volt no use Buff P15 1 1 1 0 P16 0 1 1 0 P17 0 0 1 0 Parameter 2 measurement Sampling timing set The measurement cycle (sampling rate) is decided by external clock (CLK) . P22-20:measurement cycle set P22 P21 P20 Set valu 0 0 0 CLK Clock frequency /2048(Hz) 0 0 1 CLK Clock frequency /1024(Hz) 0 1 0 CLK Clock frequency /4096(Hz) 0 1 1 CLK Clock frequency /512(Hz) 1 0 0 CLK Clock frequency /256(Hz) The setting not described is prohibited. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Reference value CLK=2048KHz 1ksps 2ksps 500sps 4ksps 8ksps 27 P25-23 :FIFO Data Register set(Number of registers for each CH) FIFO has 28 register max. Therefore, when AIN1-7 is measured, the maximum supported is four registers/CH P22-20=[010] . P25 0 0 0 0 1 1 1 1 P24 0 0 1 1 0 0 1 1 P23 0 1 0 1 0 1 0 1 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Set value 1 registers/CH 2 registers/CH 4 registers/CH 6 registers/CH 8 registers/CH 10 registers/CH 12 registers/CH 16 registers/CH 28 7.3.6. Digital filter setting (command: CCh parameter: 2) D7 1 P17 * D6 1 P16 * D5 0 P15 * D4 0 P14 * D3 1 P13 * D2 1 P12 * D1 0 P11 P21 D0 0 P10 P20 Hex CC - Function Command digital filter setting Parameter 1 cut off frequency set Parameter 2 cut off frequency set Internal digital filter is set. The digital filter setting command is only valid while the measurement is stopped and the digital filter setting command is ignored if sent while measurement is already started. When changing the digital filter setting is required after measurement has started, issue the measurement stop command and input of the new digital filter setting command and the parameters is needed. P11 P13 P15 P17 P21 0 0 1 1 P10 P12 P14 P16 P20 0 1 0 1 Cut off frequency 250Hz 125Hz Setting prohibited Through P11, P10:AIN1 to 3 (Gyro sensor) input digital filter P13, P12:AIN4 to 6 (Accelerometer) input digital filter P15,P14 :AIN7 input digital filter P17,P16 :AIN8 input digital filter P21,P20 :Temp-Volt input digital filter Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 29 7.3.7. Read data (command: 5-h Read Data: 2) D7 0 0 D7 D6 D5 D4 D3 D2 1 0 1 P13 P12 0 0 0 D11 D10 D6 D5 D4 D3 D2 D7-D4: read command P13-P10: read channel setting P13 P12 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 D1 P11 D9 D1 D0 P10 D8 D0 P11 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 Hex 5- - - Function Command read data Read Data 1 upper 4bit Read Data 2 lower 8bit P10 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Selected channel AIN1 AIN2 AIN3 AIN4 AIN5 AIN6 AIN7 AIN8 Temp-Volt Setting prohibited Setting prohibited Setting prohibited Setting prohibited Setting prohibited Setting prohibited Setting prohibited Read data 0x00 is output for the below cases. 1) When specifying a AIN* channel that is not enabled by the measurement setting command. 2) When specifying and invalid AIN* channel setting parameter. 7.3.8. General port setting (command: D5h parameter: 1) D7 1 * D6 1 * D5 0 * D4 1 * D3 0 * D2 1 * D1 0 * D0 1 P0 Hex D5 - Function Command general port setting Parameter DIO data set P0: set output value of general DIO. P0=1: out”H” level. P0=0: out”L” level. 7.3.9. Software reset (command: 99h parameter: NONE) D7 1 D6 0 D5 0 D4 1 D3 1 D2 0 D1 0 D0 1 Hex 99 Function Command Software reset The software reset has similar effects to a hard reset. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 30 7.3.10. NOP (command: 00h parameter: NONE) D7 0 D6 0 D5 0 D4 0 D3 0 D2 0 D1 0 D0 0 Hex 00h Function Command Non Operation The command for “No Operation” has no effect on chip operation. Power on sequence System power Command from system on Measurement setting Digital filter setting REG_ON 500msec wait Start measurement Data reading Data transfer corresponding to DE signal. Stop measurement REG_OFF System power off Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 31 8. Absolute maximum ratings Table 6 absolute maximum ratings item code rating unit Supply voltage(1) VDD -0.3 to 5.5 Supply voltage(2) VDDA -0.3 to 5.5 Supply voltage(3) VDDL -0.3 to 2.5 Supply voltage(4) VDDI -0.3 to 5.5 Supply voltage(5) VSS 0.0 Logic input voltage VLIN -0.3 to VDD + 0.3 V VLOUT -0.3 to VDD + 0.3 V Logic output voltage Operating temperature Storage temperature ToPN -40 to 85 Tstg -55 to 125 V °C Note *1: All standard voltage is VSS = 0 V without notice. *2: Based electric potential is VSS. *3: When using over the range of stated above, IC might be destroyed. In additon it might influence the reliability of the IC if it uses it for a long time in the state of the absolute maximum rating. *4: Please supply the voltage to become VDD>VDDA. 9. Recommended operation conditions Table 7 recommended conditions (VDDI≠VDDL, VDDL: using internal regulator) Operating item code voltage Supply voltage(1) VDD 3.0 to 3.6 Supply voltage(2) VDDA 2.85 to VDD Supply voltage(3) VDDL 1.65 to 1.95 Supply voltage(4) VDDI 1.65 to VDD Supply voltage(5) VSS 0.0 unit V Table 8 recommended conditions (VDDI=VDDL, VDDL: using external input) Operating item code voltage Supply voltage(1) VDD 3.0 to 3.6 Supply voltage(2) VDDA 2.85 to VDD Supply voltage(3) VDDL 1.65 to 1.95 Supply voltage(4) VDDI 1.65 to 1.95 Supply voltage(5) VSS 0.0 unit V Note *1: The operation of IC is guaranteed within the range of recommended operation condition. *2: Please insert the bypass capacitor for the noise reduction near the power supply terminal. *3: Operation is not guaranteed if operative with a rapid supply voltage change. *4: Please supply the voltage such that VDD>=VDDA and VDD>=VDDI>=VDDL. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 32 10. DC characteristics Table 9 DC characteristics VSS = 0 V, VDDI = 1.65 to 3.6V, VDDL = 1.65 to 1.95V, VDD = 3.0 to 3.6 V, Ta = -40 to 85ºC item code “L”input voltage VIL “H”input voltage VIH Input leakage current ILI conditions rating Min. Typ. Max. unit terminal V Logic input Logic input VSS - 0.2 × VDDI 0.8 × VDDI - VDDI VIN = VDDI or VSS -2.0 - 2.0 μA ILA VDDA=3.6V VIN=VDDA or VSS -4.8 - 4.8 μA Output leakage current ILo VIN = VDDI or VSS -2.0 - 2.0 μA Logic input In/out leakage current ILIO VIN = VDDI or VSS -2.0 - 2.0 μA Logic input CIN Ta = 25 °C, f=1 MHz - - 25 pF VOL VDD = 1.8 V VSS - VSS + 0.3 “H”out voltage VOH IOL = 0.06 mA IOH = -0.06 mA VDDI - 0.3 - VDDI Static current IDDIQ - - consumption IDDLQ VDDI = VDDL = 1.8 V - IDDAQ VDD =VDDA= 3.0 V Analog leakage current Input capacitance “L”out voltage - IDDQ Active current consumption 1 VDDI = 1.8 V VDD = 3.3 V IDDI IDD VDDA,VDDL using Internal Regulater CLK=2MHz 7ch measurement 976.6sps Active current consumption 2 Analog input Logic input Analog input V Logic in/out-put 5.0 μA VDDI - 20.0 μA VDDL - - 5.0 μA VDDA - - 5.0 μA VDD - - 10 μA VDDI - 202 *1 300 μA VDD - 41 *1 60 μA VDDA - 105 *1 150 μA VDDL VDDI = 1.8 V IDDA VDD = 3.3 V Externally supplied with VDDA,VDDL VDDA=3.0V VDDL=1.8V IDDL CLK=2MHz 7ch measurement 976.6sps *1 Ta=25 ºC Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 33 ADC Table 10 ADC characteristics VSS = 0 V, VDDI = 1.65 to 3.6V, VDDL = 1.65 to 1.95V, VDD = 3.0 to 3.6 V, Ta = -40 to 85 ºC item Integral nonlinearity Differential nonlinearity Full scale error Zero scale error code INL DNL FSE ZSE conditions CLK=2.048MHz CLK=2.048MHz CLK=2.048MHz CLK=2.048MHz rating Min. Typ. -3 -3 -8.0 -8.0 unit Max. 3 3 8.0 8.0 LSB LSB mV mV Internal Regulater circuit Table 11 Constant voltage circuit characteristics VSS = 0 V, VDDI = 1.65 to 3.6V, VDDL = 1.65 to 1.95V, VDD = 3.2 to 3.6 V, Ta = -40 to 85 ºC item Output voltage (VDDL) Output voltage (VDDA) code VDDL VDDA conditions Ta=25 ºC、 VDD=3.3V rating Min. 1.7 2.990 Typ. 1.8 3.0 Max. unit 1.9 3.010 V V Temp-Voltage Circuit Table 12 Constant voltage circuit characteristics VSS = 0 V, VDDI = 1.65 to 3.6V, VDDL = 1.65 to 1.95V, VDD = 3.0 to 3.6 V, Ta = -40 to 85 ºC item code Output voltage Vtemp Scale Factor dVtemp Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 conditions Ta=25℃ VDDA=3.0V VDDA=3.0V rating Min. Typ. Max. unit 1393 1477 1589 Code 4.084 4. 800 5.515 code/℃ 34 11.AC characteristics 11.1. Oscillating frequency The external clock input frequency timing requirements are described below for the CLK pin terminal. tCYC, CLK tCHW Fig 5 external clock in Table 13 External clock in characteristics VSS = 0 V, VDDI = 1.65 to 3.6V, VDDL = 1.65 to 1.95V, VDD = 3.0 to 3.6 V, Ta = -40 to 85 ºC item External clock input frequency External clock input period CLK duty code conditions 1/tCYC tCYC tCD tCHW /tCYC rating unit Min. Typ. Max. - - 2.048 MHz 0.488 40 - - - 60 usec % *1: All timing is provided for based on 20% and 80% of VDD. *2: rise time (tr) and fall time (tf) is defined max.10 ns. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 35 11.2. Serial interface ( default : DOUT hold mode ) tCSH tCSS XCS tSCYC, SCLK tSCLW tSDS tSCHW tSDH DIN, tOH1 tACC tOH2 DOUT, Fig 6 serial interface Table 14 serial interface characteristics VSS = 0 V, VDDI = 1.65 to 3.6V, VDDL = 1.65 to 1.95V, VDD = 3.0 to 3.6 V, Ta = -40 to 85 ºC item code conditions Min. Max. tSCYC - 100 - SCLK low level pulse width tSCLW - 40 - SCLK high level pulse width tSCHW - 40 - XCS set up time tCSS - 30 tSCCL XCS hold time tCSH - 30 tSCCL Data set up time tSDS - 10 - Data hold time tSDH - 10 - Data out access time tACC CL = 30 pF - 30 Data out hold time 1 tOH1 - 10 - Data out hold time 2 tOH2 - 10 - SCLK period unit ns *1: All timing is provided for based on 20% and 80% of VDD. *2: rise time (tr) and fall time (tf) is defined max.10 ns. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 36 11.3. Reset tRW XRES tR Resetting Internal condition Reset completed Fig 7 Reset Table 15 reset characteristics VSS = 0 V, VDDI = 1.65 to 3.6V, VDDL = 1.65 to 1.95V, VDD = 3.0 to 3.6 V, Ta = -40 to 85 ºC item code conditions tR Reset low level pulse width tRW Reset time Min. Max. - - 1 - 20 - unit μs *1: All timing is provided for based on 20% and 80% of VDD. *2: rise time (tr) and fall time (tf) is defined max.10 ns. *3: When the power supply is turned on, the terminal XRES is recommended to be fixed at the “L" level. *4: This condition is valid when resetting under stable power supply condition. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 37 12. Package outer dimension 12.1.QFP12-48PIN Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 38 13. Digital filter characteristics ■Cut off frequency fc=250Hz, sampling frequency fs=1 kHz Amplitude characteristic Delay characteristic LPF (全帯域) fc=250Hz, fs=1kHz LPF (全帯域) fc=250Hz, fs=1kHz 0 10 9 -20 8 7 gd [sample] gain [dB] -40 -60 -80 6 5 4 3 2 -100 1 -120 0 0.1 1 10 f [Hz] 100 1000 0.1 1 10 f [Hz] ■Cut off frequency fc=125Hz, sampling frequency fs=1 kHz Amplitude characteristic Delay characteristic LPF (全帯域) fc=125Hz, fs=1kHz LPF (全帯域) fc=125Hz, fs=1kHz 100 1000 100 1000 10 20 9 0 8 7 gd [sample] gain [dB] -20 -40 -60 6 5 4 3 -80 2 -100 1 0 -120 0.1 1 10 f [Hz] Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 100 1000 0.1 1 10 f [Hz] 39 14. Wiring example NC AIN2P AIN2N VDDA VSS VSS VDD VDDL VSS VDDI XEN18 NC GND_G EN_Acc Vout_AX Vout_AY Vout_AZ GND_Ac c NC AH6120LR or AP6110LR Vout_GZ Vdd _Ac c Vdd_G X Vref_GX Vout_GX GND_G Z Vdd_G Z Vref_GZ TP NC GND_G X NC AIN1N AIN1P AIN3P AIN3N VSS ITRS AIN6 AIN5 AIN4 AIN7 NC AFE-IC NC XEN28 DE DIO DIN DOUT TEST1 TEST2 VSS SCLK XCS XRES AIN8 TSEN NC VSS NC VDDA VDD VSS CLK NC NC NC Vout_GY Vref_GY Vdd_G Y NC To system 2.048MHz Measurement signal input Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 40 15. The method of output code stabilization We introduce the contents of evaluation checked at our company to the stabilization method of output code. 1) It adds 47uF between AVDD(CN3) and VSS(CN9-2) 2) Measurement system 3) Measurement results Gx Gy Gz Ax 2.413 2.398 2.357 4.187 Without capacitor With capacitor(47uF) 0.517 0.491 0.485 1.182 The code is stable by adding a capacitor between AVDD and VSS. Standard deviation Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 Ay 4.150 1.142 Az 4.562 1.131 41 16.The method of analog output monitor (1)How to monitor an analog output using a power supply with built-in AFE The Gyro output can check CN12 pin and an acceleration output from CN11 pin, respectively. When you don’t remove R1-6 and R107-109 which constitute the passive filter connected to the sensor output, please take into consideration the influence of capacitance C1-9 (20nF). If you would like to avoid the influence of the passive component part which constitutes the passive filter, please remove R1-6 and R107-109. CN4(VDDL) CN3(VDDA) CN1(VDD) CN2(VDDI) CN9_1(VSS) open 3.2V 0V CN10(DIO) open (DE) (DIN) (DOUT) (SCLK) (XCS) SW101 control XEN18=L XEN28=L SW102 control TEST1=L TEST2=L Connected to system (VDDA starting command issue) (2)How to monitor an analog output using external power supply The Gyro output can check CN12 pin and an acceleration output from CN11 pin, respectively. When using an external power supply, it is necessary to change the parts on a substrate. About the step to change the parts on a substrate. ・The 0Ω resistance of R101 is removed, and 0Ω resistance is connected to R102. (By this step, the power supply can be supplied from CN8 pin.) ・When you avoid the influence of the passive component part which constitutes the passive filter connected to the sensor output, please remove resistance of R1-6 and R107-109. Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 CN8(VDDA) CN4(VDDL) CN3(VDDA) CN1(VDD) CN2(VDDI) CN9_1,2(VSS) open CN10(DIO) (DE) (DIN) (DOUT) (SCLK) (XCS) open 3V 0V SW101 Control XEN18=L XEN28=L SW102 Control TEST1=L TEST2=L 42 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 43 17.Contact America Epson Electronics America, Inc. 214 Devcon Drive, San Jose, CA 95112, USA Phone: +1-800-228-3964 FAX: +1-408-922-0238 Europe Epson Europe Electronics GmbH Riesstrasse 15, 80992 Munich, GERMANY Phone: +49-89-14005-0 FAX: +49-89-14005-110 Asia Epson (China) Co., Ltd. 7F, Jinbao Bldg., No.89 Jinbao Street Dongcheng District, Beijing, China, 100005 Phone: +86-10-8522-1199 FAX: +86-10-8522-1120 Shanghai Branch High-Tech Building, 900 Yishan Road, Shanghai 200233, China Phone: +86-21-5423-5577 FAX: +86-21-5423-4677 Shenzhen Branch 12/F, Dawning Mansion, #12 Keji South Road, Hi-Tech Park, Shenzhen, China Phone: +86-755-2699-3828 FAX: +86-755-2699-3838 Epson Hong Kong Ltd. Unit 715-723 7/F, Trade Square, 681 Cheung Sha Wan Road, Kowloon, Hong Kong Phone: +852-2585-4600 FAX: +852-2827-2152 Epson Taiwan Technology & Trading Ltd. 14F, No. 7, Song Ren Road, Taipei 110, TAIWAN Phone: +886-2-8786-6688 FAX: +886-2-8786-6660 Epson Singapore Pte., Ltd. No 1 HarbourFront Place, #03-02 HarbourFront Tower One, Singapore 098633 Phone: +65-6586-5500 FAX: +65-6271-3182 Seiko Epson Corp. Korea Office 5F (63Bldg.,Yoido-dong) 50, 63-ro, Yeongdeungpo-gu, Seoul, 150-763, Korea Phone: +82-2-784-6027 FAX: +82-2-767-3677 Seiko Epson Corporation Document No.: EB02_ME_Ver.1.02 Date: Jun. 17. 2013 44