Part Number Hot Search : 
TLYE60T 68HC7 P30NE 39SF010A IRF9541 LT1158 48VDC T89C5
Product Description
Full Text Search
 

To Download SX9510ETSTRT Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 1 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs g eneral d escription the sx9510 and sx9511 are 8Cbutton capacitive touch sensor controllers that include 8-channels of led drivers, a buzzer, an ir detector and analog outputs designed ideally for tv applications. the sx9510 offers proximity sensing. the sx9510 and sx9511 operate autonomously using a set of programmable button sensitivities & thresholds, plus led intensities & breathing functions with no external i2c communication required. all devices feature three individual led driver engines for advanced led lighting control. on the sx9510, a proximity detection illuminates all leds to a pre-programmed intensity. touching a button will enable the corresponding led to a pre- programmed mode such as intensity, blinking or breathing. whenever the capacitive value changes from either a proximity detection or finger touch/release, the controller informs the host processor through the analog output(s) or an open drain interrupt and an i2c register read. the sx9510 and sx9511 do not require additional external dynamic programming support or setting of parameters and will adapt to humidity and temperature changes to guarantee correct touch/no touch information. the sx9510 and sx9511 are offered in 20-ld qfn and 24-ld tssop packages and operate over an ambient temperature range of -40c to +85c. t ypical a pplication circuit i2c touch button & led driver interface gpo/led engine osc por control vdd capacitive touch buttons svdd scl sda ls analog output aout2/ nirq/ buzzer/ pwrstate nvm aout1 led [7:0] nrst gnd ir-decoder irin pwron bl7 bl6 bl5 bl4 bl3 bl2 bl1 bl0 spo1 spo2 svdd k ey p roduct f eatures  separate core and i/o supplies o 2.7v C 5.5v core supply voltage o 1.65v C 5.5v i/o supply voltage  8 - button capacitance controller o capacitance offset compensation to 40pf o adaptive measurements for reliable proximity and button detection  proximity sensing (sx9510) o high sensitivity o leds activated during proximity sense  8-channel led controller & driver o blink and breathing control o high current, 15 ma led outputs  2-channel analog output, 6-bit dac programmable control  support metal overlay ui design (sx9510)  infra red detector for power-on signaling and led feedback o programmable address with eight commands o compatible with nec, rc5, rc6, toshiba, rca, etc  simple (400khz) i 2 c serial interface o interrupt driven communication via nirq output  power-on reset, nrst pin and soft reset  low power o sleep, proximity sensing: 330ua o operating: 600ua  -40c to +85c operation  4.0 mm x 4.0 mm, 20-lead qfn package  4.4 mm x 7.8 mm, 24-lead tssop package  pb & halogen free, rohs/weee compliant a pplications  lcd tvs, monitors  white goods  consumer products, instrumentation, automotive  mechanical button replacement o rdering i nformation part number package marking sx9511ewltrt 1 qfn-20 zk72 sx9511etstrt 2 tssop-24 ac72t sx9510ewltrt 1 qfn-20 zl73 SX9510ETSTRT 2 tssop-24 ac73x sx9510evk evaluation kit - 1 3000 units/reel 2 2500 units/reel
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 2 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs table of contents g eneral d escription .................................................. ................................................... ................... 1 t ypical a pplication circuit .................................................. ................................................... ....... 1 k ey p roduct f eatures ................................................... ................................................... ............... 1 a pplications .................................................. ................................................... .................................. 1 o rdering i nformation ................................................... ................................................... ................ 1 1 g eneral d escription .................................................. ................................................... .......... 4 1.1 pin diagram sx9510/11 4 1.2 marking information sx9511 4 1.3 marking information sx9510 5 1.4 pin description 6 1.5 simplified block diagram 7 1.6 acronyms 7 2 e lectrical c haracteristics .................................................. ............................................... 8 2.1 absolute maximum ratings 8 2.2 recommended operating conditions 8 2.3 thermal characteristics 8 2.4 electrical specifications 9 3 f unctional description .................................................. ................................................... ... 11 3.1 introduction 11 3.2 scan period 12 3.3 operation modes 13 3.4 sensors on the pcb 13 3.5 button information 14 3.6 buzzer 15 3.7 analog output interface 15 3.8 analog sensing interface 17 3.9 ir interface 20 3.10 configuration 22 3.11 clock circuitry 22 3.12 i2c interface 22 3.13 interrupt 23 3.14 reset 24 3.15 leds on bl 26 4 d etailed c onfiguration descriptions .................................................. ............................ 30 4.1 introduction 30 4.2 general control and status 32 4.3 led control 35 4.4 capsense control 39 4.5 spo control 45
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 3 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.6 buzzer control 46 4.7 ir control 47 4.8 real time sensor data readback 49 5 i2c i nterface .................................................. ................................................... ...................... 51 5.1 i2c write 51 5.2 i2c read 52 6 p ackaging i nformation .................................................. ................................................... ... 53 6.1 package outline drawing 53 6.2 land pattern 55 table of figures figure 1 pinout diagram sx9510/11 (qfn, tssop) .... ................................................... ......................................... 4 figure 2 marking information sx9511 (qfn, tssop) .. ................................................... ......................................... 4 figure 3 marking information sx9510 (qfn, tssop) .. ................................................... ......................................... 5 figure 4 simplified block diagram of the sx9510/11 ................................................... .............................................. 7 figure 5 i2c start and stop timing ................ ................................................... ................................................... ..... 10 figure 6 i2c data timing .......................... ................................................... ................................................... .......... 10 figure 7 capsense scan frame sx9510/11 ............ ................................................... ............................................ 12 figure 8 scan period sx9510/11 .................... ................................................... ................................................... ... 12 figure 9 operation modes .......................... ................................................... ................................................... ....... 13 figure 10 pcb top layer of touch buttons sensors su rrounded by the shield, sx9510/11 ................. ..................... 13 figure 11 pcb top layer for proximity and touch but tons, sx9510 ...................................... ................................... 14 figure 12 buttons ................................. ................................................... ................................................... .............. 14 figure 13 proximity ............................... ................................................... ................................................... ............. 14 figure 14 buzzer behavior ......................... ................................................... ................................................... ........ 15 figure 15 aoi behavior ............................ ................................................... ................................................... .......... 15 figure 16 pwm definition, (a) small pulse width, (b ) large pulse width ............................... .................................... 16 figure 17 single-mode reporting with 2 touches .... ................................................... .............................................. 16 figure 18 strongest-mode reporting with 2 touches . ................................................... ............................................ 17 figure 19 analog sensor interface ................. ................................................... ................................................... ... 17 figure 20 analog sensor interface for sx9510, combi ned channel prox mode ............................. ....................... 18 figure 21 processing .............................. ................................................... ................................................... ........... 19 figure 22 ir interface overview ................... ................................................... ................................................... ..... 20 figure 23 phase encoding example (rc5) with normal polarity .......................................... .................................. 21 figure 24 phase encoding example (rc6) with inverte d polarity ........................................ .................................. 21 figure 25 space encoding example .................. ................................................... ................................................... 21 figure 26 configuration ........................... ................................................... ................................................... ........... 22 figure 27 power up vs. nirq ....................... ................................................... ................................................... ..... 23 figure 28 interrupt and i2c ....................... ................................................... ................................................... ......... 24 figure 29 power up vs. nirq ....................... ................................................... ................................................... ..... 24 figure 30 hardware reset .......................... ................................................... ................................................... ....... 25 figure 31 software reset .......................... ................................................... ................................................... ........ 25 figure 32 led between bl and ls pins .............. ................................................... ................................................. 2 6 figure 33 pwm definition, (a) small pulse width, (b ) large pulse width ............................... .................................... 26 figure 34 single fading mode ...................... ................................................... ................................................... ..... 27 figure 35 continuous fading mode .................. ................................................... ................................................... . 27 figure 36 leds in triple reporting mode proximity . ................................................... ............................................... 29 figure 37 leds in triple reporting mode proximity a nd touch .......................................... ........................................ 29 figure 38 i2c write ............................... ................................................... ................................................... .............. 51 figure 39 i2c read ................................ ................................................... ................................................... ............. 52 figure 40 qfn package outline drawing ............. ................................................... ................................................. 5 3 figure 41 tssop package outline drawing ........... ................................................... .............................................. 54 fi gure 42 qfn-20 land pattern ....................... ................................................... ................................................... .. 55
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 4 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 1 g eneral d escription 1.1 pin diagram sx9510/11 bl7 ls vdd vdd gnd bl1 bl0 svdd scl sda sx9510/11 top view 1 gnd 2 ls 3 bl7 4 bl6 5 bl5 6 bl4 7 bl3 8 bl2 9 bl1 10 bl0 15 scl 16 nc 17 nrst 18 pwron 19 irin 20 spo1 21 spo2 22 gnd 24 vdd 23 vdd 11 nc 12 nc 13 svdd 14 sda figure 1 pinout diagram sx9510/11 (qfn, tssop) 1.2 marking information sx9511 zk72 yyww xxxxx yyww = date code xxxxx = semtech lot number figure 2 marking information sx9511 (qfn, tssop)
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 5 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 1.3 marking information sx9510 zl73 yyww xxxxx yyww = date code xxxxx = semtech lot number figure 3 marking information sx9510 (qfn, tssop)
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 6 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 1.4 pin description pin qfn pin tssop name type description 1 4 bl6 analog button sensor and led driver 6 2 5 bl5 analog button sensor and led driver 5 3 6 bl4 analog button sensor and led driver 4 4 7 bl3 analog button sensor and led driver 3 5 8 bl2 analog button sensor and led driver 2 6 9 bl1 analog button sensor and led driver 1 7 10 bl0 analog button sensor and led driver 0 8 13 svdd power io power supply, svdd must be vdd 9 14 sda digital input/output i2c data, requires pu ll up resistor to svdd (in host or external) 10 15 scl digital input i2c clock, requires pull up resistor to svdd(in host or external) 11 17 nrst digital input active low reset. connect to svdd if not used. 12 18 pwron digital output power on signal (positive edge trigg ered, push pull) 13 19 irin digital input input signal from ir recei ver. 14 20 spo1 analog special purpose output 1: - aout1: analog voltage indicating touched buttons (filtered digital) 15 21 spo2 analog/digital special purpose output 2: - aout2: analog voltage indicating touched buttons (filtered digital) - buzzer: driver (digital push-pull output) - nirq: interrupt output, active low (digital open drain output) - pwrstate: signal indicating system power state (d igital input) 16 22 gnd ground ground 17 23 vdd power power supply 18 24 vdd power power supply 19 2 ls analog led sink/shield 20 3 bl7 analog button sensor and led driver 7 bottom plate 1 gnd ground connect to ground 11, 12, 16 nc no connect leave floating table 1 pin description
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 7 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 1.5 simplified block diagram i2c touch button & led driver interface gpo/led engine osc por control vdd capacitive touch buttons svdd scl sda ls analog output aout2/ nirq/ buzzer/ pwrstate nvm aout1 led [7:0] nrst gnd ir-decoder irin pwron bl7 bl6 bl5 bl4 bl3 bl2 bl1 bl0 spo1 spo2 svdd figure 4 simplified block diagram of the sx9510/11 1.6 acronyms aoi analog output interface asi analog sensor interface nvm non volatile memory pwm pulse width modulation spo special purpose output
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 8 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 2 e lectrical c haracteristics 2.1 absolute maximum ratings stresses above the values listed in absolute maxim um ratings may cause permanent damage to the devic e. this is a stress rating only and functional operati on of the device at these, or any other conditions beyond the recommended operating conditions, is not implied. exposure to absolute m aximum rating conditions for extended periods may a ffect device reliability. parameter symbol min. max. unit supply voltage vdd, svdd -0.5 6.0 v input voltage (non-supply pins) v in -0.5 vdd + 0.3 v input current (non-supply pins) i in -10 10 ma operating junction temperature t jct -40 150 c reflow temperature t re 260 c storage temperature t stor -50 150 c esd hbm (human body model) (i) esd hbm 3 kv latchup (ii) i lu 100 ma table 2 absolute maximum ratings (i) tested to jedec standard jesd22-a114 (ii) tested to jedec standard jesd78 2.2 recommended operating conditions parameter symbol min. max. unit supply voltage vdd 2.7 5.5 v supply voltage (svdd must be vdd) svdd 1.65 5.5 v ambient temperature range t a -40 85 c table 3 recommended operating conditions 2.3 thermal characteristics parameter symbol conditions min. typ. max. unit thermal resistance - junction to ambient (vi) ja,qfn 25 c/w thermal resistance - junction to ambient (vi) ja,ssop 78 c/w table 4 thermal characteristics (vi) thetaja is calculated from a package in still air, mounted to 3" x 4.5", 4 layer fr4 pcb with thermal vias under exposed pad (if applicable) per jesd51 standards.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 9 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 2.4 electrical specifications all values are valid within the operating condition s unless otherwise specified. parameter symbol conditions min. typ. max. unit current consumption sleep i sleep all buttons are scanned at a 200ms rate. (40ms scan with skip 4 frames) 330 350 ua operating i operating all buttons are scanned at a 40 ms rate, excluding led forward current. 600 650 ua input levels nrst, irin, scl, sda, spo2 (in pwrsta te mode) input logic high v ih 0.7*svdd svdd + 0.3 v input logic low v il gnd applied to gnd pins gnd - 0.3 0.3*svdd v input leakage current l i cmos input 1 ua output pwron, spo1, spo2, sda output logic high (pwron, sp01, & sp02 only) v oh i oh <3ma svdd-0.4 v output logic low v ol i ol, <6ma 0.6 v capsense interface offset compensation range c off 40 pf power up time t por 10 ms reset power on reset voltage v por 1.1 v reset time after power on t por 1 ms reset pulse width on nrst t res 20 ns recommended external components capacitor between svdd, gnd c vreg tolerance +/-20% 0.1 uf capacitor between vdd, gnd c vdd tolerance +/-20% 0.1 uf table 5 electrical specifications
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 10 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs parameter symbol conditions min. typ. max. unit i2c timing specifications (i) scl clock frequency f scl 400 khz scl low period t low 1.3 us scl high period t high 0.6 us data setup time t su;dat 100 ns data hold time t hd;dat 0 ns data valid time t vd;dat 0.9 us repeated start setup time t su;sta 0.6 us start condition hold time t hd;sta 0.6 us stop condition setup time t su;sto 0.6 us bus free time between stop and start t buf 1.3 us input glitch suppression t sp up to 0.3xvdd from gnd, down to 0.7xvdd from vdd 50 ns table 6 i2c timing specification notes: (i) all timing specifications, figure 5 and figure 6, refer to voltage levels (v il , v ih , v ol ) defined in table 5. (ii) t vd;dat = minimum time for sda data out to be valid following scl low. the interface complies with slave f/s mode as descr ibed by nxp: i2c-bus specification, rev. 03 - 19 j une 2007 figure 5 i2c start and stop timing figure 6 i2c data timing
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 11 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3 f unctional description 3.1 introduction 3.1.1 general the sx9510/11 is intended to be used in application s which require capacitive sensors covered by isola ting overlay material and which may need to detect the p roximity of a finger/hand though the air. the sx951 0/11 measures the change of charge and converts that int o digital values. the larger the charge on the sens ors, the larger the number of digital value will be. the cha rge to digital value conversion is done by the sx95 10/11 analog sensor interface (asi). the digital values are further processed by the sx9 510/11 and converted in a high level, easy to use i nformation for the users host. the information between sx9510/11 and the users ho st is passed through the i2c interface with an addi tional interrupt signal indicating that the sx9510/11 has new information. for buttons this information is si mply touched or released. the sx9510/11 can operate without the i2c and interrupt by using the analog output interf ace (spo1, spo2) with a changing voltage level to indic ate the button touched. 3.1.2 feedback visual feedback to the user is done by the button a nd led pins bl[7...0]. the led drivers will fade-in when a finger touches a button or proximity is detected an d fade-out when the button is released or finger go es out of proximity. fading intensity variations can be logar ithmic or linear. interval speed and initial and fi nal light intensity can be selected by the user. audible feedback can be obtained through the specia l purpose output (spo2) pin connected to a buzzer. 3.1.3 analog output interface spo1 and spo2 the analog output interface (aoi) is a digital sign al driven from gnd to svdd and controlled by a pwm. when the digital signal on the spo line is filtered with an rc low pass filter you produce a dc voltage, th e level of which depends on the buttons that has been touched. a hos t controller can then measure the voltage delivered by the spo output and determine which button is touched at any given time. the aoi feature allows the sx9510/11 device to dire ctly replace legacy mechanical button controllers i n a quick and effortless manner. the sx9510/11 supports up to two analog output interfaces, on spo1 and spo2 respectively. the sx9510/11 allows buttons to be ma pped on either spo1 or spo2. the button mapping as well as the mean voltage level that each button produces on an spo output can be configured by the user thr ough a set of parameters described in later chapters. 3.1.4 buzzer the sx9510/11 can drive a buzzer (on spo2) to provi de audible feedback on button touches. the buzzer provides two phases, each of which can vary from 5m s to 30ms in length and can drive 1khz, 2khz, 4khz or 8khz tones. 3.1.5 configuration the control and configuration registers can be read from and written to an infinite number of times. d uring the development phase the parameters can be determined and fine tuned by the users and updated over the i2 c. once the parameter set has been determined, the set tings can be downloaded over the i2c by the host ea ch time the sx9510/11 boots up or they can be stored in the multiple time programmable (mtp) non volatile memo ry (nvm) on the sx9510/11. this allows the flexibility of dynamically setting the parameters at the expen se of i2c traffic or autonomous operation without host interv ention.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 12 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs after the parameters are written to the nvm, the re gisters can still be dynamically overwritten in who le or in part by the host when desired. 3.2 scan period the sx9510/11 interleaves the sensing of the touch buttons with the driving of the leds. to keep the l ed intensities constant and flicker free the bl sensin g is done in a round robin fashion with an led driv e period between each of the bl sensing periods. bl0 bl1 bl2 bl3 bl4 bl7 prox figure 7 capsense scan frame sx9510/11 to keep timing consistency the scan frame always cy cles through all channels (bl0 to bl7) and combined channel proximity even if a channel is disabled or a device does not have the proximity feature. this means that the frame time is always the sum of nine capsense m easurement times and nine led pwm times. the sx9510/11 can reduce its average power consump tion by inserting fames that skip the capsense measurements but maintain the led pwm timing. the scan period of the sx9510/11 is the time betwee n the measurement of a particular channel and its n ext measurement. this period is the time for one capsen se frame plus the time for any skip frames and is t he key factor in determining system touch response timing. figure 8 shows the different sx9510/11 periods over time. figure 8 scan period sx9510/11
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 13 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3.3 operation modes the sx9510/11 has 2 operation modes, active and sle ep. the main difference between the 2 modes is foun d in the reaction time (corresponding to the scan period ) and power consumption. active mode offers fast scan periods. the typical r eaction time is 40ms. all enabled sensors are scann ed and information data is processed within this interval. sleep mode increases the scan period time which inc reases the reaction time to 200ms typical and at th e same time reduces the operating current. the user can specify other scan periods for the act ive and sleep mode and decide for other compromises between reaction time and power consumption. in most applications the reaction time needs to be fast when fingers are present, but can be slow when no person uses the application. in case the sx9510/11 is not used during a scan frame it will go from active mod e into sleep mode and power will be saved. (when sleep mode is e nabled) to leave sleep mode and enter active mode this can be done by a touch on any button or the detection o f proximity. the host can decide to force the operating mode by issuing commands over the i2c (using register 0x3a[ 3]) and take fully control of the sx9510/11. the diagram in figure 9 shows the available operation modes and t he possible transitions. active mode sleep mode i2ccmd or proximity or touch any button power on passive timeout figure 9 operation modes 3.4 sensors on the pcb the capacitive sensors are relatively simple copper areas on the pcb connected to the eight sx9510/11 capacitive sensor input pins (bl0bl7). the sensors are covered by isolating overlay material (typical ly 1mm...3mm). the area of a sensor is typically one s quare centimeter which corresponds to about the are a of a finger touching the overlay material. the area of a proximity sensor is usually significantly larger t han the smaller touch sensors. the sx9510 and the sx9511 capacitive sensors can be setup as on/off buttons for control applications ( see example figure 10). figure 10 pcb top layer of touch buttons sensors su rrounded by the shield, sx9510/11
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 14 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs the sx9510 offers 2 options for proximity detection . depending on the pcb area, the proximity detectio n distance can be optimized. 1) individual sensor proximity single sensor proximity is done by replacing the sh ield area shown in figure 10 with a connection to b l0 as shown in figure 24. figure 11 pcb top layer for proximity and touch but tons, sx9510 2) combined channel proximity in combined channel proximity the sx9510 will put s ome or all of the sensors in parallel and execute o ne sensing cycle on this combined large sensor. 3.5 button information the touch buttons have two simple states (see figur e 12): on (touched by finger) and off (released and no finger press). figure 12 buttons a finger is detected as soon as the digital values from the asi reach a user-defined threshold plus a hysteresis. a release is detected if the digital values from th e asi go below the threshold minus a hysteresis. th e hysteresis around the threshold avoids rapid touch and release signaling during transients. buttons can also be used to do proximity sensing. t he principle of proximity sensing operation is exac tly the same as for touch buttons except that proximity sensing is done several centimeters above the overlay throu gh the air. on state means that finger/hand is detected by the sensor and off state means the finger/hand is far f rom the sensor and not detected. figure 13 proximity
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 15 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3.6 buzzer the sx9510/11 has the ability to drive a buzzer (on spo2) to provide an audible indication that a butt on has been touched. the buzzer is driven by a square wave sign al for approximately 10ms (default). during both th e first phase (5ms) and the second phase (5ms) the signals frequency is default 1khz. the buzzer is activated only once during any button touch and is not repeated for long touches. the us er can choose to enable or disable the buzzer by configura tion and define the idle level, frequencies and pha se durations (see 4.6). figure 14 buzzer behavior 3.7 analog output interface the analog output interface outputs a pwm signal wi th a varying duty cycle depending on which button i s touched. by filtering (with a simple rc filter) the pwm signal results in a dc voltage that is differe nt for each button touch. the host controller measures the dc v oltage level and determines which buttons has been touched. in the case of single button touches, each button p roduces its own voltage level as configured by the user. figure 15 show how the aoi will behave when the use r touches and releases different buttons. the aoi will switch between the aoi idle level and the level for each button. figure 15 aoi behavior the pwm blocks used in aoi modes are 6-bits based a nd are typically clocked at 2mhz. figure 16 shows the pwm definition of the aoi.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 16 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs figure 16 pwm definition, (a) small pulse width, (b ) large pulse width the aoi always reports one button per output channe l. the aoi can be split over spo1 and spo2 (aoi-a, aoi - b. the user can map any button to either aoi-a or a oi-b or both. in most applications only one aoi pin will be selec ted. the two aoi pins allow the user to use a more coarse detection circuit at the host. assuming a 3.3v supp ly and 8 buttons on one single aoi then the aoi lev els could be separated by around 0.30.4v. in the case of usi ng the two aoi pins, 4 buttons could be mapped on a oi-a separated by around 0.8v (similar for 4 buttons on aoi-b) which is about double that of the case of a single aoi. in the case of a single touch the button reporting is straight forward (as in figure 15). if more than one button is touched the reported depends on the selected button reporting mode parameter (see yyy). three reportin g modes exist for the sx9510/11 (all, single and strongest) . the all reporting mode is applicable only for the i 2c reporting (aoi is not available). in all-mode al l buttons that are touched are reported in the i2c buttons status bits and on the leds. in the single-mode a single t ouched button will be reported on the aoi and the i2c. all touches that occur afterwards will not be reported as long as the first touch sustains. only when the first repor ted button is released will the sx9510/11 report an other touch. figure 17 shows the single-mode reporting in case o f 2 touches occurring over time. figure 17 single-mode reporting with 2 touches at time t1 button0 is touched and reported on the a oi. at time t2 button1 is touched as well but not r eported. at time t3 the button0 is released and button1 will be reported immediately (or after one scan period at idle level). at time t4 both buttons are released and the aoi repor ts the idle level. the button with the lowest cap pin index will be re ported in case of a simultaneous touch (that means touches occurring within the same scan period). in the strongest-mode the strongest touched button will be reported on the aoi and the i2c. all touche s that occur afterwards representing a weaker touch will n ot be reported. only a touch which is stronger will be reported by the sx9510/11. figure 18 shows the strongest-mode reporting in cas e of 2 touches (with bt1 the strongest touch).
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 17 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs figure 18 strongest-mode reporting with 2 touches at time t1 button0 is touched and reported on the a oi. at time t2 button1 is touched as well. as bt1 i s the strongest touch it will be reported on the aoi imme diately (or after one scan period at idle level). a t time t3 the button0 is released while the aoi continues to repo rt button1. at time t4 both buttons are released an d the aoi reports the idle level. 3.8 analog sensing interface the analog sensing interface (asi) induces a charge on the sensors and then converts the charge into a digital value which is further digitally processed. the bas ic principle of the asi will be explained in this s ection. the asi consists of a multiplexer selecting the sen sor, analog switches, a reference voltage, a high-r esolution adc converter and an offset compensation dac (see f igure 19). figure 19 analog sensor interface the sx9510 offers the additional combined channel p roximity mode where all sensors are sensed in paral lel.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 18 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs figure 20 analog sensor interface for sx9510, combi ned channel prox mode to get the digital value representing the charge on a specific sensor the asi will execute several ste ps. a voltage will be induced on the sensor developing a charge r elative to the absolute capacitance of the sensor. the charge on a sensor cap (e.g bl0) will then be accumulated multiple times on the internal integration capacito r (cint). this results in an increasing voltage on cint proportion al to the capacitance on bl0. at this stage the offset compensation dac is enable d. the compensation dac generates a voltage proport ional to an estimation of the external parasitic capacita nce (the capacitance of the system without the cali bration). the difference between the dac output and the charg e on cint is the desired signal. in the ideal case the difference of charge will be converted to a zero di gital value if no finger is present and the digital value becomes high in case a finger is present. the difference of charge on cint and the dac output will be transferred to the adc. after the charge transfer to the adc the steps abov e will be repeated. the sx9510/11 allows setting the sensitivity for ea ch sensor individually for applications which have a variety of sensors sizes or different overlays or for fine-tun ing performances. the optimal sensitivity depends h eavily on the final application. if the sensitivity is too low th e digital value will not pass the thresholds and to uch/proximity detection will not be possible. in case the sensiti vity is set too large, some power will be wasted an d false touch/proximity information may be output (i.e. for touch buttons => finger not touching yet, for prox imity sensors => finger/hand not close enough). the digital values from the asi will then be handle d by the digital processing. the asi will shut down and wait until new sensing p eriod will start.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 19 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3.8.1 processing raw compensation dcv asi processing low pass diff ave processing low pass useful figure 21 processing the raw data is processed through a programmable lo w pass filter to create useful data (data with fast environmental noise suppressed). the useful data is processed through a second programmable low pass f ilter (with a longer time constant) to create average dat a. the average data tracks along with the slow envi ronmental changes and is subtracted from the useful data to c reate the diff data. the diff data represents any f ast capacitance changes such as a touch or proximity ev ent. 3.8.2 offset compensation the parasitic capacitance at the bl pins is defined as the intrinsic capacitance of the integrated cir cuit, the pcb traces, ground coupling and the sensor planes. this parasitic capacitance is relatively large (tens of pf) and will also vary slowly over time due to environmental cha nges. a finger touch is in the order of one pf and its ef fect typically occurs much faster than the environm ental changes. the asi has the difficult task of detecting a small , fast changing capacitance that is riding on a lar ge, slow varying capacitance. this would require a very precise, hig h resolution adc and complicated, power consuming, digital processing. the sx9510/11 features a 16 bit dac which compensat es for the large, slow varying capacitance already in front of the adc. in other words the adc converts only th e desired small signal. in the ideal world the adc will put out a zero digital value even if the external capacitan ce is as high as 40pf. at each power-up of the sx9510/11 the compensation values are estimated by the digital processing algo rithms. the algorithm will adjust the compensation values s uch that a near-zero value will be generated by the adc. once the correct compensation values are found thes e will be stored and used to compensate each bl pin . if the sx9510/11 is shut down the compensation valu es will be lost. at a next power-up the procedure s tarts all over again. this assures that the sx9510/11 will op erate under any condition. however if temperature changes this will influence the external capacitance. the adc digital values wi ll drift then slowly around zero values basically because of the mismatch of the compensation circuitry and the exte rnal capacitance. in case the average value of the digital values bec ome higher than the positive calibration threshold (configurable by user) or lower than the negative threshold (conf igurable by user) then the sx9510/11 will initiate a compensation procedure and find a new set of compen sation values.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 20 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs the host can initiate a compensation procedure by u sing the i2c interface. this is required after the host changes the sensitivity of sensors. 3.9 ir interface the ir interface for the sx9510/11 allows the user to save power by powering down their main processor . when a preprogrammed ir sequence is received the sx9510/ 11 generates a pwron pulse to wake up the system. figure 22 ir interface overview the ir interface can be programmed to match one man ufacturer code (address, 1 to 16 bits) and up to 8 button codes (commands, 1 to 8 bits each). the ir interfac e has been designed to be very flexible and can be programmed for phase coding (e.g. rc5/rc6) or space encoding (e.g. nec, rca, etc), with or without he ader, etc, allowing it to be potentially usable with any type of ir remote control. an added feature allows the user to blink the power led (if power led functions are enabled) when an i r sequence is received that matches either the specif ied manufacturer code (address) or match both the manufacturer code and one of the 8 button codes (co mmands). this gives a visual indication of incoming ir commands without main processor/host intervention. 3.9.1 phase and space encoding the ir signal sent over the ir is modulated and dem odulated as follow: - mark = presence of carrier frequency - space = no presence of carrier frequency in both encoding schemes, each logic bit is compose d of a mark and a space. phase encoding (also called manchester encoding) consists in havi ng same duration/width for both space and mark and coding the logic level depending if mark o r space comes first. in other words, the edge of the transition defines the logical level. for example, with normal polarit y, mark-to- space denotes logic 1 while space-to-mark denotes l ogic 0. for inverted polarity it is the opposite.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 21 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs figure 23 phase encoding example (rc5) with normal polarity figure 24 phase encoding example (rc6) with inverte d polarity space encoding consists in having same mark-space order and codin g the logic level depending on the duration/width of the space. figure 25 space encoding example
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 22 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3.9.2 header the header, when used in the protocol, is the very first part of an ir frame and always consists in a mark followed by a space but usually with specific durations/widt hs different from the following data composing the frame. usually the header mark is quite long (several ms), and is used by the receiver to adjust its gain con trol for the strength of the signal. 3.9.3 data (address and command) after the header, comes the data section of the ir frame which for us consists in two fields: - address: manufacturer code - command: button code corresponding to the button pressed on the remote control (power, ch+, ch-, etc ) depending on the protocol, address or command field comes first. if an ir frame which matches all pre-programmed tim ings (+/- ir margin), address, and command is recei ved; then a pulse is generated on pwron pin to wake up t he system. 3.10 configuration figure 26 shows the building blocks used for config uring the sx9510/11. figure 26 configuration during development of a touch system the register s ettings for the sx9510/11 are adjusted until the us er is satisfied with the system operation. when the adjus tments are finalized contents of the registers can be stored in the multiple time programmable (mtp) non volatile m emory (nvm). the nvm contains all those parameters that are defined and stable for the application. example s are the number of sensors enabled, sensitivity, a ctive and sleep scan period. the details of these parameters are described in the next chapters. at power up or reset the sx9510/11 copies the setti ngs from the nvm into the registers. 3.11 clock circuitry the sx9510/11 has its own internal clock generation circuitry that does not require any external compo nents. the clock circuitry is optimized for low power operatio n. 3.12 i2c interface the host will interface with the sx9510/11 through the i2c bus and the analog output interface. the i2c of the sx9510/11 consists of 95 registers. some of these i2c registers are used to read the st atus and information of the buttons. other i2c registers all ow the host to take control of the sx9510/11. the i2c slave implemented on the sx9510/11 is compl iant with the standard (100kb/s) and fast mode (400 kb/s) the default sx9510/11 i2c address equals 0b010 1011 .
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 23 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3.13 interrupt the nirq mode of spo2 has two main functions, the p ower up sequence and maskable interrupts (detailed below). 3.13.1 power up during power up the nirq is kept low (if spo2 is co nfigured for nirq in the nvm). once the power up se quence is terminated the nirq is cleared autonomously. the sx9510/11 is then ready for operation. the aoi lev els are updated at the latest one scan period after the ris ing edge of nirq. figure 27 power up vs. nirq during the power on period the sx9510/11 stabilizes the internal regulators, rc clocks and the firmwar e initializes all registers. during the power up the sx9510/11 is not accessible and i2c communications are forbidden. the value of nirq before power up depends on the nirq pull up resisto r to the svdd supply voltage. 3.13.2 nirq assertion when the nirq function is enabled for spo2 then nir q is updated in active or sleep mode once every sca n period. the nirq will be asserted at the following events: if a button event occurred (touch or release if en abled) a proximity even occurred (prox or loss of prox (s x9510 only)) once compensation procedure is completed either th rough automatic trigger or via host request during reset (power up, hardware nrst, software re set) 3.13.3 clearing the clearing of the nirq is done as soon as the hos t performs a read to any of the sx9510/11 i2c regis ters. 3.13.4 example a typical example of the assertion and clearing of the nirq and the i2c communication is shown in figu re 28.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 24 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs figure 28 interrupt and i2c when a button is touched the sx9510/11 will assert the interrupt (1). the host will read the sx9510/11 status information over the i2c (2) and this clears the in terrupt. if the finger releases the button the interrupt wil l be asserted (3), the host reads the status (4) wh ich clears the interrupt. in case the host will not react to an interrupt the n this will result in a missing touch. 3.14 reset the reset can be performed by 3 sources: - power up, - nrst pin, - software reset. 3.14.1 power up during power up the nirq is kept low (if spo2 is co nfigured for nirq in the nvm). once the power up se quence is terminated the nirq is cleared autonomously. the sx9510/11 is then ready for operation. the aoi lev els are updated at the latest one scan period after the ris ing edge of nirq. figure 29 power up vs. nirq during the power on period the sx9510/11 stabilizes the internal regulators, rc clocks and the firmwar e initializes all registers.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 25 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs during the power up the sx9510/11 is not accessible and i2c communications are forbidden. as soon as the nirq rises the sx9510/11 will be rea dy for i2c communication. 3.14.2 nrst when nrst is driven low the sx9510/11 will reset an d start the power up sequence as soon as nrst is dr iven high or pulled high. in case the user does not require a hardware reset control pin then the nrst pin can be connected to s vdd. figure 30 hardware reset 3.14.3 software reset to perform a software reset the host needs to write 0xde followed by 0x00 at the softreset register at address 0xff. figure 31 software reset
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 26 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3.15 leds on bl the sx9510/11 offers eight bl pins that both detect the capacitance change on the touch/prox sensor an d drive the associated led. the polarity of the bl pins is defined as in the fi gure below. figure 32 led between bl and ls pins the pwm blocks used in blp and led modes are 8-bits based and clocked at 2mhz typ. hence offering 256 selectable pulse width values with a granularity of 0.5us typ. figure 33 pwm definition, (a) small pulse width, (b ) large pulse width
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 27 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3.15.1 led fading the sx9510/11 supports two different fading modes, namely single and continuous. these fading modes ca n be configured for each gpio individually. please see bl parameters for more information on how to confi gure this feature. i) single fading mode: the led pin fades in when the associated button is touched and it fades out when it is released. this is shown in figure 34 fading-in off intensity on intensity delay_off fading-out off intensity on off off figure 34 single fading mode ii) continuous fading mode: the led in and fades out continuously when the asso ciated button is touched. the fading in and out sto ps when the button is released. this is shown in figure 35. fading-in off intensity on intensity fading-out off intensity on off figure 35 continuous fading mode
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 28 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 3.15.2 intensity index vs. pwm pulse width tables below show the pwm pulse width for a given i ntensity (n) setting (for both linear and log modes ). n lin/ log n lin/ log n lin/ log n lin/ log n lin/ log n lin/ log n lin/ log n lin/ log 0 0/0 32 33/5 64 65/12 96 97/26 128 129/48 160 161/81 192 193/125 224 225/184 1 2/0 33 34/5 65 66/13 97 98/27 129 130/49 161 162/82 193 194/127 225 226/186 2 3/0 34 35/5 66 67/13 98 99/ 27 130 131/50 162 163/83 194 195/129 226 227/188 3 4/0 35 36/5 67 68/13 99 100/28 131 132/51 163 164/84 195 196/130 227 228/190 4 5/0 36 37/5 68 69/14 100 101/29 132 133/52 164 165/86 196 197/132 228 229/192 5 6/2 37 38/6 69 70/14 101 102/29 133 134/53 165 166/87 197 198/133 229 230/194 6 7/2 38 39/6 70 71/14 102 103/30 134 135/54 166 167/88 198 199/135 230 231/197 7 8/2 39 40/6 71 72/15 103 104/30 135 136/55 167 168/89 199 200/137 231 232/199 8 9/2 40 41/6 72 73/15 104 105/31 136 137/55 168 169/91 20 0 201/139 232 233/201 9 10/2 41 42/6 73 74/15 105 106/32 137 138/56 169 170/92 201 202/140 233 234/203 10 11/2 42 43/7 74 75/16 106 107/32 138 139/57 170 171/93 202 203/142 234 235/205 11 12/2 43 44/7 75 76/16 107 108/33 139 140/58 171 172/95 203 204/14 4 235 236/208 12 13/2 44 45/7 76 77/16 108 109/33 140 141/59 172 173/96 204 205/146 236 237/210 13 14/2 45 46/7 77 78/17 109 110/34 141 142/60 173 174/97 205 206/147 237 238/212 14 15/3 46 47/7 78 79/17 110 111/35 142 143/61 174 175/99 206 207/149 238 2 39/215 15 16/3 47 48/8 79 80/18 111 112/35 143 144/62 175 176/100 207 208/151 239 240/217 16 17/3 48 49/8 80 81/18 112 113/36 144 145/63 176 177/101 208 209/153 240 241/219 17 18/3 49 50/8 81 82/19 113 114/37 145 146/64 177 178/103 209 210/155 241 242/2 21 18 19/3 50 51/8 82 83/19 114 115/38 146 147/65 178 179/104 210 211/156 242 243/224 19 20/3 51 52/9 83 84/20 115 116/38 147 148/66 179 180/106 211 212/158 243 244/226 20 21/3 52 53/9 84 85/20 116 117/39 148 149/67 180 181/107 212 213/160 244 245/229 21 22/3 53 54/9 85 86/21 117 118/40 149 150/68 181 182/109 213 214/162 245 246/231 22 23/3 54 55/9 86 87/21 118 119/40 150 151/69 182 183/110 214 215/164 246 247/233 23 24/4 55 56/10 87 88/22 119 120/41 151 152/71 183 184/111 215 216/166 247 248/236 24 25/4 56 57/10 88 89/22 120 121/42 152 153/72 184 185/113 216 217/168 248 249/238 25 26/4 57 58/10 89 90/23 121 122/43 153 154/73 185 186/114 217 218/170 249 250/241 26 27/4 58 59/10 90 91/23 122 123/44 154 155/74 186 187/116 218 219/172 250 251/243 27 2 8/4 59 60/11 91 92/24 123 124/44 155 156/75 187 188/117 219 220/174 251 252/246 28 29/4 60 61/11 92 93/24 124 125/45 156 157/76 188 189/119 220 221/176 252 253/248 29 30/4 61 62/11 93 94/25 125 126/46 157 158/77 189 190/121 221 222/178 253 254/251 30 31 /4 62 63/12 94 95/25 126 127/47 158 159/78 190 191/122 222 223/180 254 255/253 31 32/5 63 64/12 95 96/26 127 128/48 159 160/80 191 192/124 223 224/182 255 256/256 table 7 intensity index vs. pwm pulse width (normal polarity) recommended/default settings are inverted polarity (to take advantage from high sink current capabilit y) and logarithmic mode (due to the non-linear response of the human eye). 3.15.3 led triple reporting the button information touch and release can be rep orted on the leds in dual mode (on and off). the proximity information can be shown using the du al mode by attributing a dedicated led to the proxi mity sensor. the led will show then proximity detected o r no proximity detected. the fading principles are equal to the fading of sensors defined as buttons as described i n the previous sections. in triple mode proximity is reported on all leds by an intermediate led intensity.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 29 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs figure 36 leds in triple reporting mode proximity figure 36 shows an example of proximity detection a nd the reporting on leds. as soon as proximity is d etected all leds (2 leds are shown for simplicity) will fad e in and stop at the proximity intensity level. in case proximity is not detected anymore then the leds remain at the pr oximity intensity for a configurable time and then the fading out will start. figure 37 leds in triple reporting mode proximity a nd touch figure 37 shows an example of proximity detection f ollowed by a rapid touch on the sensor sd1. the leds d1 and d2 will fade in as soon as proximit y is detected (using the inc_prox parameter). as soon as the finger touches the sensor sd1 the fa ding in of d1 will go to the on intensity (using th e touch increment parameter). the led d2 remains at the proximity intensity level as sensors sd2 is not touched. if the finger is removed rapidly the fading out of d1 will first use the touch decrement parameter to the proximity intensity level. if the finger leaves the proximity region d1 and 2 will fade out simultaneously using the proximity delay and decrement parameters.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 30 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4 d etailed c onfiguration descriptions 4.1 introduction the sx9510/11 configuration parameters are taken fr om the nvm and loaded into the registers at power-u p or upon reset. the registers are split by functionality into confi guration sections: general section: operating modes, capacitive sensors section: related to lower level capacitive sensing, led special purpose outputs buzzer infrared (ir) system (reserved) the address space is divided up into areas that are (can be) stored in nvm and areas that are dynamic and not stored. within the register address space are values design ated as reserved. these values can be disregarded when reading but bust be set to the specified values whe n writing. address name address name 0x00 general control and status irqsrc nvm area 0x38 cap sensing capsensestuck 0x01 touchstatus 0x39 capsenseframeskip 0x02 proxstatus 0x3a capsensemisc 0x03 compstatus 0x3b proxcombchanmask 0x04 nvmctrl 0x3c reserved 0x05 reserved 0x3d reserved 0x06 reserved 0x3e special output spochanmap nvm area 0x07 spo2mode 0x3f spolevelbl0 0x08 pwrkey 0x40 spolevelbl1 0x09 irqmask 0x41 spolevelbl2 0x0a reserved 0x42 spolevelbl3 0x0b reserved 0x43 spolevelbl4 0x0c led control ledmap1 0x44 spolevelbl5 0x0d ledmap2 0x45 spolevelbl6 0x0e ledpwmfreq 0x46 spolevelbl7 0x0f ledmode 0x47 spolevelidle 0x10 ledidle 0x48 spolevelprox 0x11 ledoffdelay 0x49 reserved 0x12 led1on 0x4a reserved 0x13 led1fade 0x 4b buzzer buzzertrigger 0x14 led2on 0x4c buzzerfreq 0x15 led2fade 0x4d reserved 0x16 ledpwridle 0x4e ir iraddressoffset 0x17 ledpwron 0x4f ircommandoffset
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 31 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 0x18 ledpwroff 0x50 irheadermarkwidth 0x19 ledpwrfad e 0x51 irheaderspacewidth 0x1a ledpwronpw 0x52 irmarkwidth 0x1b ledpwrmode 0x53 irspacewidth0 0x1c reserved 0x54 irspacewidth1 0x1d reserved 0x55 irsize 0x1e cap sensing capsenseenable 0x56 iraddressmsb 0x1f capsensrange0 0x57 iraddresslsb 0x20 capsenserange1 0x58 ircommand0 0x21 capsenserange2 0x59 ircommand1 0x22 capsenserange3 0x5a ircommand2 0x23 capsenserange4 0x5b ircommand3 0x24 capsenserange5 0x5c ircommand4 0x25 capsenserange6 0x5d ircommand5 0x26 capsenserange7 0x5e ircommand6 0x27 capsenserangeall 0x5f ircommand7 0x28 capsensethresh0 0x60 irmargin 0x29 capsensethresh1 0x61 reserved 0x2a capsensethresh2 0x62 reserved 0x2b capsensethresh3 0x63 sensor readback capsensechanselect 0x2c capsensethresh4 0x64 capsenseusefuldatamsb 0x2d capsensethresh5 0x65 capsenseusefuldatalsb 0x2e capsensethresh6 0x66 capsenseaveragedatamsb 0x2f capsensethresh7 0x67 capsenseaveragedatalsb 0x30 capsensethreshcomb 0x68 capsensediffdatamsb 0x31 capsenseop 0x69 capsensediffdatalsb 0x32 capsensemode 0x6a capsensecompmsb 0x33 capsensedebounce 0x6b capsensecomplsb 0x34 capsensenegcompthresh 0x6c reserved 0x35 cap senseposcompthresh 0x36 capsenseposfilt 0xfe reserved 0x37 capsensenegfilt 0xff i2csoftreset table 8 register map
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 32 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.2 general control and status 4.2.1 interrupt source address name acc bits field function 0x00 irqsrc r/w 7:0 irq source indicate active irqs 0 : irq inactive 1 : irq active bit map 7 : reset 6 : touch 5 : release 4 : near (prox on) 3 : far (prox off) 2 : compensation done (write a 1 to this bit to tri gger a compensation on all channels) 1 : reserved, will read 0 0 : reserved, will read 0 the irq source register will indicate that the spec ified event has occurred since the last read of thi s register. if the nirq function is selected for spo2 then it will ind icate the occurrence of any of these events that ar e not masked out in register 0x09. the irq mask in register 0x09 will prevent an irq f rom being indicated by the nirq pin but it will not prevent the irq from being noted in this register. 4.2.2 touch status address name acc bits field function 0x01 touchstatus r 7:0 touch status indicates touch detected on indi cated bl channel. bit 7 = bl7 bit 0 = bl0 0 : no touch detected 1 : touch detected the touch status register will indicate when a touc h occurs on one of the bl channels. a touch is indi cated when a channels diffdata value goes at least the hyst va lue above its threshold level for debounce number of consecutive measurement cycles. a touch is lost whe n a channels diffdata value goes at least hyst valu e below its threshold for debounce number of measurement c ycles. this is a dynamic read only regester that is not stored in nvm. example: bl2 is set to a threshold of 400 (0x21 = 0 x19), a hyst of 8 (0x37 [7:5] = 3b001), a touch de bounce of 0 (0x33 [3:2] = 2b00) and a release debounce of 2 (0 x33 [1:0] = 2b01). a touch will be indicated the first measurement cyc le that the diffdata goes above 408 and the touch w ill be lost when the diffdata value goes below 392 on two succ essive measurement cycles.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 33 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.2.3 proximity status address n ame acc bits field function 0x02 proxstatus r 7 proxbl0 indicates proximity detected on bl0 0 : no proximity detected 1 : proximity detected (if prox on bl0 enabled (0x31[6])) r 6 proxmulti indicates proximity detected on combined channels 0 : no proximity detected 1 : proximity detected (if prox on combined channels enabled (0x31[5]) and channels enabled for use (0x3b)) r 5 proxmulti comp pending indicates compensation pending for combined channel prox sensing 0 : compensation not pending 1 : compensation pending (if prox on combined channels enabled (0x31[5]) and channels enabled for use (0x3b)) r 4:0 reserved reserved, will read 00000 the proxbl0 bit will indicate proximity detected on the bl0 pin, the proxmulti bit will indicate proxi mity on the combined channels and the proxmulti comp pending bi t will indicate that a compensation has been reques ted for the combined channels and is pending. (for sx95 10 and if enabled), 4.2.4 compensation status address name acc bits field function 0x03 compstatus r 7:0 comp pending indicates compensation pending on indicated bl channel. bit 7 = bl7 bit 0 = bl0 0 : compensation not pending 1 : compensation pending the comp pending register indicates which pins from bl0 to bl7 have compensations requested and pendin g. 4.2.5 nvm control address name acc bits field function 0x04 nvmctrl r/w 7:4 nvm burn write 0x50 followed by 0xa0 to initiat e transfer of reg 0x07 through 0x70 to nvm r/w 3 nvm read trigger nvm read. 0 : do nothing 1 : read contents of current active nvm area into registers r 2:0 nvm area indicates current active nvm area 000 : no areas are programmed. 001 : user1 area is programmed and in use. 011 : user2 area is programmed and in use. 111 : user3 area is programmed and in use. the nvm area field indicates which of the user nvm areas are currently programmed and active (1, 2 or 3). the nvm read bit gives the ability to manually request that the contents of the nvm be transferred to the registers and nvm burn field gives the ability to burn the cu rrent registers to the next available nvm area. normally, the transfer of data from the nvm to the registers is done automatically on power up and upo n a reset but occasionally a user might want to force a read manually. registers 0x07 through 0x60 are stored to nvm and l oaded from nvm. caution, there are only three user areas and attemp ts to burn values beyond user area 3 will be ignore d.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 34 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.2.6 spo2 mode control address name acc bits field function 0x07 spo2mode r/w 7 reserved reserved, set to 0 r/w 6:5 spo2 config set function of spo2 pin 00 : pin is open drain nirq 01 : pin drives buzzer (see registers 0x4b and 0x4c ) 10 : pin is analog output 2 11 : tv power state input (see registers 0x07[4] an d 0x1b[7]) r/w 4 tv power state if spo2 set to tv power state input then tv power state indicated by this bit, if spo2 set to other function then host writes this bit to indicate current tv power state. 0 : off 1 : on r/w 3:0 reserved reserved, set to 0000 the spo2 config field will specify the functionalit y of the spo pin. when selected as nirq, the open d rain output will go low whenever a non-masked irq occurs and th e nirq will go back high after a register 0x00 is r ead over the i2c. when selected as buzzer, the spo2 pin will drive a 2 phase 2 frequency signal onto an externa l buzzer for each specified event (see buzzer section). when selected as spo2, pin operates as an analog output similar to spo1 (see spo section). if selected as tv power state, the pin is driven from the system pmic with a high (spo2 = svdd) indicating that the system power is o n and a low (spo2 = gnd) when the system power is o ff. the tv power state bit reads back the current state of spo2 if spo2 is selected for tv power state, ot herwise the system should write to this bit to indicate the current system power state. the sx9510/11 needs to know the current state in able to correctly process some of the led modes for the power button (see led modes). 4.2.7 power key control (for generation of pwron si gnal) address name acc bits field functi on 0x08 pwrkey r/w 7:0 power keys set which bl sensors will trigger a poweron pulse when touched. bit 7 = bl7 bit 0 = bl0 0 : do not use channel 1 : use channel if bl7 is enabled (0x1b[1]), it will be the main po wer button with respect to power button led functions (see reg 0x16 through 0x1b) the power keys field is a map that indicates which of the bl0 through bl7 channels should trigger a pu lse on the pwron pin when touched. this should not be confused with the bl7 power key enable bit as described in register 0x1b.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 35 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.2.8 interrupt request mask address name acc bits field function 0x09 irqmask r/w 7:0 irq mask set which irqs will be trigger an nirq (if enabled on spo2) and report in reg 0x00 0 : disable irq 1 : enable irq bit map 7 : reset 6 : touch 5 : release 4 : near (prox on) 3 : far (prox off) 2 : compensation done 1 : reserved, set to 0 0 : reserved, set to 0 the irq mask field determines which irq events will trigger an nirq signal on spo2 if spo2 is set to t he nirq function. 4.2.9 i2c soft reset address name acc bits field function 0xff i2csoftreset w 7:0 i2c soft reset write 0xde f ollowed by 0x00 to reset trigger a device reset and nvm re-load by writing 0 xde followed by 0x00 to this register. 4.3 led control 4.3.1 led map for engine 1 and 2 address name acc bits field function 0x0c ledmap1 r/w 7:0 led engine map 1 assign indicated bl channel to led engine 1 bit 7 = bl7 bit 0 = bl0 0 : do not assign to led engine 1 1 : assign to led engine 1 0x0d ledmap2 r/w 7:0 led engine map 2 assign in dicated bl channel to led engine 2 bit 7 = bl7 bit 0 = bl0 0 : do not assign to led engine 2 1 : assign to led engine 2 write a 1 for each bit (7 through 0) into the led e ngine map 1 field for each channel (bl7 through bl0 ) that will be driven by led engine 1. write a 1 for each bit (7 through 0) into the led e ngine map 2 field for each channel (bl7 through bl0 ) that will be driven by led engine 2. in most cases each bl channel will only be assigned to one of the engines but there are some rare case s where a channel will be assigned to both. 4.3.2 led pwm frequency address name acc bits field function 0x0e ledpwmfreq r/w 7:0 led pwm frequency ledpwmfre q = 2mhz / n the led pwm frequency is derived from the 2mhz osci llator and is the primary method for controlling th e bl7 through bl0 frame scanning rate as well as impactin g the maximum brightness achievable on each led and impacting the smoothness of the led illumination (f licker prevention).
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 36 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs as displayed in figure 6, the capsense measurements and led pwm drive is time multiplexed. the capsens e measurement time is nominally 648us and the led pwm time is 255 led clocks long. the led refresh frequ ency must be above 50/60hz to ensure that there is not a noticeable flicker on the leds. so we have: led max brightness = 255/(648us * ledpwmfreq + 255) led refresh frequency = 1 / (648us + 255/ledpwmfreq ) 4.3.3 led mode address name acc bits field function 0x0f ledmode r/w 7:4 led fade repeat set number of fade in/out repea ts when in led repeat x low and repeat x high modes (see reg 0x0f[1:0]) r/w 3 reserved reserved, set to 0 r/w 2 led fading set led fade in and fade out type 0 : linear 1 : log r/w 1:0 led mode set led mode of operation 00 : single shot 01 : repeat continuous 10 : repeat x low 11 : repeat x high 4.3.4 led idle level address name acc bits field function 0x10 ledidle r/w 7:0 led engine 1 & 2 idle level set led engine 1 and led engine 2 idle intensity level. 4.3.5 led off delay address name acc bits field function 0x11 ledoffdelay r/w 7:4 led engine 1 delay off time set time delay from loss of touch/prox to start of fade out. delay = n * 256ms r/w 3:0 led engine 2 delay off time set time delay from loss of touch/prox to start of fade out. delay = n * 256ms 4.3.6 led engine 1 on level address name acc bi ts field function 0x12 led1on r/w 7:0 led engine 1 on level set led engine 1 on intensity level. 4.3.7 led engine 1 fade in/out timing address name acc bits field function 0x13 led1fade r/w 7:4 led engine 1 fade in time set time per intensity step when chan ging from idle to on, idle to prox or prox to on states. steptime = (n + 1) * 500us the total time required to change from one level to another will be: changetime = abs(currlevel - newlevel) * steptime
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 37 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs r/w 3:0 led engine 1 fade out time set time per intensity step when changing from on to idle, on to prox or prox to idle states. steptime = (n + 1) * 500us the total time required to change from one level to another will be: changetime = abs(currlevel - newlevel) * steptime 4.3.8 led engine 2 on level address name acc bits field function 0x14 led2on r/w 7:0 led engine 2 on level set led e ngine 2 on intensity level. 4.3.9 led engine 2 fade in/out timing address name acc bits field function 0x15 led2fade r/w 7:4 led engine 2 fade in time set time per intensity ste p when changing from idle to on, idle to prox or prox to on states. steptime = (n + 1) * 500us the total time required to change from one level to another will be: changetime = abs(currlevel - newlevel) * steptime r/w 3:0 led engine 2 fade out time set time per intensity step when changing from on to idle, on to prox or prox to idle states. steptime = (n + 1) * 500us the total time required to change from one level to another will be: changetime = abs(currlevel - newlevel) * steptime 4.3.10 led power button idle level address name acc bits field function 0x16 ledpwridle r/w 7:0 power button led idle level set power button led engine idle intensity level. 4.3.11 led power button on level address name acc bits field function 0x17 ledpwron r/w 7:0 power button led o n level set power button led engine on intensity level. 4.3.12 led power button off level address name acc bits field function 0x18 ledpwroff r/w 7:0 power button led off level set power button led engine off intensity level. 4.3.13 led power button fade in/out timing address name acc bits field function 0x19 ledpwrfade r/w 7:0 power button fade in/out time set time per intensity step when changing from one level to another. steptime = (n + 1) * 250us the total time required to change from one level to another will be: changetime = abs(currlevel - newlevel) * steptime
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 38 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.3.14 power-on pulse width address name acc bits field function 0x1a ledpwronpw r/w 7:0 power on pulse width set the duration of both the power on pulse driven on the pwron pin and the power led on time in breath idle power mode. poweronpw = (n + 1) * 1ms the power on pulse is triggered by either the power button (if power button enabled (0x1b[1])) or by an ir power event (if ir enabled (0x4e through 0x60)) 4.3.15 led power button mode address name acc bits fiel d function 0x1b ledpwrmode r/w 7 power led off mode enable off sequence based on t v power state (0x07[4]) 0 : switch from idle to breathing 1 : switch from idle (0x16) to power led max (0x1b[5] and 0x17) for power on pw time (0x1a) before switching to breathing if tv power state = 1 (0x07[4]) r/w 6 power led max level set power led max level to be used during power up and power down sequences 0 : max set to power button led on level 1 : max set to 255 r/w 5 power led breath max set which level to use as hi gh level while breathing 0 : breathing swings between led power button off level (0x18) and led power button idle level (0x16) 1 : breathing swings between led power button off level (0x18) and led power button on level (0x17) r/w 4 power led wave form set power led waveform type 0 : breath idle mode, power led goes from idle to breathing, breathes for power on pw time and then goes back to idle 1 : breath idle mode, power led goes from breathing to power led max for power on pw time and then goes to idle r/w 3 power led ir reporting pw set power led pulse width when reporting valid ir signals 0 : 32ms 1 : 128ms r/w 2 power led ir reporting en enable the reporting of valid ir signals by flashing the power led 0 : no ir reporting 1 : report ir commands r/w 1 power button en enable bl7 as power button 0 : bl7 is normal button 1 : bl7 is power button r/w 0 led touch polarity invert invert the polarity of the led touch on level 0 : led on level = programmed on level 1 : led on level = 255 - programmed on level effects touch on level only, not idle or prox levels.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 39 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.4 capsense control 4.4.1 capsense enable address name acc bits field function 0x1e capsenseenable r/w 7:0 cap sense en set which bl sensors are enabled bit 7 = bl7 bit 0 = bl0 0 : disabled 1 : enabled 4.4.2 capsense 0 through 7 (and combined channel mo de) delta cin range and ls control address name acc bits field function 0x1f capsensrange0 r/w 7:6 ls control ls usage during measurements for bl0 00 : ls high-z (off) 01 : dynamically driven with measurement signal (preferred) 10 : ls tied to gnd 11 : ls tied to an internal vref r/w 5:2 reserved reserved, set to 0000 r/w 1:0 delta cin range for bl0 00 : +/-7pf 01 : +/-3.5pf 10 : +/-2.8pf 11: +/-2.3pf 0x20 capsenserange1 r/w 7:0 same as capsensrange0 but for bl1 0x21 capsenserange2 r/w 7:0 same as capsensrange0 but for bl2 0x22 capsenserange3 r/w 7:0 same as capsensrange0 but for bl3 0x23 capsenserange4 r/w 7:0 same as capsensrange0 but for bl4 0x24 capsenserange5 r/w 7:0 same as capsensrange0 but for bl5 0x25 capsenserange6 r/w 7:0 same as capsensrange0 but for bl6 0x26 capsenserange7 r/w 7:0 same as capsensrange0 but for bl7 0x27 capsenserangeall r/w 7:0 same as capsensrange0 but for combined channels used as a prox sensor 4.4.3 capsense 0 through 7 (and combined channel mo de) detection threshold address name acc bits field function 0x28 capsensethresh0 r/w 7:0 touch detection threshold bl0 set the touch/prox detection threshold for bl0. threshold = n * 16 0x29 capsense thresh1 r/w 7:0 touch detection threshold bl1 same as capsensethresh0 but for bl1 0x2a capsensethresh2 r/w 7:0 touch detection threshold bl2 same as capsensethresh0 but for bl2 0x2b capsensethresh3 r/w 7:0 touch detection threshold bl3 same as capsensethresh0 but for bl3 0x2c capsensethresh4 r/w 7:0 touch detection threshold bl4 same as capsensethresh0 but for bl4 0x2d capsensethresh5 r/w 7:0 touch detection threshold bl5 same as capsensethresh0 but for bl5 0x2e capsensethresh6 r/w 7:0 touch detection threshold bl6 same as capsensethresh0 but for bl6 0x2f capsensethresh7 r/w 7:0 touch detection threshold bl7 same as capsensethresh0 but for bl7 0x30 capsensethreshcomb r/w 7:0 touch detection threshold combined same as capsensethresh0 but for combined channels used as a prox sensor
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 40 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.4.4 capsense auto compensation, proximity on bl0 and combined channels proximity enable address name acc bits field function 0x31 capsenseop r/w 7 auto compensation 0 : enable automatic compensation 1 : disable automatic compensation r/w 6 proximity bl0 0 : bl0 is normal button 1 : bl0 is proximity sensor r/w 5 proximity combined channels 0 : do not use combined channels for proximity sensing 1 : use combined channels (0x3b) for proximity sensing r/w 4:0 reserved reserved, set to 10100 4.4.5 capsense raw data filter coef, digital gain, i2c touch reporting and capsense reporting address name acc bits field function 0x32 capsensemode r/w 7:5 raw filter filter coefficient to turn raw data into useful data 000 : off 001 : 1-1/2 010 : 1-1/4 011 : 1-1/8 100 : 1-1/16 101 : 1-1/32 110 : 1-1/64 111 : 1-1/128 r/w 4 touch reporting (i2c) set which touches will be reported in touch status (0x01) 0 : report touches according to capsense report mode (0x32[1:0]) 1 : report all touches r/w 3:2 capsense digital gain set digital gain factor 00 : no gain, delta cin range = delta cin range 01 : x2 gain, delta cin range = delta cin range / 2 10 : x4 gain, delta cin range = delta cin range / 4 11 : x8 gain, delta cin range = delta cin range / 8 delta cin outside of range will saturate. r/w 1:0 capsense report mode set mode for reporting touches on leds (and in reg 0x01 if 0x32[4] = 0) 00 : single, only report the first touch 01 : strongest, report the strongest touch 10 : double, report the first touch for a bl assigned to led engine 1 and the first touch for a bl assigned to led engine 2 11 : double led, report the first two touches for each led engine but the second touch goes directly from idle to on or on to idle with no fading note: when prox detection is enabled, led engine 1 is dedicated to the prox function and that limits these modes to led engine 2.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 41 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.4.6 capsense debounce address name acc bits field function 0x33 capsensedebounce r/w 7:6 capsense prox near debounce set number of cons ecutive samples that proximity detection must be true before proximity is indicated on leds and in register 0x02 00 : debouncer off, proximity indicated on first sample 01 : 2 samples 10 : 4 samples 11 : 8 samples r/w 5:4 capsense prox far debounce set number of consecutive samples that proximity detection must be false before los of proximity is indicated on leds and in register 0x02 00 : debouncer off, loss of proximity indicated on first sample 01 : 2 samples 10 : 4 samples 11 : 8 samples r/w 3:2 capsense touch debounce set number of consecutive samples that touch detection must be true before touch is indicated on leds and in register 0x01 00 : debouncer off, touch indicated on first sample 01 : 2 samples 10 : 4 samples 11 : 8 samples r/w 1:0 capsense release debounce set number of consecutive samples that touch detection must be false before release is indicated on leds and in register 0x01 00 : debouncer off, release indicated on first sample 01 : 2 samples 10 : 4 samples 11 : 8 samples 4.4.7 capsense negative auto compensation threshold address name acc bits field function 0x34 capsensenegcompthresh r/w 7:0 capsense neg comp thresh set negative level that average data must cross before triggering a negative drift auto compensation. threshold = n * 128
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 42 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.4.8 capsense positive auto compensation threshold address name acc bits field function 0x35 capsenseposcompthresh r/w 7:0 capsense pos comp thresh set positive level that average data must cross before triggering a positive drift auto compensation. threshold = n * 128 4.4.9 capsense positive filter coef, positive auto compensation debouce and proximity hyst address name acc bits field function 0x36 capsenseposfilt r/w 7:5 capsense prox hyst set proximity detection/loss hysteresis 000 : 2 001 : 8 010 : 16 011 : 32 100 : 64 101 : 128 110 : 256 111 : 512 prox detection when delta data >= (prox thresh + prox hyst), prox lost when delta data <= (prox thresh - prox hyst) r/w 4:3 capsense pos comp debounce set number of consecutive samples that average data is above the positive compensation threshold before a compensation is triggered 00 : debouncer off, compensation triggered on first sample 01 : 2 samples 10 : 4 samples 11 : 8 samples r/w 2:0 capsense ave pos filt coef set filter coefficient for turning positive useful data into average data 000 : off, no averaging of positive data 001 : 1-1/2 010 : 1-1/4 011 : 1-1/8 100 : 1-1/16 101 : 1-1/32 (suggested) 110 : 1-1/64 111 : 1-1/128
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 43 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.4.10 capsense negative filter coef, negative auto compensation debounce and touch hyst address name acc bits field function 0x37 capsensenegfilt r/w 7:5 capsense touch hyst set touch detection/loss hy steresis 000 : 2 001 : 8 010 : 16 011 : 32 100 : 64 101 : 128 110 : 256 111 : 512 touch detection when delta data >= (touch thresh + touch hyst), touch lost when delta data <= (touch thresh - touch hyst) r/w 4:3 capsense neg comp debounce set number of consecutive samples that average data is below the negative compensation threshold before a compensation is triggered 00 : debouncer off, compensation triggered on first sample 01 : 2 samples 10 : 4 samples 11 : 8 samples r/w 2:0 capsense ave neg filt coef set filter coefficient for turning negative useful data into average data 000 : off, no averaging of positive data 001 : 1-1/2 010 : 1-1/4 (suggested) 011 : 1-1/8 100 : 1-1/16 101 : 1-1/32 110 : 1-1/64 111 : 1-1/128
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 44 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.4.11 capsense stuck-at timer and periodic compens ation timer address name acc bits field function 0x38 capsensestuck r/w 7:4 capsense stuck at timer set stuck at timeout timer. if touch lasts longer than timer, touch is disqualified and a compensation is triggered. 0000 : off 00bb : timeout = bb * frametime * 64 01bb : timeout = bb * frametime * 128 1bbb : timeout = bbb * frametime * 256 frametime = (capsense time + led frame time) * 9 capsense time = 648us led frame time = 255 / led frequency (0x0e) r/w 3:0 capsense periodic comp set periodic compensation interval 0000 : off, no periodic compensations bbbb : periodic compensation triggered every bbbb * 128 frames frametime = (capsense time + led frame time) * 9 capsense time = 648us led frame time = 255 / led frequency (0x0e) 4.4.12 capsense frame skip setting fro active and s leep address name acc bits field function 0x39 capsenseframeskip r/w 7:4 capsense active frame skip set number of frames to skip measuring bl pins between frames that do measure the bl pins in active mode. timing and led drive remains constant. frames to skip = n r/w 3:0 capsense sleep frame skip set number of frames to skip measuring bl pins between frames that do measure the bl pins in sleep mode. timing and led drive remains constant. frames to skip = n * 4
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 45 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.4.13 capsense sleep enable, auto compensation cha nnels threshold, inactive bl control addr ess name acc bits field function 0x3a capsensemisc r/w 7:6 reserved reserved, set to 00 r/w 5:4 comp chan num thresh set how many channels must request compensation before a compensation is done on all channels. 00 : each channel is compensated individually when compensation is requested for that channel bb : compensation for all channels is triggered when bb channels request compensation r/w 3 capsense sleep mode enable 0 : disable sleep mode 1 : enable sleep mode r/w 2 reserved reserved, set to 0 r/w 1:0 capsense inactive bl mode set what is done with bl pins when other bl pins are being measured. 00 : inactive bls are driven to ls levels 01 : inactive bls are driven to ls levels 10 : inactive bls are hiz 11 : inactive bls are connected to gnd 4.4.14 proximity combined channel mode channel mapp ing address name acc bits field function 0x3b proxcombchanmask r/w 7:0 prox combined chan mask assign indicated bl channel to be used in combined channel mode for proximity detection bit 7 = bl7 bit 0 = bl0 0 : do not use in combined channel mode 1 : use in combined channel mode 4.5 spo control 4.5.1 spo channel mapping address name acc bits field function 0x3e spochanmap r/w 7:0 spo channel mapping assign each bl pin to report touches on either spo1 or spo2. bit 7 = bl7 bit 0 = bl0 0 : report touches on spo1 1 : report touches on spo2
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 46 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.5.2 spo analog output levels (bl0 through bl7 tou ch, idle and proximity) address name acc bits field function 0x3f spolevelbl0 r/w 7:6 reserved reserved, set to 00 r /w 5:0 spo level bl0 specify analog output level for bl0 v = (n / 63) * svdd 0x40 spolevelbl1 r/w 7:6 reserved reserved, set to 00 r/w 5:0 spo level bl1 same as spolevelbl0 but for bl1 0x41 spolevelbl2 r/w 7:6 reserved reserved, set to 00 r/w 5:0 spo level bl2 same as spolevelbl0 but for bl2 0x42 spolevelbl3 r/w 7:6 reserved reserved, set to 00 r/w 5:0 spo level bl3 same as spolevelbl0 but for bl3 0x43 spolevelbl4 r/w 7:6 reserved reserved, set to 00 r/w 5:0 spo level bl4 same as spolevelbl0 but for bl4 0x44 spolevelbl5 r/w 7:6 reserved reserved, set to 00 r/w 5:0 spo level bl5 same as spolevelbl0 but for bl5 0x45 spolevelbl6 r/w 7:6 reserved reserved, set to 00 r/w 5:0 spo level bl6 same as spolevelbl0 but for bl6 0x46 spolevelbl7 r /w 7:6 reserved reserved, set to 00 r/w 5:0 spo level bl7 same as spolevelbl0 but for bl7 0x47 spolevelidle r/w 7:6 reserved reserved, set to 00 r/w 5:0 spo level idle specify analog output level for idle v = (n / 63) * svdd 0x48 spolevelprox r/w 7 spo report prox enable reporting of proximity on spo 0 : do not report proximity on spo 1 : report proximity on spo r/w 6 spo prox channel mapping 0 : report proximity on spo1 1 : report proximity on spo2 r/w 5:0 spo level prox specify analog output level for proximity v = (n / 63) * svdd 4.6 buzzer control 4.6.1 buzzer trigger event selection address name acc bits field function 0x4b buzzertrigger r/w 7:5 reserved reserved, set to 000 r/w 4 buzzer near 0 : do not activate buzzer on proximi ty detection 1 : activate buzzer on proximity detection r/w 3 buzzer far 0 : do not activate buzzer on proximit y loss 1 : activate buzzer on proximity loss r/w 2 buzzer touch 0 : do not activate buzzer on touch detection 1 : activate buzzer on touch detection r /w 1 buzzer release 0 : do not activate buzzer on touch release 1 : activate buzzer on touch release r/w 0 buzzer idle level set spo2 pin drive level in buzzer mode when buzzer is not active. 0 : gnd 1 : vdd
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 47 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.6.2 buzzer duration and frequency address name acc bits field function 0x4c buzzerfreq r/w 7:6 buzzer phase 1 duration 00 : 5ms 01 : 10ms 10 : 15ms 11 : 30ms r/w 5:4 buzzer phase 1 frequency 00 : 1khz 01 : 2khz 10 : 4khz 11 : 8khz r/w 3:2 buzzer phase 2 duration 00 : 5ms 01 : 10ms 10 : 15ms 11 : 30ms r/w 1:0 buzzer phase 2 frequency 00 : 1khz 01 : 2khz 10 : 4khz 11 : 8khz 4.7 ir control 4.7.1 ir phase polarity, encoding mode, header pres ent and address field offset address name acc bits field function 0x4e iraddressoffset r/w 7 ir phase polarity defines the polarity of the protocol . 0 : normal, 0 = [space;mark], 1 = [mark;space] 1 : inverted, 0 = [mark;space], 1 = [space;mark] r/w 6 ir encodi ng mode define s the encoding method . 0 : phase encoding 1 : space encoding r/w 5 ir header defines if the protocol contains a head er. 0 : yes 1 : no r/w 4:0 ir address offset defines the number of received bits to ignore before considering the start of the address field. 4.7.2 ir speed, command field offset and power led ir reporting mode address name acc bits field function 0x4f ircommandoffset r/w 7 reserved reserved, set to 0 r/w 6 ir activity report mode defines the match condition to flash the power led (cf. 0x1b[3:2]) 0 : address and command 1 : address only r/w 5 ir speed defines the base clock period for all ir width definitions/calculations: 0 : fast, 8us 1 : slow, 128us r/w 4:0 ir command offset defines the number of received bits to ignore before considering the start of the command field.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 48 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.7.3 ir header mark width address name acc bits field function 0x50 irheadermarkwidth r/w 7:0 ir header mark width defines the width/duration of the header mark. width = n * 16 * ir speed 4.7.4 ir header space width address name acc bits field function 0x51 irheade rspacewidth r/w 7:0 ir header space width defines the width /duration of the header space. width = n * 16 * ir speed 4.7.5 ir data mark width address name acc bits field function 0x52 irmarkwidth r/w 7:0 ir data mark width defines the width/duration of the data mark. width = n * ir speed 4.7.6 ir data space width for logic 0 address name acc bits field function 0x53 irspacewidth0 r/w 7:0 ir data space width 0 defines the width /duration of the data spac e for logic 0. width = n * ir speed in phase encoding mode, must be set to same value a s ir data mark width. 4.7.7 ir data space width for logic 1 address name acc bits field function 0x54 irspacewidth1 r/w 7:0 ir data space width 1 defines the width /duration of the data space for logic 1. width = n * ir speed in phase encoding mode, must be set to same value a s ir data mark width. 4.7.8 ir word order, address field size and command field size address name acc bits field function 0x55 irsize r/w 7 ir word order defines the order in which address and commands fields are expected: 0 : address , command 1 : command , address r/w 6:4 ir command size defines the siz e of the command in number of bits size = n + 1 r/w 3:0 ir address size defines the size of the address in number of bits size = n + 1 4.7.9 ir address msb and lsb address name acc bits field function 0x56 iraddressmsb r/w 7:0 ir address msb defines the a ddre ss expected from the matching remote control. 0x57 iraddresslsb r/w 7:0 ir address lsb upper bits of the concatenated registers will be ig nored if needed as defined in ir address size.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 49 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.7.10 ir commands 0 through 7 address name ac c bits field function 0x58 ircommand0 r/w 7:0 ir command 0 define the commands which will tri gger pwron pulse. if less than 8 commands are needed, the unused ones should be set to command 0. 0x59 ircommand1 r/w 7:0 ir command 1 0x5a ircommand2 r/w 7:0 ir command 2 0x5b ircommand3 r/w 7:0 ir command 3 0x5c ircommand4 r/w 7:0 ir command 4 0x5d ircommand5 r/w 7:0 ir command 5 0x5e ircommand6 r/w 7:0 ir command 6 0x5f ircommand7 r/w 7:0 ir command 7 upper bits of the all registers will be ignored if needed as defined in ir command size. 4.7.11 ir margin address name acc bits field function 0x60 irmargin r/w 7:4 reserved reserved, set to 0000 r/w 3:0 ir margin defines the ir timing margin. all ir width timings are tested against specified values +/- ir margin. margin for header = n * 16 * ir speed margin for data= n * ir speed recommended value is 0x0f. 4.8 real time sensor data readback 4.8.1 capsense channel select for readback address nam e acc bits field function 0x63 capsensechanselect r 7:4 reserved reserved, will read 0000 r 3:0 capsense chan select set which bl channel data will be present in registers 0x64 through 0x6b 0000 : bl0 0111 : bl7 1000 : combined channel proximity 4.8.2 capsense useful data msb and lsb address name acc bits field function 0x64 capsenseusefuldatamsb r 7:0 capsense useful data msb selected channel useful data. signed, 2's complement format 0x65 capsenseusefuldatalsb r 7:0 capsense useful da ta lsb 4.8.3 capsense average data msb and lsb address name acc bits field function 0x66 capsenseaveragedatamsb r 7:0 capsense average data msb selected channel average data. signed, 2's complement format 0x67 capsenseaveragedatalsb r 7:0 capsense average data lsb
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 50 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 4.8.4 capsense diff data msb and lsb address name acc bits field function 0x68 capsensediffdatamsb r 7:0 capsense diff data msb selected channel diff data. signed, 2's complement format 0x69 capsensediffdatalsb r 7:0 capsense diff data lsb 4.8.5 capsense compensation dac value msb and lsb address name acc bits field function 0x6a capsensecompmsb r/w 7:0 capsense comp msb offset compensation dac code. read : read the current value from the last compensation for the selected channel write : manually set the compensation dac for the selected channel. when written, the internal dac code is updated after the write of the lsb reg. msb and lsb regs should be written in sequence. 0x6b capsensecomplsb r/w 7:0 capsense comp lsb
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 51 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 5 i2c i nterface the i2c implemented on the sx9510/11 is compliant w ith: - standard (100kb/s), fast mode (400kb/s) - slave mode - 7 bit address (default 0x2b). the default address can be changed in the nvm at address 0x04. the host can use the i2c to read and write data at any time. three types of registers are considered: - status (read). these registers give information a bout the status of the capacitive buttons, gpis, op eration modes etc - control (read/write). these registers control the soft reset, operating modes, gpios and offset comp ensation. - registers gateway (read/write). these registers a re used for the communication between host and the registers. the registers gateway communication is done typically at power up and is not supposed to b e changed when the application is running. the regist ers needs to be re-stored each time the sx9510/11 i s powered down. the registers can be stored permanently in the nvm memory of the sx9510/11. the registers gateway communication over the i2c at power up is then not required. the i2c will be able to read and write from a start address and then perform read or writes sequential ly, and the address increments automatically. the supported i2c access formats are described in t he next sections. 5.1 i2c write the format of the i2c write is given in figure 38. after the start condition [s], the slave address (s a) is sent, followed by an eighth bit (0) indicat ing a write. the sx9510/11 then acknowledges [a] that it is being ad dressed, and the master sends an 8 bit data byte co nsisting of the sx9510/11 register address (ra). the slave a cknowledges [a] and the master sends the appropriat e 8 bit data byte (wd0). again the slave acknowledges [a]. in case the master needs to write more data, a succ eeding 8 bit data byte will follow (wd1), acknowledged by th e slave [a]. this sequence will be repeated until t he master terminates the transfer with the stop condition [p] . figure 38 i2c write the register address is incremented automatically w hen successive register data (wd1...wdn) is supplie d by the master.
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 52 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 5.2 i2c read the format of the i2c read is given in figure 39. after the start condition [s], the slave address (s a) is sent, followed by an eighth bit (0) indicat ing a write. the sx9510/11 then acknowledges [a] that it is being ad dressed, and the master responds with an 8 bit data consisting of the register address (ra). the slave acknowledges [a] and the master sends the repeated start condition [sr]. once again, the slave address (sa) is sent, followed by an eighth bit (1) indicating a read. the sx9510/11 responds with acknowledge [a] and the read data byte (rd0). if the master needs to read more data it will acknowledge [a] and the sx9510/11 will send the next read byte (rd1). this sequence can b e repeated until the master terminates with a nack [n ] followed by a stop [p]. figure 39 i2c read
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 53 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 6 p ackaging i nformation 6.1 package outline drawing sx9510 and sx9511 are assembled in a qfn-20 package as shown in figure 40 and tssop-24 as show in figure 41. figure 40 qfn package outline drawing
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 54 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs figure 41 tssop package outline drawing
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 55 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs 6.2 land pattern the land pattern of qfn-20 package is shown in figu re 42. the land pattern of tssop-24 package is shown in fi gure 43. figure 42 qfn-20 land pattern figure 43 tssop-24 land pattern
wireless & sensing products datasheet revision v1.12, november 2012 ? 2012 semtech corp. www.semtech.com 56 sx9510/11 8 capacitive buttons, leds, ir decoder and proximity controller with analog outputs contact information ? semtech 2012 all rights reserved. reproduction in whole or in pa rt is prohibited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or con tract, is believed to be accurate and reliable and may be cha nged without notice. no liability will be accepted by the publisher for any consequence of its use. publicati on thereof does not convey nor imply any license un der patent or other industrial or intellectual property rights. semtech assumes no responsibility or liabi lity whatsoever for any failure or unexpected operation resulting from misuse, neglect improper installatio n, repair or improper handling or unusual physical or electri cal stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified range. semtech products are not designed, intended, author ized or warranted to be suitable for use in life-support applications, devi ces or systems or other critical applications. inclusion of semtech products in such applications is understood to be undertaken solely at the customers own risk. sh ould a customer purchase or use semtech products for any such unauthorized application, the customer shall indemnify and hold semtech and its officers, employees, subsidiaries, affiliates, and distributo rs harmless against all claims, costs damages and a ttorney fees which could arise. notice: all referenced brands, product names, servi ce names and trademarks are the property of their respective owners. semtech corporation wireless and sensing products division 200 flynn road, camarillo, ca 93012 phone: (805) 498-2111 fax: (805) 498-3804


▲Up To Search▲   

 
Price & Availability of SX9510ETSTRT

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X