0 Replies Latest reply on Mar 29, 2018 12:00 PM by user_365962704

    16bit SPI + DMA finally working.

    user_365962704

      Greetz,

       

      Someone asked about transfering 16bit data via SPI with DMA here 2 Byte (16 bit) data transfer using DMA to SPIM on Psoc 5 problem , and with help of HimaM_31 got it working sending data and (searching around also got it) receiving data, it seems to be working as fast as possible. Find the project attached, i don't know if it's portable it uses the following registers SPI_BSPIM_sR16_Dp_u0__16BIT_F1_REG instead of SPI_RXDATA_PTR and SPI_BSPIM_sR16_Dp_u0__16BIT_F0_REG instead of SPI_TXDATA_PTR.

       

       

      Regards,

      Carlos