Hello,
I'm using USB CDC of LDC1000 EVM, I want to read the firmware version, set the Timer_Interval and start the data polling and streaming to host. I'm using Firmware version 0.3.0.0. I have read the topic right below, that explained the protocol but I can't get the correct returned values.
http://e2e.ti.com/support/data_converters/inductive-sensing/f/938/p/292002/1044458.aspx#1044458
I tried two ways, first I used a terminal (COM4, 115200, 8bit data, no parity, 1bit stop, no flow control).
For example, when I type the command "09", the command doesn't correspond and only the first recognized number is sent to the EVM. In this case, it's 9 but I don't get firmware version, it increments the value of RP Max ( When I pressed 32 times I got 0xF to 0x1F ).
The "8" command decrements the value of RP Min ( 0x3F to 0x20 ).
The "7" returns 0x0, 0x1, 0x2 or 0x3, I don't know what it is.
The "6" increments by 10ms the sampling frequency ( by default the speed is 1000ms ).
The "5" decrements by 10ms the sampling frequency.
The "4" stops steaming.
The "3" starts steaming.
The "2" I'm not sure but I think it returns the value of the Inductance.
The "1" returns the value of Proximity Data in Hex.
The second way I tried is to do a C program to send the command on the serial COM and read the returned values, but I get the same results.
I'm missing something about the protocol or I don't understand it, could you explain me, and how can I set directly the timer interval instead of sending "x" times the command to get 19Khz sampling.
Kind regards,
Antoine.