Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
what error are you facing? Its possible to use CMSIS
You are missing the start condition and proper addressing for the device. The VL53L0X expects a start condition and the 7bit address followed by the R/W bit
After finishing the transaction , you should generate a stop condition“`
I2C1->CR1 |= I2C_CR1_STOP;
“`
Nice nice, your suggestion worked out pretty fine for me… Thanks @marveeamasi
Glad it was fixed
CONTRIBUTE TO THIS THREAD