| Electronic Components Datasheet Search |
|
AS89010 Datasheet(PDF) 34 Page - ams-OSRAM AG |
|
|
|||||||||||||||||||||||||||||
AS89010 Datasheet(HTML) 34 Page - ams-OSRAM AG |
|
34 / 43 page ![]() ams.com db12348e_V3.11_preliminary_2017-07-06 Page 32 of 41 AS89010 V3.11 Figure 21: Principle program steps of a µC based software to control the converter in CMD and CONT Mode PowerOn- RESET I2C-Read (from MCDC to RAM): CREGL, CREGH, OPTREG, BREAK Modify in RAM: Set MODE in CREGH to 01 (=CMD) Command Measurement Mode (CMD Mode) Continuous Measurement Mode (CONT Mode) Modify in RAM (if desired): R in CREGL T in CREGL DIV/ENDIV in CREGH . . . I2C-Write (from RAM to MCDC): CREGL, CREGH, OPTREG, BREAK I2C-Write OSR register: 0x83 (Change to Measurement state) Wait for READY signal: Interrupt or Polling I2C-Read (from MCDC to RAM): Output Register Bank I2C-Write OSR register: 0x02 (Change to Configuration state) yes PowerOn- RESET I2C-Read (from MCDC to RAM): CREGL, CREGH, OPTREG, BREAK Modify in RAM: Set MODE in CREGH to 00 (=CONT) Modify in RAM (if desired): R in CREGL T in CREGL DIV/ENDIV in CREGH . . . I2C-Write (from RAM to MCDC): CREGL, CREGH, OPTREG, BREAK I2C-Write OSR register: 0x83 (Change to Measurement state) Wait for READY signal: Interrupt or Polling I2C-Read (from MCDC to RAM): Output Register Bank New measurement desired ? I2C-Write OSR register: 0x02 (Change to Configuration state) yes no New settings desired ? no yes I2C-Write OSR register: 0x02 (Change to Configuration state) New measurement desired ? no |
|
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 |