AMB82-mini is not able to communicate with STM vl53l5cx or vl53l7cx using Sparkfun library based on official library/driver #298
Labels
pending
It is a feature/bug-fix request, currently on hold
Boards
AMB82-mini
External Hardware
Plain AMB82-mini devkit with default camera attached.
Hardware Configuration
STM VL53L7CX eval. kit or Sparkfun ToF Imager with VL53L5CX or Pololu version of VL53L5CX or VL53L7CX attached with jumper wires. Sensors have the same internals and are fully compatible.
AMB82-mini -> VL53L7CX (Sparkfun )
VDD33 -> 3V3
GPIO 12 -> SDA
GPIO 13 -> SCL
GND -> GND
Version
v4.0.8
IDE Name
Arduino IDE 2.3.3
Operating System
WIndows 11
Auto Flash Mode
Disable
Erase All Flash Memory (16MB)
Disable
Standard Lib
Arduino_STD_PRINTF
Upload Speed
2000000
Description
Install the library from Sparkfun - Sparkfun VL53L5CX Arduino Library in IDE or download it from (SparkFun_VL53L5CX_Arduino_Library).
Tested also with modified library (SparkFun_VL53L5CX_IO.cpp ) with added small delay after Wire.requestFrom(...) and before .read(...) according to #282. I tested delay(1) and delay(10) with the same effect.
Try to use any of examples, the result is the same printout in serial monitor. I tried to wait for 5 minutes without any change or continuation.
Context:
I implemented Arduino library myself at first based on library sources from ST Microelectronics for STM32 MCUs. I tried various implementations of the adapter (platform.h, platform.c). The added delay from #282 helped and I was able to read responses at the start of the initialization. The issue is the uploading of the sensor firmware I think. The very begining of the sending of the large portion of image is sent correctly and my new new logic analyzer (Analog Discovery 3) was able to decode the packets, but after short while the sent i2c packets looked somewhat OK, but AD3 wasn't able to decode them. I do not have other logic analyzer or mixed data oscilloscope at hand to verify, where is the problem. So There might be issue in sending of larger bulk of the data using I2C. I moved to Sparkfun arduino library because it worked with ESP32 out of the box and it is publicly available.
Sketch
Error/Debug Message
Reproduce remarks
No response
I have checked online documentation, FAQ, GitHub Wiki and existing/closed issues.
The text was updated successfully, but these errors were encountered: