Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: rrace001

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    588

    Yes. I did not think of that. The VL53L5CX does...

    Yes. I did not think of that. The VL53L5CX does auto increment the address so I put in a false for releasing the bus then removed the manual incrementing and manual setting of the address. Thanks!
  2. Replies
    8
    Views
    588

    The sensor comes with an API that you just add in...

    The sensor comes with an API that you just add in your platform i2c commands for reading/writing. In the read multiple bytes function (RdMulti) I created a buffer limit variable (buffer_byte_limit)...
  3. Replies
    8
    Views
    588

    I found a way to get the sensor data without...

    I found a way to get the sensor data without increasing the Wire buffer. I could have done this all along but it took some more learning on my part. It would be good to have a hardware version but...
  4. Replies
    8
    Views
    588

    So got it to compile after changing to 16bit but...

    So got it to compile after changing to 16bit but same behavior. Took a dive in the data sheet and I think the Wire library is using a hardware buffer that is only 256 bytes. It looks like the MCU...
  5. Replies
    8
    Views
    588

    Still locks up. I looked in the twi.cpp and all...

    Still locks up. I looked in the twi.cpp and all the code is for the AVR.

    I believe I found it. The qty / length in requestFrom is 8bit. This function is heavily overloaded so it will take a...
  6. Replies
    8
    Views
    588

    Increase T4.1 wire buffer to 512 bytes

    I have a setup where I had to increase the Adafruit SAMD Wire Rx buffer from 256 to 512 in order to receive data from a ST VL53L5CX on an Adafruit M0 board (QT Py) and it works well. I am new to...
Results 1 to 6 of 6