4 Replies Latest reply on Jan 30, 2018 7:20 PM by user_202566985

    How to transfer 2D array data to SPIM

    user_202566985

      I created a sample program that transfers data of two-dimensional array to SPIM, but I have not performed the assumed operation.

       

      2 bytes of data is transferred when setting the following to transfer 1 byte.

      /* Step3 :CyDmaTdSetConfiguration - Configures the TD: */

      CyDmaTdSetConfiguration(DMA_TD[0], 1 , DMA_TD[0] , DMA_TX_M__TD_TERMOUT_EN | CY_DMA_TD_INC_SRC_ADR );

       

      Transfer setting of data larger than 2 bytes operates as expected.

      How can I fix it?

       

      P.S.

      I am trying the above thing because I am planning to make image data of the graphic LCD(LS027B7DH01A) operate with DMA.

       

       

      Attach the operation waveform.

      0000.JPG