Unable to communicate with VL53L8CX over SPI
Hi all,
I'm trying to get the VL53L8CX ToF sensor working for a university project, this is my first time using it. I made a little breakout PCB for it and soldered it, measured resistance between al neighbouring pins, none of them were shorts or open circuits which to me confirms that the sensor was soldered correctly. The breakout PCB includes 1.8V <-> 3.3V level shifting, here's the full circuit diagram:

I've connected it to an ESP32, but it seems like I can't communicate with the sensor over SPI. As I understand, the sensor should be mirroring the given register adres from the MOSI pin to the MISO pin, but there's no activity on MISO, the signal just seems to follow the CS signal. Here's what the waveforms look like, measured at the sensor (1.8V) side of the level shifters:

Zoomed in:

Here's the code:
#include <Arduino.h>
#include <SPI.h>
#include "vl53l8cx_api.h"
#include "platform.h"
VL53L8CX_Configuration Dev;
void setup()
{
pinMode(SS, OUTPUT);
SPI.begin();
SPI.beginTransaction(SPISettings(100000, MSBFIRST, SPI_MODE3));
Serial.begin(115200);
}
void loop()
{
uint8_t status, isAlive;
status = vl53l8cx_is_alive(&Dev, &isAlive);
if (!isAlive || status)
{
Serial.println("VL53L8CX not detected at requested address");
}
delay(1);
}I'm unsure about my implementation of the functions in the sensor's driver platform.c file, but at the very least I should be seeing some activity on the MISO line right?
Any efforts to help me debug this would be greatly appreciated, I've been stuck here for a few days.
