1
Discussion - Drivers / FT232H and Serial Port
« on: February 22, 2022, 03:05:13 AM »
I am a newbie to all this.
I am using FT232H as a USB to serial [ SCLK, SDI, SDO] converter.
In Win10 Home, I have used FTD2XX_NET and dotnet 6 framework and managed to talk to USB chip as per C#-example 3 on code examples section on the ftdi website.
I can read the Serial number, description from the USB chip.
However
- this examples does a UART loopback test so set baud rate etc UART related parameters.
I need a sample code which in C# which can set SPI parameters such as clock rate, 16bits/word and the do a block read ot 128 bytes.
Can you point my nose in the right direction.
Thanks in advance
Rajan
I am using FT232H as a USB to serial [ SCLK, SDI, SDO] converter.
In Win10 Home, I have used FTD2XX_NET and dotnet 6 framework and managed to talk to USB chip as per C#-example 3 on code examples section on the ftdi website.
I can read the Serial number, description from the USB chip.
However
- this examples does a UART loopback test so set baud rate etc UART related parameters.
I need a sample code which in C# which can set SPI parameters such as clock rate, 16bits/word and the do a block read ot 128 bytes.
Can you point my nose in the right direction.
Thanks in advance
Rajan