| 数据搜索系统,热门电子元器件搜索 |
|
AS73211 数据表(PDF) 44 Page - OSRAM GmbH |
|
|
|||||||||||||||||||||||||||||
AS73211 数据表(HTML) 44 Page - OSRAM GmbH |
|
44 / 66 page ![]() Document Feedback AS73211 Functional Description Datasheet • PUBLIC DS000556 • v3-01 • 2018-Feb-07 65 │ 43 7.21 I²C General Procedure to start with the AS73211 After applying the power supply voltage the AS73211 is in the Configuration state, but in Power Down. The User can now set up the device for the application by writing the control registers. The success of the configuration can be proven by reading the control registers. Before a measurement can be started the state must be changed to the Measurement state. The last three bits (DOS) of the register OSR should be loaded with 011b. Now a conversion can be started with the measurement mode, which is selected by CREG3:MMODE. A falling slope of the output pin READY indicates the start. The rising edge at pin READY signalizes the end of conversion and the measurement results can be read via I²C communication. If a new configuration should be implemented, the device’s state has to be changed to Configuration state. Therefore the value 010b should be written into the bits OSR:DOS. This operation resets all measurement result registers to 00h, while the configuration registers keep their actual values. The new configuration can be done now. Figure 42: Example of Addressing the AS73211 to Read the Configuration Registers Starting at Address 0h with “automatically incremented values” After Power-On Reset or Software Reset (OSR:SW_RES) Figure 43: Example of Addressing the AS73211 to Read the Measurement Result Registers Starting at Address 4h The access of the result register bank with 2 byte each address (starting with the low byte), which is only possible within the Measurement state, has a special feature (see Figure 43). Reaching the last valid result register address (4h or 6h if SYND mode is activated with CREG2:EN_TM = ‚1‘) the next result register address is the default one 2h during read on. The setback to result register address 2h in Measurement mode does not take place if an address was set above the valid addressable space. S A 0 06h A 9Ch A CBh SLAVE ADDR. R/W 1 1 1 0 1 0 0 E8h address CREG1 A write EDGES write BREAK 6h 7h P 10h A 8h 52h A 9h 01h A Ah register address: data transferred from slave to master data transferred from master to slave A: acknowledge NA: not acknowledge write CREG1 write CREG2 write CREG3 S: START cond. Sr: repeated START condition P: STOP cond. S A 0 A SLAVE ADDR. R/W 1 1 1 0 1 0 0 E8h 04h address MRES3 Sr SLAVE ADDR. 1 1 1 0 1 0 0 E9h MRES1 A MRES1 2h read low byte read high byte 1 R/W MRES3 A A MRES3 A reg. addr.: 4h read low byte read high byte . . . NA P A data transferred from slave to master data transferred from master to slave A: acknowledge NA: not acknowledge P: STOP cond. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |