| Electronic Components Datasheet Search |
|
IC-LO Datasheet(PDF) 18 Page - IC-Haus GmbH |
|
|
|||||||||||||||||||||||||||||
IC-LO Datasheet(HTML) 18 Page - IC-Haus GmbH |
|
18 / 25 page ![]() prel imin ary prel imin ary iC-LO TRIANGULATION SENSOR Rev B3, Page 18/25 STARTUP BEHAVIOR, OPERATING MODES, AND STATUS REGISTER Startup behavior and operating modes After iC-LO has started up all internal registers and counters are reset to 0. Switching outputs SO and NSO are thus at 0. The warning output is activated. The device waits for further commands (operating mode STARTUP/RESET). Implemented commands By writing to address 0x0E commands can be executed and the device operating mode changed. OP Addr. 0x0E; bit 7:0 W Code Command Description 0x00 STARTUP/RESET Operating mode after power-down (reset of digital filters) 0x02 SINGLE_MEASURE Single measurement cycle started with rising NCS edge 0x03 PERIODIC_MEASURE Periodic measurement cycles, paused with NCS = ’0’ (normal operation mode) 0x04 OSC_OUT_ON Output 1 MHz clock at pin WARN 0x06 REG_PROT_ON Disable write access to registers 0x0-0xD 0x07 REG_PROT_OFF Enable write access to registers 0x0-0xD 0x08 TST_SO_ON Output active 0x09 TST_SO_OFF Output inactive 0x0A TST_WARN_ON Set warning output to ’1’ 0x0B TST_WARN_OFF Set warning output to ’0’ ...0xFF reserved for device test Table 27: Implemented Commands With command STARTUP/RESET internal state ma- chines, counters, and the status register are reset. The device waits for further commands. Command OSC_OUT_ON enables the output of a 1 MHz clock (based on the system clock) through pin WARN. With command REG_PROT_ON the internal configu- ration register addresses 0x00 . . . 0x0D are protected against overwriting. This write protection can be can- celled by command REG_PROT_OFF. Command TST_SO_ON sets switching output SO to active and NSO to inactive regardless of the internal SOI state (observe SOCNO and SOEN programming). Command TST_SO_OFF sets switching output SO to inactive and NSO to active regardless of the internal SOI state (observe SOCNO and SOEN programming). Command TST_WARN_ON sets warning output WARN to 1 regardless of the internal WARNI state. Command TST_WARN_OFF sets warning output WARN to 0 regardless of the internal WARNI state. Status register The status register is read out on a read access to register 0x0F. The switching state, warning, and tran- simpedance mode from the last measurement cycle are stored here, plus the last comparator results of the differential- (NKDF), warning- (KSW) and errorcom- parator (KSE). The result of the differentialcomparator is stored invertedly. Additionally the result of the LED driver current monitoring LEDOK is stored. Its vaule is ’1’ when the integrated LED driver is used and the LED is functioning properly. Otherwise its value is ’0’. The switching state (SOI) stored in the register is in- dependent of SOCNO (see page 16). Coding of TII is equivalent to that of TIM(1:0) (table 11). STATUS Addr. 0x0F; bit 7:0 R Bit Name Description 7 SOI Output from last measurement cycle 6 WARNI Warning from last measurement cycle 5:4 TII Transimpedance of last measurement 3 NKDF Last comparator result 2 KSW Last warning threshold result 1 KSE Last error threshold result 0 LEDOK LED current status Table 28: Status Register 0x0F |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |