Chip Scle Pckged Fully Integrted Therml Accelerometer MXC622xXC Rev,A 8/19/2011 Pge 1 of 13
Fetures Generl Description Fully Integrted Therml Accelerometer X/Y Axis, 8 bit, Accelertion A/D Output (± 2g) Chip Scle Pckge (1.17x1.70x1.0mm) 4-position Orienttion Detection Shke Detection with Interrupt Progrmmble Shke Threshold Shke Direction Detection I 2 C Interfce Power Down Mode Shock Survivl Greter thn 50,000 g Operting Supply Voltge from 2.5V to 5.5V Produces no Mechnicl Sounds ("click") The MEMSIC Digitl Therml Orienttion Sensor is the world's first fully-integrted orienttion sensor lso with chip scle pckge, it is the world smllest ccelerometer. Its opertion is bsed on our ptented MEMS-therml technology nd is built using stndrd 0.18um CMOS process. This sensor contins no moving prts (such s bll) nd thus elimintes field-relibility nd repetbility issues ssocited with competitive products. It lso elimintes the "click" sounds typiclly herd in bll bsed orienttion sensors. Shock survivl is greter thn 50,000g. This sensor detects four orienttion positions, shke nd shke direction. In ddition, it provides X/Y xis ccelertion signls with very low 0g offset. An I 2 C interfce is used to communicte with this device nd n interrupt pin (INT) is provided for shke nd orienttion. The device lso hs power down enbled through the I 2 C interfce. Applictions Functionl Block Digrm Consumer: Cell Phones Digitl Still Cmers (DSC) Digitl Video Cmers (DVC) LCD TV Toys MP3, MP4 Plyers Household Sfety: Fn Heters Hlogen Lmps Iron Cooling Fns Figure 1 This sensor is pckged in Chip Scle Pckge (1.17x1.70x1.0mm), the product is RoHS comptible nd opertes over -20~70 temperture rnge. Rev,A 8/19/2011 Pge 2 of 13
Pin Description: CSP Pckge Pin Nme Description X+ 1 I 2 C SCL This pin is the seril clock line for the I 2 C interfce on the MXC622XXC. Since the MXC622XXC only opertes s slve device, this pin is lwys n input. 2 NC During norml opertion, this pin should be left floting. Y- Figure 2 Top View (smll circle indicte pin 1) 3 GND This is the ground pin for the MXC622xXC. 4 INT This pin is the MXC622xXC interrupt output. The logic level on this pin reflects the stte of the INT bit in the STATUS register. INT is set when the orienttion differs from the lst orienttion red by the processor, or shke event is detected. INT is clered upon the red of the STATUS register. 5 I 2 C SDA This pin is the seril dt line for the I 2 C interfce on the MXC622xXC. It is n I/O pin tht functions s n input during write to the MXC622xXC, nd n output during red from the MXC622xXC. 6 VDD This is the power supply input for the MXC622xXC. The DC voltge should be between 2.5 nd 5.5 volts. Absolute Mximum Rtings* Supply Voltge (V DD )...-0.5 V to +7.0V Storge Temperture..-40 C to +150 C Accelertion..50,000 g *Stresses bove those listed under Absolute Mximum Rtings my cuse permnent dmge to the device. This is stress rting only; the functionl opertion of the device t these or ny other conditions bove those indicted in the opertionl sections of this specifiction is not implied. Exposure to bsolute mximum rting conditions for extended periods my ffect device relibility. Electricl Specifictions 1 Prmeter (Units) Conditions Minimum Typicl Mximum Figure 3 Side View Operting Voltge Rnge (V) 2.5 5.5 In power-up mode 1.0 Supply Current (ma) In power-down mode 0.0004 0.001 Turn-On Time (ms) 2 300 500 Turn-off Time (us) 1 Operting Temperture Rnge ( ) -20 +70 e t o VDD Rise Time (ms) 3 10 Notes: 1 All specifictions re t 3V nd room temperture unless otherwise noted. 2 Time to obtin vlid dt fter existing power-down mode. 3 Mximum llowble power supply rise time from 0.25V to 2.5V (minimum). Slower VDD rise time my cuse erroneous dt retrievl from OTP memory t power-up. Sensor Chrcteristics 1 Prmeter (Units) Conditions Minimum Typicl Mximum Mesurement Rnge (g) X/Y Axis ± 2.0 Alignment Error ( ) X/Y Axis ± 1.0 ± 2.0 Figure 4 Bottom View Sensitivity Error (%) X/Y Axis ± 5.0 Sensitivity (LSB/g) X/Y Axis 64 Sensitivity Drift Over Temperture (%) Delt from 25 (-20-70 ) ± 15 Zero g Offset Bis Level (mg) X/Y Axis (25 ) ± 50 Zero g Offset Temperture coefficient X/Y Axis (-20-70 ) 0.6 (mg/ ) 3dB Signl Bndwidth (Hz) 10 Notes: 1 All specifictions re t 3V nd room temperture unless otherwise noted. Rev,A 8/19/2011 Pge 3 of 13
Digitl Prmeters tbf P S Symbol Prmeter (Units) Minimum Typicl Mximum VIH High Level Input Voltge (Volts) 0.8*VDD VIL Low Level Input Voltge (Volts) 0.2*VDD VHYS Hysteresis of Schmitt Trigger Input 0.1 (Volts) tsu;p IIL Input Lekge, All Inputs (ua) -10 10 VOL Low Level Output Voltge (Volts) 0.4 tsu;d thigh tsu;s Sr Digitl Switching Chrcteristics Symbol Prmeter (Units) Minimum Typicl Mximum top Operting Vlid Time (us) 1 20 fscl SCK Clock Frequency (khz) 0 400 tr Rise Time (us) 0.3 tf Fll Time (us) 0.3 tlow SCL Low Time (us) 1.3 tlow tr thd;d thd;s thigh SCL High Time (us) 0.6 thd;d Dt Hold Time (us) 0 0.9 tsu;d Dt Set-Up Time (us) 0.1 tsu;s Strt Set-Up Time (us) 0.6 thd;s Strt Hold Time (us) 0.6 S tsu;p Stop Set-Up Time (us) 0.6 tbf Bus Free Time Between Strt nd Stop (us) 1.3 Notes: 1 Time to operte MXC622XXC through I 2 C interfce fter power being supplied to VDD. VDD SDA SCL top tf Figure 5 Rev,A 8/19/2011 Pge 4 of 13
Circuit Schemtics VDD C1 0.1u R1 2.7K SCL 1 6 R2 2 3 SCL NC GND VDD SDA INT 5 4 2.7K SDA INT Note: R1 nd R2 re pull-up resistors, the vlue cn be determined by customer ccording to the requirement of the host device. INT does not need ny pull-up/pull-down resistor If INT is not used, just keep it disconnected, don't pull up or pull down Leve NC pin s no connection. GND Figure 6 Lnding Pttern Figure 7 Rev,A 8/19/2011 Pge 5 of 13
Reflow Profile Note: Reflow is limited by 2 times The second reflow cycle should be pplied fter device hs cooled down to 25 (room temperture) This is the reflow profile for Pb free process The pek temperture on the sensor surfce should be limited under 260 for 10 seconds. Solder pste s recommendtion cn be followed for the best SMT qulity. Figure 8 Reflow Profile Mnul Soldering Low Temperture Glss Note: When soldering mnully or repiring vi soldering iron for Chip Scle pckged device, the time should be limited to less thn 10 seconds nd the temperture should not exceed 275. If het gun is used, the time should be limited to less thn 10seconds nd the temperture should not exceed 270 Plese void to bend the PCB fter the sensor ssembly Figure 9 Chip Scle Pckge Rev,A 8/19/2011 Pge 6 of 13
6 5 4 1 2 3 Powerful Sensing Solutions for Better Orienttion (Bottom View) 6 5 4 t e o 1 2 3 Stte Bits OR [1,0] 01 Orienttion/Shke Chrcteristics Output stte response to orienttion If the sensor is rotted pst the 45 degree threshold, the orienttion bits will chnge only if the sensor stys in the sme stte for defined period of time. If the sensor crosses bck before this time period, the orienttion bits remin unchnged. This is to prevent dithering of the orienttion stte. Four user progrmmble hysteresis time periods re vilble : 160, 320, 640 nd 1280ms. e t o 00 4 3 2 1 o t e 5 6 11 Figure 11 Figure 12 1 2 3 t o e 6 5 4 10 MXC622xXC is gurnteed to detect orienttion chnges with up to 60 degrees of off-xis tilt Shke Detection Shke nd shke direction re orthogonl to screen orienttion. An interrupt pin (INT) is set high nd must be clered by the MCU vi the I 2 C interfce. Four user progrmmble thresholds re vilble: 0.5g, 1g, 1.5g nd 2g. Bottom View Sme Plne e t o θ + Figure 10 Figure 13 Rev,A 8/19/2011 Pge 7 of 13
I 2 C Interfce A slve mode I 2 C interfce, cpble of operting in stndrd or fst mode, is implemented on the MXC622xXC. The interfce uses seril dt line (SDA) nd seril clock line (SCL) to chieve bi-directionl communiction between mster nd slve devices. A mster (typiclly microprocessor) initites ll dt trnsfers to nd from the device, nd genertes the SCL clock tht synchronizes the dt trnsfer. The SDA pin on the MXC622xXC opertes both s n input nd n open drin output. Since the MXC622xXC only opertes s slve device, the SCL pin is lwys n input. There re externl pull-up resistors on the I 2 C bus lines. Devices tht drive the I 2 C bus lines do so through open-drin n-chnnel driver trnsistors, creting wired NOR type rrngement. Dt on SDA is only llowed to chnge when SCL is low. A high to low trnsition on SDA when SCL is high is indictive of START condition, wheres low to high trnsition on SDA when SCL is high is indictive of STOP condition. When the interfce is not busy, both SCL nd SDA re high. A dt trnsmission is initited by the mster pulling SDA low while SCL is high, generting START condition. The dt trnsmission occurs serilly in 8 bit bytes, with the MSB trnsmitted first. During ech byte of trnsmitted dt, the mster will generte 9 clock pulses. The first 8 clock pulses re used to clock the dt, the 9th clock pulse is for the cknowledge bit. After the 8 bits of dt re clocked in, the trnsmitting device releses SDA, nd the receiving device pulls it down so tht it is stble low during the entire 9th clock pulse. By doing this, the receiving device "cknowledges" tht it hs received the trnsmitted byte. If the slve receiver does not generte n cknowledge, then the mster device cn generte STOP condition nd bort the trnsfer. If the mster is the receiver in dt trnsfer, then it must signl the end of dt to the slve by not generting n cknowledge on the lst byte tht ws clocked out of the slve. The slve must relese SDA to llow the mster to generte STOP or repeted START condition. The mster initites dt trnsfer by generting START condition. After dt trnsmission is complete, the mster my terminte the dt trnsfer by generting STOP condition. The bus is considered to be free gin certin time fter the STOP condition. Alterntively, the mster cn keep the bus busy by generting repeted START condition insted of STOP condition. This repeted START condition is functionlly identicl to START condition tht follows STOP. Ech device tht sits on the I 2 C bus hs unique 7 bit ddress. The first byte trnsmitted by the mster following START is used to ddress the slve device. The first 7 bits contin the ddress of the slve device, nd the 8th bit is the R/W* bit (red = 1, write = 0; the sterisk indictes ctive low, nd is used insted of br). If the trnsmitted ddress mtches up to tht of the MXC622xXC, then the MXC622xXC will cknowledge receipt of the ddress, nd prepre to receive or send dt. If the mster is writing to the MXC622xXC, then the next byte tht the MXC622xXC receives, following the ddress byte, is loded into the ddress counter internl to the MXC622xXC. The contents of the ddress counter indicte which register on the MXC622xXC is being ccessed. If the mster now wnts to write dt to the MXC622xXC, it just continues to send 8-bit bytes. Ech byte of dt is ltched into the register on the MXC622xXC tht the ddress counter points to. The ddress counter is incremented fter the trnsmission of ech byte. If the mster wnts to red dt from the MXC622xXC, it first needs to write the ddress of the register it wnts to begin reding dt from to the MXC622xXC ddress counter. It does this by generting START, followed by the ddress byte contining the MXC622xXC ddress, with R/W* = 0. The next trnsmitted byte is then loded into the MXC622xXC ddress counter. Then, the mster repets the START condition nd re-trnsmits the MXC622xXC ddress, but this time with the R/W* bit set to 1. During the next trnsmission period, byte of dt from the MXC622xXC register tht is ddressed by the contents of the ddress counter will be trnsmitted from the MXC622xXC to the mster. Rev,A 8/19/2011 Pge 8 of 13
As in the cse of the mster writing to the MXC622xXC, the contents of the ddress counter will be incremented fter the trnsmission of ech byte. The protocol for multiple byte reds nd writes between mster nd slve device is depicted in Figure 14. Figure 14 The I 2 C ddress for MXC622xXC is set s: Product MXC6220XC MXC6221XC MXC6222XC MXC6223XC MXC6224XC MxC6225XC MXC6226XC MXC6227XC Address 20h 22h 24h 26h 28h 2Ah 2Ch 2Eh Rev,A 8/19/2011 Pge 9 of 13
User Register Summry Address Nme Definition Access Defult $00 XOUT 8-bit x-xis ccelertion output red 00000000 $01 YOUT 8-bit y-xis ccelertion output red 00000000 $02 STATUS orienttion nd shke sttus red 00000000 $04 DETECTION Power down, orienttion nd shke detection prmeters write 00000000 $08 CHIP_ID Chip ID of MXC622xXC red xx000xxx The registers vilble to the user on the MXC622xXC re summrized in the tble bove. Ech register contins 8 bits. $00: XOUT 8-bit x-xis ccelertion output (red only) D7 D6 D5 D4 D3 D2 D1 D0 XOUT[7] XOUT[6] XOUT[5] XOUT[4] XOUT[3] XOUT[2] XOUT[1] XOUT[0] 8-bit x-xis ccelertion output. Dt in 2's complement formt with rnge of -128 to +127. $01: YOUT 8-bit y-xis ccelertion output (red only) D7 D6 D5 D4 D3 D2 D1 D0 YOUT[7] YOUT[6] YOUT[5] YOUT[4] YOUT[3] YOUT[2] YOUT[1] YOUT[0] 8-bit y-xis ccelertion output. Dt in 2's complement formt with rnge of -128 to +127. $02: STATUS orienttion nd shke sttus register (red only) D7 D6 D5 D4 D3 D2 D1 D0 INT SH[1] SH[0] TILT ORI[1] ORI[0] OR[1] OR[0] OR[1:0] is 2-bit indiction of the device orienttion, ccording to the following scheme: OR[1:0] = 01 device is verticl in upright orienttion; 00 device is rotted 90 degrees clockwise; 11 device is verticl in inverted orienttion; 10 device is rotted 90 degrees counterclockwise. The bits OR[1:0] re indictive of "long-term" orienttion. The orienttion is determined by mesuring the signs of the quntities x y, nd x + y, s shown in Figure 12. In ddition to these mesurements, the orienttion mesurement must be vlidted by requiring tht the lrger in mgnitude of x, y be greter thn 3/8 g. In order for new vlue of OR[1:0] to be written to the STATUS register, vlid mesurement of the new orienttion must be mesured consecutive number of times determined by the setting of bits ORC[1:0] in the DETECTION register. This provides low-pss filtering nd hysteresis effect tht keeps disply from flickering ner orienttion boundries ORI[1:0] is the instntneous device orienttion. It follows the sme scheme s OR[1:0], except tht it is updted every time vlid orienttion mesurement is mde, not subject to the sme low-pss filtering s OR[1:0]. TILT is n indiction of whether there is enough ccelertion signl strength to mke vlid orienttion mesurement. If TILT = 0, the orienttion mesurement is vlid, if TILT = 1, then the orienttion mesurement is invlid. TILT is updted every mesurement cycle. SH[1:0] indicte whether shke event hs tken plce, nd if so, its direction. Shke cn only be detected in direction perpendiculr Rev,A 8/19/2011 Pge 10 of 13
to the verticl orienttion of the device. When n ccelertion perpendiculr to the device orienttion (x for OR[1:0] = 01 or 11; y for OR[1:0] = 00 or 10) is sensed tht hs mgnitude greter thn the vlue set by bits SHTH[1:0] in the DETECTION register, then shke detection begins. For shke event to be written to SH[1:0], the perpendiculr ccelertion must gin exceed the mgnitude set by SHTH[1:0] but with the opposite sign (if bit SHM = 0 in the DETECTION register), or just reverse its sign (if bit SHM = 1 in the DETECTION register). The bove mentioned second ccelertion events must occur within certin mount of time, set by SHC[1:0] in the DETECTION register, of the originl breking of the threshold. If shke is determined to hve occurred, then the direction of the shke cn be determined by the signs of the ccelertions. The shke sttus is indicted s shown in the following tble: SH[1] SH[0] Comment 0 0 no shke event 0 1 shke left 1 0 shke right 1 1 undefined INT is the interrupt bit. Setting this bit high will cuse the INT pin to output high level. The INT bit will be set whenever, 1. The orienttion, s indicted by bits OR[1:0] chnges, or 2. A shke event occurs. The microprocessor cn then service the interrupt by reding the STATUS register. Once shke event occurs, no new shke events will be recorded until the interrupt hs been serviced, lthough the orienttion bits will continue to be updted. The INT bit is clered by microprocessor red of the STATUS register. $04: DETECTION orienttion nd shke detection prmeters (write only) D7 D6 D5 D4 D3 D2 D1 D0 PD SHM SHTH[1] SHTH[0] SHC[1] SHC[0] ORC[1] ORC[0] PD = 1 powers down the MXC622xXC to non-functionl low power stte with mximum current drin of 1 ua. ORC[1:0] sets the orienttion hysteresis time period, which is the time period of consecutive vlid new instntneous orienttion mesurements tht must be mde before new orienttion vlue is written into bits OR[1:0] in the STATUS register. The "long-term" orienttion chnge is set by ORC[1:0] s follows: 00 160ms, 01 320ms, 10 640ms, 11 1280ms nominlly. SHC[1:0] sets the shke events time window, which determines the time window llowed between the first shke event (perpendiculr ccelertion exceeding the threshold set by SHTH[1:0]) nd the second shke event (ccelertion breking the threshold with opposite sign, SHM = 0, or just reversing sign, SHM = 1). The time window is set by SHC[1:0] s follows: 00 80ms, 01 160ms, 10 320ms, 11 640ms nominlly. SHTH[1:0] sets the shke threshold tht the perpendiculr ccelertion must exceed to trigger the first shke event. The settings for SHTH[1:0] re: 00-0.5 g, 01 1.0 g, 10 1.5 g, 11 2.0 g. SHM is the shke mode bit. If SHM = 0, then for shke to be detected, nd written to SH[1:0] in the STATUS register, the second shke event must brek the threshold set by SHTH[1:0] with the opposite sign of the first shke event, within the time window set by SHC[1:0]. If SHM = 1, then the second shke event must just hve the opposite sign of the first shke event within the time window set by SHC[1:0]. Rev,A 8/19/2011 Pge 11 of 13
$08 (6LSB),: CHIP_ID Chip ID of MXC622xXC (red only) D7 D6 D5 D4 D3 D2 D1 D0 ID[7] ID[6] ID[5] ID[4] ID[3] ID[2] ID[1] ID[0] x x 0 0 0 x x x Product xxx MXC6220XC 000 MXC6221XC 001 MXC6222XC 010 MXC6223XC 011 MXC6224XC 100 MxC6225XC 101 MXC6226XC 110 MXC6227XC 111 Rev,A 8/19/2011 Pge 12 of 13
Pckge Drwing nd Mrking Illustrtion Top View Bottom View 0.025 1 2 3 6 5 4 0.025 e t O 6-0.22 Side View Figure 15 Rev,A 8/19/2011 Pge 13 of 13