Hello Peter and thank you for your answer.
I've had a look to the examples and I've tried to set a transfer with the following configuration:
input source buffer (src) has a size of N*2 bytes
DMA configuration:
SADDR : src
SLAST : src + N*2
SOFF : 2
DADDR : 0xFBE78036 (PUSHR register + 2)
DLASTSGA : = DADDR
DOFF : 0
ATTR : 0x0101 => source buffer is 16bits and destination buffer is 16bits
NBYTES.MLNO : 2
BITER.ELINKNO = CITER.ELINKNO = N
SPI configuration:
MCR.XPI = 1
CTARE.DTCP = N*2
CTARE.FMSZE = 1
CTAR.FMSZ = 0xF
Unfortunately, it seems that the frame sent is not correct.
The expected data to be sent is for example 0xabcdef99 followed by 0x12345678 and the observed sent frame is
0xAB 0xCD 0x00 0x00 0x12 0x34 0xEF 0x99 ...
Have you any idea of what is the mistake in the upper configuration ?
Best regards.
Paulo