Dear Dialog_Support,
1.I am using I2C VEML6070 UV sensor for my project. I have referred the SDK i2c_eeprom code to configure my sensor. I have changed I2C_SLAVE_ADDRESS as per my sensor datasheet. I am able to write data to sensor register, but i am not able to read data from sensor register it always holds in WAIT_FOR_RECEIVED_BYTE();.
2.Just to confirm my code is correct, i have used same code with another I2C based accelerometer sensor the code works fine, i am able to read and write the registers.
3.But for same code i am not able to read register data of VEML6070 UV sensor data
Please help me why code holds in wait state?
Is there any troubleshooting procedure why is in wait state?
Thanks and Regards
Rohit
Keywords:
Device:
Hi Rajapurerohit,
你得到这个等待的原因,我s because the device on the other side never responds with data. The device goes in wait state and waits for the other side to send the data that it should so that the counter will increase and the 580 can go to the I2C FIFO and get the actual data.
Thanks MT_dialog
Hi MT_dialog,
Thank you for the response.