Цитата(vladimir_orl @ Mar 22 2018, 08:59)

Так и не понял, как подсоединять к автомату состояний регистры, как добавлять полученный файл в проект.
Подскажите, если кто знает...
Я использовал DMA, поэтому подсоединял DMA каналы
Код
CyU3PGpifSocketConfigure (0, /* Thread Index*/
CY_FX_PPORT_DSI_PRODUCER_SOCKET,/*Socket*/
DSI_WaterMark,/*uint16_t Watermark Level in 4 bytes words*/
CyTrue,/*CyBool_t **<Whether the partial flag should be set when the socket contains
more data than the watermark.
If false, the flag will be set when
the socket contains less data than the watermark. */
DSI_burst_sz/*uint8_t **<Logarithm (to the base 2) of the burst size for this socket.
The burst size is the minimum number of words of data that will
be sourced/sinked across the GPIF interface without further
updates of the GPIF DMA flags. The device connected to FX3 is
expected to complete a burst that it has started regardless of any
flag changes in between. Please note that this has to be set to
a non-zero value (burst size is greater than one), when the GPIF
is being configured with a 32-bit data bus and functioning at
100 MHz. */);
Полученный *.h файл просто подцепляете к проекту. У меня "cyfxgpif2config.h"