I used nrf52840 board with SDK 17_1_0
I used segger embedded studio IDE
I am not able to understand how i Implement VL53L5CX TOF sensor with nrf52840
so if any reference code is available for this then please give me.
I used nrf52840 board with SDK 17_1_0
I used segger embedded studio IDE
I am not able to understand how i Implement VL53L5CX TOF sensor with nrf52840
so if any reference code is available for this then please give me.
Hello,
Seems to be a sensor sample in nRF Connect SDK:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sensor/vl53l0x/README.html
So, it's time to learn nRF Connect SDK? https://academy.nordicsemi.com/
Kenneth
In future i definitely learn nRF Connect SDK
But now can you please give me VL53L5CX reference code with embedded studio IDE
Also How i can write or read uint32_t length data on I2C?because nrf_drv_twi_tx & nrf_drv_twi_rx length size is uint8_t.
ret_code_t nrf_drv_twi_tx(nrf_drv_twi_t const * p_instance,
uint8_t address,
uint8_t const * p_data,
uint8_t length,
bool no_stop)
ret_code_t nrf_drv_twi_rx(nrf_drv_twi_t const * p_instance,
uint8_t address,
uint8_t * p_data,
uint8_t length)
I am not aware of any example for the nRF5 SDK, so either you need to look at the driver implementation in nRF Connect SDK as guide, or you can try to reach out to the manufacturer also.
ChiragBhavsar said:Also How i can write or read uint32_t length data on I2C?
Again, using the nRF Connect SDK would help, since it looks like the nRF5 SDK only support 8bit length out of the box. Note, that the hardware may be limited to 8-16bit (256-65536bytes) length depending on the variant, see EasyDMA MAXCNT bit length here for TWIM:
https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52.html
Kenneth
ok,Thank you for your help
hi i have the same question ,i'm using the vl53l5cx tof sensor with nrf52840,and i I used "edge-impulse-daemon"
to connect it to edge impulse via serial but failed to get info off device Timeout error.
so can you please tell me exactly how to impliment vl53l5cx tof sensor with nrf52840 using the sensor sample in nrf connect SDK:developer.nordicsemi.com/.../vl53l0x