Part Number: TDC1000-TDC7200EVM
Tool/software: Code Composer Studio
I've been using the TDC1000-TDC7200EVM to measure water flow using transducers sensors, but I want to use it to measure flow without the USB/GUI, using a battery as a power supply and collecting the data by the GPIO3 UART TX using an Arduino. I was thinking to cut the USB cable and conect a battery directly on it. What voltage should I use in this case?
I made some modifications in the original firmware to have this working:
First, I changed the 'TDC1000_UART_Stream' = 1, to have the UART STREAM enable as default:
Then, I changed the 'tof_graph_state' = 1, since the data is only sent when the graph is started.
And it works for a while. When I connect the USB, it starts to send the data to Arduino immediately, without even opening the GUI. But, after approximately one minute, it stops to send the data, and also, the LED in the board stops blinking. When I press "start graph" at the GUI, the data are being sent again, and when I press "stop graph", it stops again after a while. It seems to enter in a sleep mode, am I right?I can't find out how to solve that, any idea?Thanks in advance!
Sensor Signal Conditioning Applications
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Bharat Aravamudhan:
Thanks Bharat, I will wait.
In reply to Lucas Barzotto:
I've just realized that it's easier to configure the registers in the GUI by USB, and then power it using the battery (instead of configuring in the firmware, like I said before).Here are the register values I'm using for Level measurement:/cfs-file/__key/communityserver-discussions-components-files/1023/Level-meas.txtI'm gonna show you a test of level measurement instead of flow measurement (that is my goal), but, the UART communication must work for both in the same way, right?
The only changes I did in the firmware are the ones I mentioned before:'TDC1000_UART_Stream' = 1, to have the UART STREAM enable as default 'tof_graph_state' = 1, since the data is only sent when the graph is startedThe system I'm working with:
I connected the GND of both board to have the same reference and connected TX of the Texas board in the RX of Arduino.The jumpers I used in the Texas board are those indicated at the TDC1000-TDC7200EVM User's Guide Chapter 6.
With this configuration, I've got a satisfactory measurement of level in the GUI:
And the same values I've got in the monitor serial of Arduino, as expected:
But after a while, these data stops to be sent (the LED in the Texas board stops blinking). Every time I made an action in the GUI, for example, to press Start Graph, Stop Graph, Connect, Disconnect etc, the board "wakes up" and the UART communication works again (but stops again after a minute if the graph is stopped). I've been trying to solve it looking for a kind of sleep function in the firmware code but I couldn't find anything like that. It seems to need a USB signal to avoid sleeping, or something like that. Any idea?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.