This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDC1000: ERRB pin indication during timeout

Part Number: TDC1000

Hi,

  I have integrated atmega328 with tdc1000 and I am able to read a water level of 200cms. But I need to extend this range to around 400cms. I noticed in the datasheet that there are two CLOCKDIV options, for reading water level of 200cm, I had fixed CLOCKDIV_IN to 1. Below are the configurations I had set

AUTOZERO_PERIOD - T0x64

ECHO_TIMEOUT - T0x1024

TIMING_REG - 1024

As per calculations for 1MHz frequency, The echo receiving window should be (3972 + 512) - 4484uS

I have connected the ERRB pin as input to the controller to check the timeout time when the sensor is not connected the timeout time I had obtained is around 4500uS which is almost close to the calculated value. To read 400cm of water, I changed the CLOCKDIV to 2.

But the timeout time I am getting is around 5090 uS. but as per calculations, it should come around 8968uS. Kindly help me with this issue.

Regards,

Shankar