ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Суббота
18 мая
199408 Топик полностью
MegaJohn (28.06.2010 17:40, просмотров: 241) ответил MegaJohn на Методом проб и ошибок вроде получилось: dwNumControlBitsToWrite = 0 прокатывает если pWriteControlBuffer != NULL и dwNumControlBytesToWrite != 0. Вот так вот и получается: и передавать ничего не надо, но требуется указать что что-то передать надо
то что отрыл, оказывается багофича, даже служба поддержки об хтом не знает: 
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