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-C2000EVM: How do i take measurements for 2 transducers.

Part Number: TDC1000-C2000EVM

Hello,

I am able to take TOF from 1 transducer but i am not able to take TOF for 2 transducer. I want to trigger one by one. My application is mounting 2 transducer on two tnks and measuring the change in concentration by triggering them back to back with limited time. I tried with the user guide by CH_SWP along with mode 2 but still unable to do it. Kindly let me know ow do i solve this issue.

Thanks in advance.

Ravi

  • Hi Ravi,

    Mode 2 is intended for use in a flow metering application. Because of this, the transducers' transmit and receive structure is different from what you need for your situation. In Mode 2, one transducer transmit, and the other receives.

    In order to take 2 separate concentration measurements you will need to use Mode 0, and swap the channels between measurements. There are two ways to do this: you can set the channel in the CONFIG2 register, or you can turn on EXT_CHSEL (also in CONFIG2) to be able to use a digital signal from the microcontroller to control which channel is being used.

    Regards,