1
Discussion - Software / How to Read-Write on FT220X via FTD2xx lib?
« on: December 11, 2020, 09:51:27 AM »
Actually I got how to read messages. I need to send to my FT device first byte 0x00, and then I get readed data.
But how to write it? What D2xxs' FT_Write() does? If it writes data in buffer, then how to send it to my other device?
I try to write to FT220X both FT1248 commands Read(0x00) and Write(0x01), but only one happens - I read data, but nothing writes. I checked MIOSI line and there is only my second devices' data, no FT220Xs' device answers.
So, the question is in how FT_Write() func works and how to write data via FT220X conv from PC?
But how to write it? What D2xxs' FT_Write() does? If it writes data in buffer, then how to send it to my other device?
I try to write to FT220X both FT1248 commands Read(0x00) and Write(0x01), but only one happens - I read data, but nothing writes. I checked MIOSI line and there is only my second devices' data, no FT220Xs' device answers.
So, the question is in how FT_Write() func works and how to write data via FT220X conv from PC?