I am struggling with an error for some time now.
We are transitioning from the NRF5 SDK to nrfConnect but the i2c connection to our vcnl4035 sensors only works sometimes.
I am getting this error when the sensor tries to initialise. I wrote the [sensor driver](https://github.com/felixbaral/zephyr_vcnl4035) myself (i mostly copied the code of the vcnl4040 from zephyr).
```
<dbg> vcnl4035: vcnl4035_init: vcnl4035_init
<err> i2c_nrfx_twim: Error on I2C line occurred for message 0
<err> vcnl4035: some error while reading: -5
```
The strange thin is that it works flawlessly when i first flash the old nrf5 SDK firmware and the flash the zypher code. If I `recover` the chip and then flash the zephyr code i am getting the above error.
It even works when I just flash the old firmware without running it. How can that be?
My devicetree entry looks like this:
```
```
I hooked up a logic analyzer and the offending i2c line looks like this: (but i ight redo these measurements)
Any ideas?