在同一条i2c总线轮询使用两个vl53l1x出现只有一个有反应的问题
这是我的代码,我之前以前改地址成功了的,这里就开始测量数据while (1) { // 获取当前时间作为起始时间 clock_gettime(CLOCK_MONOTONIC, &start_time); // 获取起始时间 for (i = 0; i < 2; i++) { // 轮询两个传感器 Timeout = 0; dataReady = 0; // 检查数据是否...
这是我的代码,我之前以前改地址成功了的,这里就开始测量数据while (1) { // 获取当前时间作为起始时间 clock_gettime(CLOCK_MONOTONIC, &start_time); // 获取起始时间 for (i = 0; i < 2; i++) { // 轮询两个传感器 Timeout = 0; dataReady = 0; // 检查数据是否...
We found a problem with VL53L1CB, After VL53L1_GetMeasurementDataReady returns 0, VL53L1_GetMultiRangingData returns VL53L1_ERROR_ZONE_GPH_ID_CHECK_FAIL. What causes this problem?Thank anyone for a little help
We are moving to VL53L4CD.Have it all coded but having a strange experience. Simplistically we use the sensor continuously and only use GetResult to retrieve the sensor readings (e.g. not CheckforDataReady).So, simplistically looks sorta like this ...
I am trying to run a VL53L8CX sensor at the maximum advertized speed. Originally, following the marketing for this chip, I had thought that this was possible at the full 8x8 sensor resolution, but later learned that that has a maximum speed of 15 Hz ...
static const uint8_t VL53L4CD_DEFAULT_CONFIGURATION[] = {#ifdef VL53L4CD_I2C_FAST_MODE_PLUS0x12, /* 0x2d : set bit 2 and 5 to 1 for fast plus mode (1MHz I2C),else don't touch */#else0x00, /* 0x2d : set bit 2 and 5 to 1 for fast plus mode (1MHz I2C),e...
Hi All,we tried to migrate from VL53L1CX to VL53L4CD for better precision in short range.both use ULD driver, we expect they work in similar way however it seems not.we set both to TB20 and compare power consumption in single shot case. It seems VL53...
(I deleted the content by accident) I'm working on a project that uses Smart Presence Detection to control a LED strip using the X-NUCLEO-53L8A1 board. I started a blank project in STM32CubeIDE and included the X-CUBE-TOF1 bundle. I have added severa...
Hi, We use the calibration ST APIs. The procedure we follow is run calibration and then reboot with the new offset. However, is there anyway to avoid having to reboot? We would like to auto calibrate in real time without a reboot if this is at all ...
If your VL53L8CX gets past the 'is_alive' function but you cannot get it to run, it might be because you are running on a big-endian machine, and the ST code you downloaded assumes a little-endian machine. Try swapping your vl53l8cx_is_alive function...
Hi team,I am new to the STM32 Cube IDE environment and would like to interface and control the VL53L4CX Time-of-Flight sensor using an STM32F030 DEMO Board. I kindly seek your guidance and support in achieving this.Here are the details of the hardwar...