| 数据搜索系统,热门电子元器件搜索 |
|
AS7331 数据表(PDF) 47 Page - ams-OSRAM AG |
|
|
|||||||||||||||||||||||||||||
AS7331 数据表(HTML) 47 Page - ams-OSRAM AG |
|
47 / 72 page ![]() Document Feedback AS7331 Functional Description Datasheet • PUBLIC DS001047 • v4-00 • 2023-Mar-24 71 │ 46 Figure 41: Register Access Overview Address(1) [hex] Access in Configuration State Access in Measurement State Write Read Write (1 Byte) Read (2 Bytes) 0 OSR OSR OSR + STATUS 1 – – TEMP 2 – AGEN – MRES1 (A) 3 – – MRES2 (B) 4 – – MRES3 (C) 5 – – OUTCONV_L(2) 6 CREG1 – OUTCONV_H(2) 7 CREG2 – – 8 CREG3 – – 9 BREAK – – A EDGES – – B OPTREG – – (1) The 4 MSB bits of the register address are ignored. (2) OUTCONV is only available in SYND measurement mode with bit CREG2:EN_TM = “1”. The least significant byte comes first. 7.8.6 I²C General Procedure to Start with the AS7331 After applying the power supply voltage, the AS7331 is in the configuration state, but in the power down mode. 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 starting a measurement, 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 signals 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 needs to be changed to the 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. Afterward, the new configuration can be done. |
|
链接网址 |
| 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 |