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.

FDC1004EVM: Windows Forms Application C#

Part Number: FDC1004EVM

Hello,

I am trying to configure and communicate with the evm board directly from a windows application in the same manner the "sensor solution GUI by TI", i have been able to establish proper connection with the "SerialPort" class, i am able to write to the board but never able to read, i have not been able to find any information about commands to write and data formats with the usb converter attached or information about parity, stop bits, or baud rate, find my code below which is meant to be a translation from the arduino example with i2c wiring

port = new SerialPort("COM15", 9600, Parity.None, 8, StopBits.One); // is this correct ?
port.Write(new byte[] { 80 }, 0, 1);
port.Write(new byte[] { 0 }, 0, 1);
port.Write(new byte[] { 0 }, 0, 1);
var buff = new byte[2];
port.Read(buff, 0, buff.Length); // Reading stops here and blocks as the device returns nothing
var lb1 = buff[0];
var lb2 = buff[1];
port.Write(new byte[] { 1 }, 0, 1);
buff = new byte[1];
port.Read(buff, 0, buff.Length);
var lb3 = buff[0];