I try to send a buffer containing words (16 bit data) through endpoint 1 to the gpif interface via DMA. The gpif interface is configured in 16 bit master mode.The lsb appears on dq to dq and a clock cycle later appears it msb also on dq to dq . Dq to dq are always zero. If I change the Endianness from little to big then both the msb and lsb appear on dq to dq and dq to dq are always zero. This is not what I want, I want to sent the lsb to dq t/m dq and the msb to dq to dq.Someone any idea what I am doing wrong? Maybe the DMA also has to be configured to use words?
Please make sure that you have configured IO matrix correctly in the firmware.
io_cfg.isDQ32Bit = CyFalse;
io_cfg.lppMode = CY_U3P_IO_MATRIX_LPP_UART_ONLY; /*GPIF 16-bit and UART only*/