I2C Instruction For Sensor Operation - Omron D6F-PH User Manual

Mems differential pressure sensor
Table of Contents

Advertisement

9.

I2C Instruction for Sensor Operation

1. Initialization after power up [Must be done]
Issue this command 200 μs after turning on the power.
I2C command: The device must be unlocked then write 0x00 to the EEPROM
START
S
2. Execute MCU mode after desired configuration registers
Writing 06h to the Sensor Control Register (D040h) will execute the MCU mode outlined
in Section 6 with the configured setting for the ADC Resolution and Gain, Compensation.
Reading the Sensor control register after writing a 06h will show the MUX selection
chosen by the MCU. After running the process, MS bit will be set to "0".
[Caution]: Do not read or write to the Device while the MCU is executing. It would be
safe to read/write only after 33ms.
I2C command: Write 06h to the Sensor Control Register (D040h) (MS=1&MCU_on)
START
Slave Address
S
D8h (6Ch (7b)+ 0)
21
Control Register(0xB) to load NVM trim values, but keep the MCU
in non-reset state.
Slave Address
ACK
D8h (6Ch (7b)+ 0)
A
ACK
Access Address
A
00h
Serial Ctrl
Access Address
ACK
0Bh
A
ACK
Reg Address H
A
D0h
ACK
Write Data
18h
A
D6F-PH MEMS Differential pressure Sensor User's Manual (A288)
Write Data
ACK
00h
A
ACK
Reg Address L
A
ACK
STOP
06h
A
P
STOP
P
ACK
40h
A

Advertisement

Table of Contents
loading

Table of Contents