Hi, we have done so many research concept using Matlab and Embedded. Expert in control system and sensors. Frankly speaking we are not to do so many project in ESP32. but we have lot of debug experience to solve the issue. our suggestion is
1. At first separately check that IC works well, kindly check tdc_test in GitHub.
2. if its okay, then that TDC IC hardware side also okay.
3. then configure using esp32.
if you have any query related to this problem, feel free to contact us, Thank you.