то что отрыл, оказывается багофича, даже служба поддержки об хтом не знает: impossible to send a reduced diagram (see attach, IC SI4421 )
need to read 16 bits, but the command SPI_Read does not imply this !
Error 35, becouse not control bits.
Status = SPI_Read(ftHandle,
&WriteStartCondition,
true,
false,
0,
NULL,
0,
true,
false,
16,
(PReadDataByteBuffer)dest,
&dwNumDataBytesReturned,
&HighPinsWriteActiveStates);
How make ?
Hello,
The wrapper dll was designed to send a control information before date e.g. when accessing memory you need a read or write command followed by an address.
For other devices where you may not want control information it is simpler to use the MPSSE engine directly as opposed to using the wrapper dll.
See: http://www.ftdichi …N_135_MPSSE_Basics.pdf for the basics on how the IC clocks bits/bytes in /out the device.
Regards,
Gordon Lunn
Senior Applications Engineer
Future Technology Devices International LTD.
Unit 1, 2 Seaward Place
Centurion Business Park
Glasgow, G41 1HH, UK