can it be transmitted as one-dimensional?
CyDmaTdSetConfiguration(DMA_TD, (HEIGHT*WIDTH) , DMA_TD , DMA_TX_M__TD_TERMOUT_EN | CY_DMA_TD_INC_SRC_ADR );
CyDmaTdSetAddress(DMA_TD, LO16((uint32)&array), LO16((uint32)SPIM_TXDATA_PTR));
array = data_buf;
Thank you for your reply.
I transfered from a two-dimensional array to a one-dimensional array.
It is possible to transfer all data in both 2D array and 1D array without problems.
The problem is one byte of DMA transfer at a time.
Currently 1 byte transfer is made according to the following settings,
but 2 bytes are transferred at a time as shown in the attached picture.
CyDmaTdSetConfiguration(DMA_TD, 1 , DMA_TD , DMA_TX_M__TD_TERMOUT_EN | CY_DMA_TD_INC_SRC_ADR );
SPIM_DMA.cywrk.Archive01.zip 491.3 K
Thank you for the analysis.