IMPORTANT: Cypress Developer Community currently doesn’t allow sign-in to prepare for the upcoming transition. To learn more, check out our announcement.
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

Contributor II

  I would like to convert and move 8 bit data in one SRAM buffer into 16 bit data in another SRAM buffer.  The data bytes can be twinned, as I will be interpolating using the Digital Filter Block later on.


  I have used DMA to move data from SRAM to Peripheral, and Peripheral to SRAM, but early on my attempts to move from SRAM to SRAM did nothing.  I'm sure I will figure it out now, since I *have* to. <grin>


  I would like to do this at as high a speed as possible.  I guess I could DMA into a register and then DMA out of a register; however,  PSOC only supports 8 bit registers.  


   Any suggestions?


  Thanks in advance!

1 Reply
Honored Contributor II



moving data with CPU will be faster. To use intermediate location for DMA transfer look at similar example by "pavloven"




I believe you can feed the Filter directly with 8-bit data, while shifting bit by using Filter Alignment (and Coherency) properties. Check e.g. this example