2016-12-23 04:21 AM
After sending 'single shot reading mode' command (sending 0x01 to register 0x0018), I check 'RESULT_INTERRUPT_STATUS_GPIO' register at 0x04F and always read 0x00 that means it is busy.
I replaced vl6180x with a new one but problem still continues.
I do not have any problem in reading/writing from/to vl6180x registers. Initial values are standard values given in application notes.
Anybody comments on this problem ?
thanks in advance
2016-12-27 11:34 PM
Hello
I have moved this thread to
‌ where product-related questions are asked.Thanks
Oli
2017-10-10 05:51 AM
Hi Cem kar
I have the same problem.
Initialization and Defaul setting acording to app notes,,
Starting Single shot mode
Polling for INTERRUPT_STATUS_GPIO = 0x04
Logging RESULT_RANGE_STATUS
No data in result.
All communication in I2C is OK. I can write and read to alle registers.
All help is apriciated.
2018-12-11 04:12 AM
I have a problem reading /writing from vl6180x using i2c.
if(HAL_I2C_Master_Transmit(&hi2c1,0x52,0x00,1,100) ==HAL_OK){
HAL_GPIO_WritePin(GPIOC, GPIO_PIN_8, GPIO_PIN_SET);
HAL_Delay(10);
}
This don't set to GPIOC8.